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 daa1ca9 commit eff059aCopy full SHA for eff059a
Modules/CIPPCore/Public/GraphHelper/Get-Tenants.ps1
@@ -42,7 +42,7 @@ function Get-Tenants {
42
$IncludedTenantFilter = [scriptblock]::Create("`$_.customerId -eq '$TenantFilter'")
43
$RelationshipFilter = " and customer/tenantId eq '$TenantFilter'"
44
} else {
45
- $Filter = "{0} and defaultDomainName eq '{1}' -or initialDomainName eq '{1}'" -f $Filter, $TenantFilter
+ $Filter = "{0} and defaultDomainName eq '{1}' or initialDomainName eq '{1}'" -f $Filter, $TenantFilter
46
$IncludedTenantFilter = [scriptblock]::Create("`$_.defaultDomainName -eq '$TenantFilter' -or `$_.initialDomainName -eq '$TenantFilter'")
47
$RelationshipFilter = ''
48
}
0 commit comments