Skip to content

Commit eac85bb

Browse files
authored
Update active-directory-msi-cross-tenant-cmk-create-identities-authorize-key-vault.md
1 parent cba41a7 commit eac85bb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

includes/active-directory-msi-cross-tenant-cmk-create-identities-authorize-key-vault.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -360,7 +360,7 @@ subscriptionId="<replace-your-subscriptionId>"
360360
location="westcentralus"
361361
362362
az group create --location $location --name $rgName
363-
export currentUserObjectId=$(az ad signed-in-user show --query objectId --out tsv)
363+
export currentUserObjectId=$(az ad signed-in-user show --query id --out tsv)
364364
365365
az role assignment create --role "Key Vault Contributor" --scope /subscriptions/$subscriptionId/resourceGroups/$rgName/providers/Microsoft.KeyVault/vaults/$vaultName --assignee-object-id $currentUserObjectId
366366

0 commit comments

Comments
 (0)