We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 55c1b0d commit e269eeeCopy full SHA for e269eee
Modules/CIPPCore/Public/Entrypoints/Orchestrator Functions/Start-UpdatePermissionsOrchestrator.ps1
@@ -15,7 +15,7 @@ function Start-UpdatePermissionsOrchestrator {
15
'displayName' = '*Partner Tenant'
16
}
17
18
- $TenantList = Get-Tenants -IncludeAll | Where-Object { $_.Excluded -eq $false }
+ $TenantList = Get-Tenants -IncludeAll | Where-Object { $_.Excluded -eq $false -and $_.delegatedPrivilegeStatus -eq 'directTenant' }
19
20
$Tenants = [System.Collections.Generic.List[object]]::new()
21
foreach ($Tenant in $TenantList) {
0 commit comments