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: articles/active-directory/managed-identities-azure-resources/tutorial-windows-vm-ua-arm.md
+17-6Lines changed: 17 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -5,14 +5,14 @@ services: active-directory
5
5
documentationcenter: ''
6
6
author: MarkusVi
7
7
manager: daveba
8
-
editor: daveba
8
+
editor:
9
9
ms.service: active-directory
10
10
ms.subservice: msi
11
11
ms.devlang: na
12
12
ms.topic: tutorial
13
13
ms.tgt_pltfrm: na
14
14
ms.workload: identity
15
-
ms.date: 01/10/2020
15
+
ms.date: 01/14/2020
16
16
ms.author: markvi
17
17
ms.collection: M365-identity-device-management
18
18
---
@@ -49,7 +49,16 @@ You learn how to:
49
49
- Run `Install-Module -Name PowerShellGet -AllowPrerelease` to get the pre-release version of the `PowerShellGet` module (you may need to `Exit` out of the current PowerShell session after you run this command to install the `Az.ManagedServiceIdentity` module).
50
50
- Run `Install-Module -Name Az.ManagedServiceIdentity -AllowPrerelease` to install the prerelease version of the `Az.ManagedServiceIdentity` module to perform the user-assigned identity operations in this article.
51
51
52
-
## Create identity
52
+
53
+
## Enable
54
+
55
+
For a scenario that is based on a user-assigned identity, you need to perform the following steps:
56
+
57
+
- Create an identity
58
+
59
+
- Assign the newly created identity
60
+
61
+
### Create identity
53
62
54
63
This section shows how to create a user-assigned identity. A user-assigned identity is created as a standalone Azure resource. Using the [New-AzUserAssignedIdentity](/powershell/module/az.managedserviceidentity/get-azuserassignedidentity), Azure creates an identity in your Azure AD tenant that can be assigned to one or more Azure service instances.
This section shows how to Assign the user-assigned identity to a Windows VM. A user-assigned identity can be used by clients on multiple Azure resources. Use the following commands to assign the user-assigned identity to a single VM. Use the `Id` property returned in the previous step for the `-IdentityID` parameter.
81
90
@@ -109,7 +118,9 @@ ObjectType: ServicePrincipal
109
118
CanDelegate: False
110
119
```
111
120
112
-
## Get an access token
121
+
## Access data
122
+
123
+
### Get an access token
113
124
114
125
For the remainder of the tutorial, you will work from the VM we created earlier.
115
126
@@ -129,7 +140,7 @@ For the remainder of the tutorial, you will work from the VM we created earlier.
129
140
$ArmToken = $content.access_token
130
141
```
131
142
132
-
## Read properties
143
+
### Read properties
133
144
134
145
Use the access token retrieved in the previous step to access Azure Resource Manager, and read the properties of the Resource Group you granted your user-assigned identity access. Replace `<SUBSCRIPTION ID>` with the subscription id of your environment.
0 commit comments