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/GraphHelper/Get-Tenants.ps1
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -67,7 +67,7 @@ function Get-Tenants {
67
67
relationshipEnd=$Relationship.endDateTime
68
68
}
69
69
}
70
-
$CurrentTenants=Get-CIPPAzDataTableEntity@TenantsTable-Filter "PartitionKey eq 'Tenants' and Excluded eq false"
70
+
$CurrentTenants=Get-CIPPAzDataTableEntity@TenantsTable-Filter "PartitionKey eq 'Tenants' and Excluded eq false and delegatedPrivilegeStatus ne 'directTenant'"
0 commit comments