Skip to content

Commit d8f45c8

Browse files
committed
Replace --sdk-auth with --json-auth
1 parent a3fde45 commit d8f45c8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

articles/app-service/deploy-github-actions.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ You can create a [service principal](../active-directory/develop/app-objects-and
8080
```azurecli-interactive
8181
az ad sp create-for-rbac --name "myApp" --role contributor \
8282
--scopes /subscriptions/<subscription-id>/resourceGroups/<group-name>/providers/Microsoft.Web/sites/<app-name> \
83-
--sdk-auth
83+
--json-auth
8484
```
8585

8686
In the example above, replace the placeholders with your subscription ID, resource group name, and app name. The output is a JSON object with the role assignment credentials that provide access to your App Service app similar to below. Copy this JSON object for later.

0 commit comments

Comments
 (0)