Skip to content

Commit 7cf0f36

Browse files
Fixed
1 parent 9903a0b commit 7cf0f36

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

Modules/CIPPCore/Public/Alerts/Get-CIPPAlertMXRecordChanged.ps1

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -30,12 +30,12 @@ function Get-CIPPAlertMXRecordChanged {
3030
# Update cache with current data
3131
foreach ($Domain in $DomainData) {
3232
$CacheEntity = @{
33-
PartitionKey = $TenantFilter
34-
RowKey = $Domain.Domain
35-
Domain = $Domain.Domain
36-
ActualMXRecords = $Domain.ActualMXRecords
37-
LastRefresh = $Domain.LastRefresh
38-
MailProvider = $Domain.MailProvider
33+
PartitionKey = [string]$TenantFilter
34+
RowKey = [string]$Domain.Domain
35+
Domain = [string]$Domain.Domain
36+
ActualMXRecords = [string]$Domain.ActualMXRecords
37+
LastRefresh = [string]$Domain.LastRefresh
38+
MailProvider = [string]$Domain.MailProvider
3939
}
4040
Add-CIPPAzDataTableEntity @CacheTable -Entity $CacheEntity -Force
4141
}

0 commit comments

Comments
 (0)