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 d3003b7 commit 6b3b9cbCopy full SHA for 6b3b9cb
Modules/CIPPCore/Public/Functions/Get-CIPPTenantAlignment.ps1
@@ -58,7 +58,8 @@ function Get-CIPPTenantAlignment {
58
$Standards = if ($TenantFilter) {
59
$AllStandards | Where-Object { $_.PartitionKey -eq $TenantFilter }
60
} else {
61
- $AllStandards
+ $Tenants = Get-Tenants -IncludeErrors
62
+ $AllStandards | Where-Object { $_.PartitionKey -in $Tenants.defaultDomainName }
63
}
64
65
# Build tenant standards data structure
0 commit comments