Skip to content

Commit

Permalink
Switch back to id not objectId due to Az CLI diff (#80)
Browse files Browse the repository at this point in the history
  • Loading branch information
wjohnson committed Aug 17, 2022
1 parent 3f39234 commit 79b4df2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion deployment/infra/openlineage-deployment.sh
Original file line number Diff line number Diff line change
Expand Up @@ -362,7 +362,7 @@ purview_endpoint="https://$purview_account_name.purview.azure.com"
## below is all deployment require AAD
echo "$(info) attempt to get the user's object id for key vault assignment"
user_detail=$(az ad signed-in-user show)
user_object_id=$(echo $(jq -r '.objectId' <<< $user_detail))
user_object_id=$(echo $(jq -r '.id' <<< $user_detail))

echo "$(info) attempt to assign user's object id to key vault"
kv_add_user_ap=$(az keyvault set-policy --name $KVNAME --resource-group $RG_NAME --secret-permissions get list --object-id $user_object_id)
Expand Down

0 comments on commit 79b4df2

Please sign in to comment.