Skip to content

Commit

Permalink
Merge pull request KelvinTegelaar#445 from KelvinTegelaar/dev
Browse files Browse the repository at this point in the history
Dev
  • Loading branch information
KelvinTegelaar authored Oct 13, 2023
2 parents cea5062 + 7c08e03 commit 9f2297c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Modules/CIPPCore/Public/Set-CIPPCPVConsent.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ function Set-CIPPCPVConsent {
$ExecutingUser
)
$Results = [System.Collections.ArrayList]@()
$Tenant = Get-Tenants | Where-Object -Property defaultDomainName -EQ $Tenantfilter
$Tenant = Get-Tenants -IncludeAll -IncludeErrors | Where-Object -Property defaultDomainName -EQ $Tenantfilter
$TenantName = $Tenant.defaultDomainName
$TenantFilter = $Tenant.customerId

Expand Down

0 comments on commit 9f2297c

Please sign in to comment.