Skip to content

Commit 00010cd

Browse files
authored
fix typo in sample arm template of managed identity
If the wrong sample snippet is copied and used in arm template, it can cause some error in deployment like below: Error: Code=InvalidIdentityId; Message=The identity ids '/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/rg-xxx/providers/Micrososft.ManagedIdentity/userAssignedIdentities/MSI_xxxx' are invalid. It must be of the following format: '/subscriptions/{ subscriptionId }/resourceGroups/{ resourceGroupName }/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{ resourceName }'. It is tricky to spot such kind of bug.
1 parent 936ca7d commit 00010cd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

articles/active-directory/managed-identities-azure-resources/qs-configure-template-windows-vmss.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -185,7 +185,7 @@ In this section, you assign a user-assigned managed identity to a virtual machin
185185
"identity": {
186186
"type": "userAssigned",
187187
"identityIds": [
188-
"[resourceID('Micrososft.ManagedIdentity/userAssignedIdentities/',variables('<USERASSIGNEDIDENTITY>'))]"
188+
"[resourceID('Microsoft.ManagedIdentity/userAssignedIdentities/',variables('<USERASSIGNEDIDENTITY>'))]"
189189
]
190190
}
191191

0 commit comments

Comments
 (0)