Skip to content

Commit 96d9813

Browse files
authored
Merge pull request #596 from KelvinTegelaar/dev
[pull] dev from KelvinTegelaar:dev
2 parents cf42794 + d7c97b6 commit 96d9813

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

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

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,8 @@ function Get-CIPPAlertEntraConnectSyncStatus {
3636
}
3737
}
3838
} catch {
39-
Write-AlertMessage -tenant $($TenantFilter) -message "Could not get Entra Connect Sync Status for $($TenantFilter): $(Get-NormalizedError -message $_.Exception.message)"
39+
Write-AlertMessage -tenant $($TenantFilter) -message "Could not get Entra Connect Sync Status for $($TenantFilter): $(Get-NormalizedError -message $_.Exception.message)" -LogData (Get-CippException -Exception $_)
40+
Write-Information "Could not get Entra Connect Sync Status for $($TenantFilter): $(Get-NormalizedError -message $_.Exception.message)"
41+
Write-Information $_.PositionMessage
4042
}
4143
}

0 commit comments

Comments
 (0)