Skip to content

Commit eff059a

Browse files
committed
fix odata
1 parent daa1ca9 commit eff059a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Modules/CIPPCore/Public/GraphHelper/Get-Tenants.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ function Get-Tenants {
4242
$IncludedTenantFilter = [scriptblock]::Create("`$_.customerId -eq '$TenantFilter'")
4343
$RelationshipFilter = " and customer/tenantId eq '$TenantFilter'"
4444
} else {
45-
$Filter = "{0} and defaultDomainName eq '{1}' -or initialDomainName eq '{1}'" -f $Filter, $TenantFilter
45+
$Filter = "{0} and defaultDomainName eq '{1}' or initialDomainName eq '{1}'" -f $Filter, $TenantFilter
4646
$IncludedTenantFilter = [scriptblock]::Create("`$_.defaultDomainName -eq '$TenantFilter' -or `$_.initialDomainName -eq '$TenantFilter'")
4747
$RelationshipFilter = ''
4848
}

0 commit comments

Comments
 (0)