Skip to content

Commit

Permalink
Fix: Retrieve correct service principal ID. (#690)
Browse files Browse the repository at this point in the history
  • Loading branch information
mwermeester authored Dec 29, 2022
1 parent 00eb823 commit ef6cb9b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion arc-enabled-logic-app-sample/env/deploy.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ echo 'Create Service Principal...'
# create service principal
export SP_INFO=$(az ad sp create-for-rbac --skip-assignment -n $SP_NAME)
export CLIENT_ID=$(echo $SP_INFO | jq .appId -r)
export OBJECT_ID=$(az ad sp show --id $CLIENT_ID --query 'objectId' -o tsv)
export OBJECT_ID=$(az ad app show --id $CLIENT_ID --query 'id' -o tsv)
export CLIENT_SECRET=$(echo $SP_INFO | jq .password -r)
export TENANT_ID=$(echo $SP_INFO | jq .tenant -r)

Expand Down

0 comments on commit ef6cb9b

Please sign in to comment.