Skip to content

Commit 4648ab2

Browse files
Update create-policy-definition.md
1 parent eea5d5b commit 4648ab2

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

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

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -118,6 +118,7 @@ Parameters of the `New-GuestConfigurationPolicy` cmdlet:
118118

119119
> [!IMPORTANT]
120120
> Please note that, unlike Azure VMs, Arc-connected machines currently do not support User Assigned Managed Identities. As a result, the `-ExcludeArcMachines` flag is required to ensure the exclusion of those machines from the policy definition.
121+
> Additionally, for the Azure VM to download the assigned package and apply the policy, the Guest Configuration Windows Agent Version 1.29.82.0 OR Linux Agent Version 1.26.76.0 is required
121122
122123
For more information about the **Mode** parameter, see the page
123124
[How to configure remediation options for machine configuration][02].
@@ -173,6 +174,8 @@ $PolicyConfig3 = @{
173174
174175
New-GuestConfigurationPolicy @PolicyConfig3 -ExcludeArcMachines
175176
```
177+
> [!NOTE]
178+
> You can retrieve the resorceId of a nmanaged identity using the `Get-AzUserAssignedIdentity` Powershell cmdlet.
176179
177180
The cmdlet output returns an object containing the definition display name and path of the policy
178181
files. Definition JSON files that create audit policy definitions have the name

0 commit comments

Comments
 (0)