Skip to content

Commit

Permalink
update to use az sp command
Browse files Browse the repository at this point in the history
  • Loading branch information
backwind1233 committed Feb 28, 2024
1 parent 66abee6 commit 03eda08
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ Note the appId and password from the output, you'll need them later.

```shell
appId=$(az ad sp list --display-name $SERVICE_PRINCIPAL_NAME --query "[].appId" --output tsv | tr -d '\r\n')
objectId=$(az ad app show --id "$appId" --query id -o tsv | tr -d '\r\n')
objectId=$(az ad sp show --id "$appId" --query id -o tsv | tr -d '\r\n')
```

7. Assign Permissions to Service Principal:
Expand Down

0 comments on commit 03eda08

Please sign in to comment.