You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: Modules/CIPPCore/Public/Tests/Invoke-CippTestZTNA21886.ps1
+1-2Lines changed: 1 addition & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -23,8 +23,7 @@ function Invoke-CippTestZTNA21886 {
23
23
$Result="Found $($AppsWithSSO.Count) application(s) configured for SSO. Provisioning template and job validation requires Graph API synchronization endpoint not available in cache."
24
24
25
25
Add-CippTestResult-TenantFilter $Tenant-TestId 'ZTNA21886'-TestType 'Identity'-Status $Status-ResultMarkdown $Result-Risk 'Medium'-Name 'Applications are configured for automatic user provisioning'-UserImpact 'Low'-ImplementationEffort 'Medium'-Category 'Applications management'
26
-
}
27
-
catch {
26
+
} catch {
28
27
$ErrorMessage=Get-CippException-Exception $_
29
28
Write-LogMessage-API 'Tests'-tenant $Tenant-message "Failed to run test: $($ErrorMessage.NormalizedError)"-sev Error -LogData $ErrorMessage
30
29
Add-CippTestResult-TenantFilter $Tenant-TestId 'ZTNA21886'-TestType 'Identity'-Status 'Failed'-ResultMarkdown "Test failed: $($ErrorMessage.NormalizedError)"-Risk 'Medium'-Name 'Applications are configured for automatic user provisioning'-UserImpact 'Low'-ImplementationEffort 'Medium'-Category 'Applications management'
0 commit comments