Skip to content

Commit 797c854

Browse files
Update tutorial-create-managed-app-with-custom-provider.md
1 parent 14916fe commit 797c854

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

articles/azure-resource-manager/managed-applications/tutorial-create-managed-app-with-custom-provider.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -222,7 +222,7 @@ az account set --subscription <subscriptionID>
222222
az group create --name $resourceGroup --location eastus
223223
224224
# Get object ID of your identity
225-
userid=$(az ad user show --upn-or-object-id [email protected] --query objectId --output tsv)
225+
userid=$(az ad user list --upn [email protected] --query [0].id --output tsv)
226226
# Get role definition ID for the Owner role
227227
roleid=$(az role definition list --name Owner --query [].name --output tsv)
228228

0 commit comments

Comments
 (0)