Skip to content

Microsoft Intune policy automation for Windows devices

Start automating Intune with a read-only record of what is assigned. A record of the settings alone cannot tell you who will receive a change, whether their device has checked in, or what will happen if the setting is withdrawn. This guide walks an endpoint team through one Windows configuration change from inventory to recovery.

Build a baseline you can reproduce

In the Intune admin center, open Devices > Manage devices > Configuration. For each profile in scope, record the profile ID, policy type, platform, setting names and values, included and excluded group IDs, assignment filters and filter mode. Keep the owner, capture time and change reference with the snapshot. Export supported Windows settings catalog policies using Export JSON and record the assignments separately.

For the deviceConfiguration resource family, a job can call GET https://graph.microsoft.com/v1.0/deviceManagement/deviceConfigurations with the documented read-only DeviceManagementConfiguration.Read.All permission. This endpoint lists that resource family. Inventory settings catalog policies separately and reconcile the combined list with the admin center. Follow each @odata.nextLink until there are no pages left. If a read fails, mark the snapshot incomplete and retain the last complete version.

Review the settings and assignment changes together

Compare stable profile and group IDs across snapshots, since a display name can change. Summarize each setting whose value changed, each target added or removed and any change to a filter rule. Keep the original snapshots alongside the summary. A daily report can flag changes for review while the rollout stays under the endpoint owner’s control.

For a Windows settings catalog test, duplicate the relevant profile if that is the appropriate starting point. Microsoft documents that the duplicate carries settings and scope tags but starts without assignments. Review every setting on the copy, identify any existing profile that configures the same setting, and verify the pilot devices will receive a coherent configuration before assigning it.

Use deployment rings with observable exit criteria

For example, an endpoint team can test a browser home-page change on managed Windows devices. Define the expected browser behavior, capture it before the change, and choose a pilot that includes each supported browser channel and device type. The rings and counts below illustrate a rollout decision. Adapt them to the fleet and the impact of the setting.

Use deployment rings with observable exit criteria
RingTargetEvidence before expansion
LabTwo representative test devicesBoth devices check in, report the intended setting, and pass the browser test. Restore the previous behavior on one device.
PilotTen named devices across teamsAccount for all ten devices. Confirm the expected browser behavior on each represented device type and resolve new errors or conflicts.
ProductionSuccessive groups sized for support capacityRecord targeted devices, recent check-ins, errors, conflicts, and related support tickets after each group. Pause for unexpected impact.

Make exceptions explicit

If the policy targets a device group, use a device group for exclusions. Microsoft documents that Intune does not resolve user-to-device relationships for mixed group exclusions. Record each exception’s owner, reason, affected devices and expiry date. When a filter is involved, check the evaluated assignment on representative devices before expanding.

For example, a shared kiosk might need to retain its existing start page. Confirm the kiosk is outside the new assignment and check that its browser still opens the expected page. An exclusion that looks correct in the group list can still leave a different profile controlling the same setting.

Verify delivery and the result on the device

Open the profile’s Device assignment status report, generate the latest report, and inspect Per setting status for errors and conflicts. Record the intended ring size and each device’s last check-in. Microsoft notes that assignment or group membership changes can take 24 to 48 hours to appear in the assignment report, especially in large tenants.

If eight of ten pilot devices report success, one shows a conflict and one has yet to check in, record eight confirmed deliveries. Review the conflicting profiles, wait for the offline device to report, and test the actual browser behavior. Advance once the evidence meets the ring’s criteria.

Test how rollback works for the specific setting

Pause expansion when a problem first appears. Record affected devices, the previous value and the intended end state. Inspect the setting’s Windows configuration service provider documentation. Some providers retain a setting after unassignment, a behavior Microsoft calls tattooing. A saved JSON export helps reconstruct a profile but cannot establish that a device has reverted.

Test the documented recovery on a lab device. Where the setting requires an explicit prior value, check for competing assignments before applying the correction to affected devices. Sync, inspect per-setting status, and repeat the same on-device test used at rollout. Close the change after the affected ring reaches the expected state and any offline exceptions have owners.

Sources