Skip to content

Commit d4563a1

Browse files
(Azure CXP) resolves MicrosoftDocs/azure-docs#46031
fixed bug in code sample from "--api-permissions $oAuthPermissionId=Scope" to "--api-permissions ${oAuthPermissionId}=Scope"
1 parent 153b625 commit d4563a1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

articles/aks/azure-ad-integration-cli.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,7 @@ oAuthPermissionId=$(az ad app show --id $serverApplicationId --query "oauth2Perm
119119
Add the permissions for the client application and server application components to use the oAuth2 communication flow using the [az ad app permission add][az-ad-app-permission-add] command. Then, grant permissions for the client application to communication with the server application using the [az ad app permission grant][az-ad-app-permission-grant] command:
120120

121121
```azurecli-interactive
122-
az ad app permission add --id $clientApplicationId --api $serverApplicationId --api-permissions $oAuthPermissionId=Scope
122+
az ad app permission add --id $clientApplicationId --api $serverApplicationId --api-permissions ${oAuthPermissionId}=Scope
123123
az ad app permission grant --id $clientApplicationId --api $serverApplicationId
124124
```
125125

0 commit comments

Comments
 (0)