You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/azure/sdk/authentication/user-assigned-managed-identity.md
+7-6Lines changed: 7 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -28,33 +28,34 @@ User-assigned identities are created as standalone resources in your Azure subsc
28
28
29
29
:::image type="content" source="../media/user-assigned-identity-create.png" alt-text="A screenshot showing the page to manage user-assigned identities.":::
30
30
31
-
1. On the **Create User Assigned Managed Identity** page, select a subscription, resource group, and region for the user-assigned identity. Enter a logical name for the identity.
31
+
1. On the **Create User Assigned Managed Identity** page, select a subscription, resource group, and region for the user-assigned identity, and then provide a name.
32
32
1. Select **Review + create** to review and validate your inputs.
33
+
1. Select **Create** to create the user-assigned identity.
33
34
34
35
:::image type="content" source="../media/user-assigned-identity-form.png" alt-text="A screenshot showing the form to create a user-assigned identity.":::
35
36
36
-
1. Select **Create** to create the user-assigned identity.
37
-
38
37
### [Azure CLI](#tab/azure-cli)
39
38
40
39
Azure CLI commands can be run in the [Azure Cloud Shell](https://shell.azure.com) or on a workstation with the [Azure CLI installed](/cli/azure/install-azure-cli).
41
40
42
-
The Azure CLI commands used to enable managed identity for an Azure resource are of the form `az <command-group> identity --resource-group <resource-group-name> --name <resource-name>`. Specific commands for popular Azure services are shown below.
41
+
Use the Azure CLI command `az identity create` to create a managed identity for an Azure resource:
43
42
44
43
```azurecli
45
44
az identity create --resource-group <resource-group-name> --name <identity-name>
46
45
```
47
46
48
-
The command output should display the following values:
47
+
The command output prints the following values:
49
48
- **ClientID**: Used to configure application code that uses the identity.
50
49
- **Location**: The Azure region that contains the identity.
51
50
- **Name**: The name of the identity.
52
51
- **PrincipalId**: Used for access control and role assignments in Azure.
53
52
- **ResourceGroup**: The resource group that contains the identity.
54
-
- **TenantId**: The Microsoft Entra tenant that contains the identity. in.
53
+
- **TenantId**: The Microsoft Entra tenant that contains the identity.
55
54
56
55
For the steps ahead, you'll use the `principalId` to assign roles to the managed identity.
0 commit comments