Skip to content

Commit b60f2a9

Browse files
Merge pull request #289113 from MutemwaRMasheke/main
minor typo fix
2 parents 7582614 + 203f199 commit b60f2a9

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

articles/governance/machine-configuration/how-to/create-policy-definition.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -181,15 +181,15 @@ $PolicyConfig3 = @{
181181
Platform = 'Windows'
182182
PolicyVersion = 1.0.0
183183
Mode = 'ApplyAndAutoCorrect'
184-
ContentLocalPath = "C:\Local\Path\To\Package" # Required parameter for managed identity
185-
ManagedIdentityResourceId = "YourManagedIdentityResourceId" # Required parameter for managed identity
184+
LocalContentPath = "C:\Local\Path\To\Package" # Required parameter for managed identity
185+
ManagedIdentityResourceId = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}" # Required parameter for managed identity
186186
}
187187
188188
New-GuestConfigurationPolicy @PolicyConfig3 -ExcludeArcMachines
189189
```
190190

191191
> [!NOTE]
192-
> You can retrieve the resorceId of a nmanaged identity using the `Get-AzUserAssignedIdentity`
192+
> You can retrieve the resorceId of a managed identity using the `Get-AzUserAssignedIdentity`
193193
> PowerShell cmdlet.
194194
195195
The cmdlet output returns an object containing the definition display name and path of the policy

0 commit comments

Comments
 (0)