Skip to content

Commit 46ed2eb

Browse files
en-us
1 parent 024c83b commit 46ed2eb

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

articles/virtual-machines/windows/image-builder-gallery.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ New-AzResourceGroup `
9393

9494

9595
## Create a user-assigned identity and set permissions on the resource group
96-
Image Builder will use the [user-identity](https://docs.microsoft.com/en-us/azure/active-directory/managed-identities-azure-resources/how-to-manage-ua-identity-powershell) provided to inject the image into the Azure Shared Image Gallery (SIG). In this example, you will create an Azure role definition that has the granular actions to perform distributing the image to the SIG. The role definition will then be assigned to the user-identity.
96+
Image Builder will use the [user-identity](https://docs.microsoft.com/azure/active-directory/managed-identities-azure-resources/how-to-manage-ua-identity-powershell) provided to inject the image into the Azure Shared Image Gallery (SIG). In this example, you will create an Azure role definition that has the granular actions to perform distributing the image to the SIG. The role definition will then be assigned to the user-identity.
9797

9898
```powershell
9999
# setup role def names, these need to be unique
@@ -134,7 +134,7 @@ New-AzRoleDefinition -InputFile ./aibRoleImageCreation.json
134134
New-AzRoleAssignment -ObjectId $idenityNamePrincipalId -RoleDefinitionName $imageRoleDefName -Scope "/subscriptions/$subscriptionID/resourceGroups/$imageResourceGroup"
135135
136136
### NOTE: If you see this error: 'New-AzRoleDefinition: Role definition limit exceeded. No more role definitions can be created.' See this article to resolve:
137-
https://docs.microsoft.com/en-us/azure/role-based-access-control/troubleshooting
137+
https://docs.microsoft.com/azure/role-based-access-control/troubleshooting
138138
```
139139

140140

0 commit comments

Comments
 (0)