File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed
articles/update-manager/includes Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -23,18 +23,18 @@ ms.date: 09/24/2024
23
23
24
24
``` powershell
25
25
New-AzRoleAssignment `
26
- -ObjectId $SA_PrincipalId `
27
- -ResourceGroupName $resourceGroup `
28
- -RoleDefinitionName "Contributor"
26
+ -ObjectId $SA_PrincipalId `
27
+ -ResourceGroupName $resourceGroup `
28
+ -RoleDefinitionName "Contributor"
29
29
```
30
30
31
31
Assign a role to a user-assigned managed identity.
32
32
33
33
```powershell
34
34
New-AzRoleAssignment `
35
- -ObjectId $UAMI.PrincipalId`
36
- -ResourceGroupName $resourceGroup `
37
- -RoleDefinitionName "Contributor"
35
+ -ObjectId $UAMI.PrincipalId`
36
+ -ResourceGroupName $resourceGroup `
37
+ -RoleDefinitionName "Contributor"
38
38
```
39
39
For the system-assigned managed identity, show `ClientId` and record the value for later use.
40
40
You can’t perform that action at this time.
0 commit comments