Skip to content

Commit 7bf9fba

Browse files
committedDec 4, 2018
Issue 19849
1 parent 1f7dc99 commit 7bf9fba

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed
 

‎articles/active-directory/managed-identities-azure-resources/msi-tutorial-linux-vm-access-arm.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -79,10 +79,10 @@ The response contains details for the user-assigned managed identity created, si
7979

8080
A user-assigned managed identity can be used by clients on multiple Azure resources. Use the following commands to assign the user-assigned managed identity to a single VM. Use the `Id` property returned in the previous step for the `-IdentityID` parameter.
8181

82-
Assign the user-assigned managed identity to your Linux VM using [az vm assign-identity](/cli/azure/vm#az-vm-assign-identity). Be sure to replace the `<RESOURCE GROUP>` and `<VM NAME>` parameter values with your own values. Use the `id` property returned in the previous step for the `--identities` parameter value.
82+
Assign the user-assigned managed identity to your Linux VM using [az vm identity assign](/cli/azure/vm#az-vm-identity-assign). Be sure to replace the `<RESOURCE GROUP>` and `<VM NAME>` parameter values with your own values. Use the `id` property returned in the previous step for the `--identities` parameter value.
8383

8484
```azurecli-interactive
85-
az vm assign-identity -g <RESOURCE GROUP> -n <VM NAME> --identities "/subscriptions/<SUBSCRIPTION ID>/resourcegroups/<RESOURCE GROUP>/providers/Microsoft.ManagedIdentity/userAssignedIdentities/<UAMI NAME>"
85+
az vm identity assign -g <RESOURCE GROUP> -n <VM NAME> --identities "/subscriptions/<SUBSCRIPTION ID>/resourcegroups/<RESOURCE GROUP>/providers/Microsoft.ManagedIdentity/userAssignedIdentities/<UAMI NAME>"
8686
```
8787

8888
## Grant your user-assigned managed identity access to a Resource Group in Azure Resource Manager

0 commit comments

Comments
 (0)
Please sign in to comment.