Skip to content

Commit 3996a7a

Browse files
committed
fix dynamic tenant group exception handling
1 parent 829beb2 commit 3996a7a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Modules/CIPPCore/Public/TenantGroups/Update-CIPPDynamicTenantGroups.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -161,7 +161,7 @@ function Update-CIPPDynamicTenantGroups {
161161
}
162162
Add-CIPPAzDataTableEntity @LicenseCacheTable -Entity $CacheEntity -Force
163163
} catch {
164-
Write-LogMessage -API 'TenantGroups' -message 'Error getting licenses' -Tenant $_.defaultDomainName -sev Warning -LogData (Get-CippExeception -Exception $_)
164+
Write-LogMessage -API 'TenantGroups' -message 'Error getting licenses' -Tenant $_.defaultDomainName -sev Warning -LogData (Get-CippException -Exception $_)
165165
}
166166
}
167167
}

0 commit comments

Comments
 (0)