We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 98d8244 commit fe1be54Copy full SHA for fe1be54
1 file changed
Modules/CIPPCore/Public/Authentication/Test-CIPPAccess.ps1
@@ -244,7 +244,11 @@ function Test-CIPPAccess {
244
}
245
246
247
- if ($env:CIPPNG -ne 'true' -and $HasAnyPermission) {
+ # SSO migration requires a working SAM app — suppress the nag until initial
248
+ # setup is complete (same check GetCippAlerts uses for its setup alert)
249
+ $SetupCompleted = $env:ApplicationID -and $env:ApplicationID -ne 'LongApplicationID'
250
+
251
+ if ($env:CIPPNG -ne 'true' -and $HasAnyPermission -and $SetupCompleted) {
252
try {
253
$SSOTable = Get-CIPPTable -tablename 'SSOMigration'
254
$SSOMigration = Get-CIPPAzDataTableEntity @SSOTable -Filter "PartitionKey eq 'SSO' and RowKey eq 'MigrationConfig'" -ErrorAction SilentlyContinue
0 commit comments