Skip to content

Commit ce99186

Browse files
authored
Update pre-post-prerequisites.md
removed indents
1 parent 9a27323 commit ce99186

1 file changed

Lines changed: 15 additions & 14 deletions

File tree

articles/update-manager/includes/pre-post-prerequisites.md

Lines changed: 15 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -21,31 +21,32 @@ For the script examples below (Start VM's and Stop VM's), the Virtual Machine Co
2121

2222
#### [Using Azure portal](#tab/portal)
2323

24-
Follow the steps in [Assign Azure roles using the Azure portal](../../role-based-access-control/role-assignments-portal.yml) to assign permissions
24+
Follow the steps in [Assign Azure roles using the Azure portal](../../role-based-access-control/role-assignments-portal.yml) to assign permissions
2525

2626
#### [Using Azure PowerShell](#tab/powershell)
2727

28-
Use PowerShell cmdlet [New-AzRoleAssignment](/powershell/module/az.resources/new-azroleassignment) to assign a role to the system-assigned managed identity.
28+
Use PowerShell cmdlet [New-AzRoleAssignment](/powershell/module/az.resources/new-azroleassignment) to assign a role to the system-assigned managed identity.
2929

30-
```powershell
31-
New-AzRoleAssignment `
30+
```powershell
31+
New-AzRoleAssignment `
3232
-ObjectId $SA_PrincipalId `
3333
-ResourceGroupName $resourceGroup `
3434
-RoleDefinitionName "Contributor"
35-
```
35+
```
3636

37-
Assign a role to a user-assigned managed identity.
37+
Assign a role to a user-assigned managed identity.
3838

39-
```powershell
40-
New-AzRoleAssignment `
39+
```powershell
40+
New-AzRoleAssignment `
4141
-ObjectId $UAMI.PrincipalId `
4242
-ResourceGroupName $resourceGroup `
4343
-RoleDefinitionName "Contributor"
44-
```
45-
For the system-assigned managed identity, show `ClientId` and record the value for later use.
44+
```
45+
46+
For the system-assigned managed identity, show `ClientId` and record the value for later use.
4647

47-
```powershell
48-
$UAMI.ClientId
49-
```
50-
---
48+
```powershell
49+
$UAMI.ClientId
50+
```
51+
5152
3. Import the `Az.ResourceGraph` module, ensure the module is updated to ThreadJob with the module version 2.0.3.

0 commit comments

Comments
 (0)