File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
articles/governance/machine-configuration/how-to Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -181,15 +181,15 @@ $PolicyConfig3 = @{
181
181
Platform = 'Windows'
182
182
PolicyVersion = 1.0.0
183
183
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
186
186
}
187
187
188
188
New-GuestConfigurationPolicy @PolicyConfig3 -ExcludeArcMachines
189
189
```
190
190
191
191
> [ !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 `
193
193
> PowerShell cmdlet.
194
194
195
195
The cmdlet output returns an object containing the definition display name and path of the policy
You can’t perform that action at this time.
0 commit comments