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 96632cc commit c6fe54aCopy full SHA for c6fe54a
Modules/CIPPCore/Public/Authentication/Set-CippApiAuth.ps1
@@ -20,6 +20,8 @@ function Set-CippApiAuth {
20
# Get auth settings
21
$AuthSettings = Invoke-AzRestMethod -Uri "https://management.azure.com/subscriptions/$SubscriptionId/resourceGroups/$RGName/providers/Microsoft.Web/sites/$($FunctionAppName)/config/authsettingsV2/list?api-version=2020-06-01" | Select-Object -ExpandProperty Content | ConvertFrom-Json
22
23
+ Write-Information "AuthSettings: $($AuthSettings | ConvertTo-Json -Depth 10)"
24
+
25
# Set allowed audiences
26
$AllowedAudiences = foreach ($ClientId in $ClientIds) {
27
"api://$ClientId"
0 commit comments