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 0329521 commit dc9ad98Copy full SHA for dc9ad98
Modules/CIPPCore/Public/Entrypoints/HTTP Functions/CIPP/Settings/Invoke-ExecApiClient.ps1
@@ -118,7 +118,7 @@ function Invoke-ExecApiClient {
118
$TenantId = $ENV:TenantId
119
$RGName = $ENV:WEBSITE_RESOURCE_GROUP
120
$FunctionAppName = $ENV:WEBSITE_SITE_NAME
121
- $AllClients = Get-CIPPAzDataTableEntity @Table -Filter 'Enabled eq true'
+ $AllClients = Get-CIPPAzDataTableEntity @Table -Filter 'Enabled eq true' | Where-Object { ![string]::IsNullOrEmpty($_.RowKey) }
122
$ClientIds = $AllClients.RowKey
123
try {
124
Set-CippApiAuth -RGName $RGName -FunctionAppName $FunctionAppName -TenantId $TenantId -ClientIds $ClientIds
0 commit comments