azureblog.co.uk
← cd ~/tools
// tools/intune-conflicts

Intune policy conflict finder

Load your Settings Catalog policies and find every setting that two or more policies configure, before the conflict shows up on devices. Conflicting values are flagged red, duplicates amber, and each one shows whether the policies' assignments overlap.

Runs entirely in your browser. Nothing you paste is sent anywhere.

Export your policies

This reads every Settings Catalog policy with its settings and assignments, using the Microsoft Graph beta endpoint that the Intune admin centre uses. It only reads.

powershell5 lines
Connect-MgGraph -Scopes DeviceManagementConfiguration.Read.All
$uri = "https://graph.microsoft.com/beta/deviceManagement/configurationPolicies?`$expand=settings,assignments&`$top=100"
$all = @()
while ($uri) { $r = Invoke-MgGraphRequest -Uri $uri; $all += $r.value; $uri = $r.'@odata.nextLink' }
@{ value = $all } | ConvertTo-Json -Depth 30 | Out-File intune-policies.json

How conflicts work