Home › Microsoft Intune › 0x87D1FDE8

Microsoft Intune · 0x87D1FDE8 · Windows 11 22H2

Microsoft Intune Error 0x87D1FDE8 - Windows 11 22H2 Configuration Profile Failure

The error occurs due to a policy conflict or an unsupported Windows edition. Review policies for conflicts and ensure compatibility with Windows 11 22H2.

Error Details

FactValueSourceNote
Exact error stringConfiguration profile remediation failed — policy conflict or unsupported Windows editionMicrosoft Endpoint Manager admin center logs->
OS build rangeWindows 11 22H2 (Build 22621.1380)System Information tool or About Windows settings->
Registry key involvedHKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\WindowsIntune\Runtime\StateRegistry Editor (regedit)->
Relevant service/endpoint URLhttps://endpoint.microsoft.com/Microsoft Endpoint Manager admin center->
Log line signatureError Code: 0x87D1FDE8, Category: ConfigurationProfileRemediationFailedIntune Management Agent logs->

Log Files to Check

What This Error Actually Means

The error code 0x87D1FDE8 is raised by the **Intune Management Agent (IMA)** during configuration profile remediation. It indicates a failure to apply a policy due to either a **conflict between policies** (e.g., duplicate or mutually exclusive settings) or the **Windows edition being incompatible** with the configuration profile. This error is logged when the IMA detects that the target device’s operating system edition (e.g., Windows 11 Home) lacks the required features to enforce a policy, or when two policies attempt to configure the same setting with conflicting values. The error is categorized under ConfigurationProfileRemediationFailed, which is tracked in the Intune Management Agent logs and the Microsoft Endpoint Manager admin center.

Affected Versions and Scope

This error primarily affects **Windows 11 22H2 (Build 22621.1380)** devices enrolled in Intune. It is most commonly observed on devices running **Windows 11 Home edition**, as many Intune configuration profiles require Pro or Enterprise editions. Devices running **Windows 11 Pro, Enterprise, or Education editions** are generally unaffected unless misconfigured policies are applied. The issue does not occur on Windows 10 21H2 or later builds unless the same edition incompatibility exists. Tenants using **baseline configuration profiles** or **custom OMA-URI policies** targeting unsupported editions are at higher risk. Devices managed via co-management or hybrid Azure AD join are not immune but require additional validation of group policy and Intune policy alignment.

Where To Look First: Logs and Event IDs

The primary log file to inspect is C:\ProgramData\Microsoft\IntuneManagementAgent\Logs\Application.log. Use Get-WinEvent -LogName "Microsoft-IntuneClient-Operational" or open C:\Windows\System32\winevt\Logs\Microsoft-IntuneClient-Operational.evtx in Event Viewer. Search for the exact log line: Error Code: 0x87D1FDE8, Category: ConfigurationProfileRemediationFailed. Event IDs 10016 (policy conflict) and 10017 (unsupported edition) in the Microsoft-IntuneClient-Operational log are directly associated with this error. Use PowerShell to filter logs: Get-WinEvent -LogName "Microsoft-IntuneClient-Operational" | Where-Object { $_.Message -match "0x87D1FDE8" }.

Root Causes

1. Policy Conflict Between Intune and Local Group Policy

This occurs when a local Group Policy Object (GPO) or another Intune policy enforces a conflicting setting. For example, a firewall rule configured via GPO may clash with an Intune firewall profile. To identify, run Get-CimInstance -ClassName Win32_GroupPolicy and cross-reference settings with Intune policies.

2. Unsupported Windows Edition

Configuration profiles requiring features like BitLocker, device enrollment, or advanced security settings fail on Windows 11 Home. Check the edition with (Get-WmiObject -Class Win32_OperatingSystem).Caption. If "Home" is present, the error is guaranteed for profiles requiring Pro/Enterprise features.

3. Corrupted Intune Agent State

The registry key HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\WindowsIntune\Runtime\State stores the agent’s operational state. If the LastRemediationStatus value contains 0x87D1FDE8, the agent failed to apply a policy. This can be resolved by resetting the registry value or reinstalling the Intune agent.

Fix Procedure

  1. Resolve Policy Conflicts: Use Get-IntuneDevice -Filter "id eq 'deviceID'" to identify the device. In the Intune admin center, navigate to Devices > All devices, select the device, and review assigned policies. Remove or adjust conflicting policies via Policies > Configuration profiles.
  2. Upgrade Windows Edition: For unsupported editions, run Get-WindowsEdition -Online and use Set-WindowsEdition -Online -Edition Enterprise -LicenseKey XXXXX-XXXXX-XXXXX-XXXXX-XXXXX to upgrade. Reapply the configuration profile.
  3. Reset Intune Agent State: Open Registry Editor and navigate to HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\WindowsIntune\Runtime\State. Set LastRemediationStatus to 0. Restart the IntelAMT service with Restart-Service -Name "IntelAMT".
  4. Reinstall Intune Agent: Run msiexec /x MicrosoftIntuneManagementExtension.msi to uninstall, then reinstall using MicrosoftIntuneManagementExtensionSetup.exe from the C:\Program Files\Microsoft Intune Management Extension directory.
Modifying the registry or reinstalling the Intune agent may disrupt device enrollment. Ensure a backup of the registry is taken before proceeding.

Error Code Variants

Error CodeDescriptionDistinguishing Factor
0x87D1FDE8Policy conflict or unsupported editionLogged when policies clash or OS edition lacks required features
0x87D1FDE9Profile deployment timeoutOccurs when remediation exceeds 30-minute threshold
0x87D1FDEAOMA-URI syntax errorInvalid OMA-URI string in configuration profile

Verification

After applying fixes, run Get-WinEvent -LogName "Microsoft-IntuneClient-Operational" | Where-Object { $_.Message -match "Remediation succeeded" } to confirm resolution. In the Intune admin center, navigate to Devices > All devices and verify the device’s compliance status is Compliant. The registry key LastRemediationStatus should return 0 if the agent state was reset.

Prevention

To prevent recurrence: 1. **Use Edition-Aware Policies:** In the Intune admin center, create device groups filtered by OS edition (e.g., deviceOperatingSystem eq 'Windows 11 Pro') and assign edition-specific policies. 2. **Enforce Baselines:** Apply the Windows 11 Pro baseline via Devices > Windows > Baselines to ensure compatibility. 3. **Audit Policy Dependencies:** Use Get-IntunePolicy -Filter "devicePlatform eq 'windows10'" to audit policies and resolve overlaps.
Use dsregcmd /status to quickly verify enrollment status and OS edition compatibility without opening logs.

Sources & References

Related Guides

Get new error code fixes by email

Product-specific solutions for Intune, Autopilot, SCCM and Entra ID — straight to your inbox. No spam.