Skip to content

How to Force an Intune Sync on Windows (and Fix Failures)

By Bikram Bhujel

A Windows device that will not sync with Microsoft Intune is one of the most common tickets in a managed environment: a new app does not install, a policy change never arrives, or the device shows as non-compliant and the user gets blocked from email. Intune normally checks in about every eight hours, so waiting is not a fix when someone needs access now. These are the ways to force a sync, from the user side and the admin side, and what to check when it still will not move.

Quick answer

On the device, open Settings > Accounts > Access work or school, select the work account, click Info and then Sync. Or open the Company Portal app and choose Sync this device. As an admin, open the device in the Intune admin center and click Sync. If it still fails, check the Entra join with dsregcmd /status and restart the Intune Management Extension service.

Method 1: Sync from Windows Settings

  1. Open Settings > Accounts > Access work or school.
  2. Click the connected work account and choose Info.
  3. Scroll down to Device sync status and click Sync.

The time under Last attempted sync should update within a minute. If it shows an error, note the code for your admin.

Method 2: Sync from the Company Portal app

Searching for the Company Portal app in the Windows Start menu
  1. Search for Company Portal in the Start menu and open it.
  2. Go to Settings, or click the device under Devices.
  3. Click Sync. Right-clicking the app in Start also shows a Sync this device shortcut.

Company Portal also shows why a device is not compliant, which saves a call to IT.

Method 3: Sync from the Intune admin center (admins)

  1. Go to intune.microsoft.com and open Devices > All devices.
  2. Open the device and click Sync at the top.
  3. The device picks up the request the next time it is online, usually within a few minutes.

For many devices at once, use Microsoft Graph PowerShell:

Connect-MgGraph -Scopes "DeviceManagementManagedDevices.PrivilegedOperations.All"
Get-MgDeviceManagementManagedDevice -Filter "operatingSystem eq 'Windows'" |
  ForEach-Object { Sync-MgDeviceManagementManagedDevice -ManagedDeviceId $_.Id }

Method 4: Run the sync task on the device

  1. Open Task Scheduler and go to Microsoft > Windows > EnterpriseMgmt.
  2. Open the folder with the long GUID name.
  3. Right-click Schedule #3 created by enrollment client and choose Run.

If the device still will not sync

CheckHow
Is the device joined properly?Run dsregcmd /status. AzureAdJoined and AzureAdPrt should both be YES. If not, sign out and in, or re-join the device.
Are Win32 apps or scripts stuck?Run Restart-Service IntuneManagementExtension in an admin PowerShell, then sync again.
What do the logs say?Read C:\ProgramData\Microsoft\IntuneManagementExtension\Logs\IntuneManagementExtension.log, or collect diagnostics from the device page in the Intune admin center.
Is the clock right?A wrong date or time breaks certificate checks. Turn on Set time automatically.
Has the enrollment certificate expired?Check the MDM certificate in certlm.msc. If it has expired, re-enroll the device.

As a last resort, back up the user's data and reset the device from Intune with Autopilot reset or Fresh start so it enrolls cleanly. Sign-in errors along the way, such as the TPM error, are covered in fix the Trusted Platform Module has malfunctioned error. To script more of this, see automating Windows admin tasks with PowerShell.

Frequently asked questions

How often does Intune sync with Windows devices?

About every eight hours once the device is enrolled, and more often right after enrollment. You can force a sync any time from Settings, Company Portal or the Intune admin center.

How do I force an Intune sync on Windows 11?

Open Settings, Accounts, Access work or school, select your work account, click Info and then Sync. Or open Company Portal and choose Sync this device.

Why does Intune sync fail?

Common causes are a broken Entra ID join, an expired enrollment certificate, a wrong system clock, network or proxy blocks, or a stuck Intune Management Extension. Check dsregcmd /status and the IME log first.

Can I sync all Intune devices at once?

Not with one button in the portal, but Microsoft Graph PowerShell can loop through devices and call Sync-MgDeviceManagementManagedDevice for each one.

Where are the Intune logs on a Windows device?

In C:\ProgramData\Microsoft\IntuneManagementExtension\Logs. MDM events are in Event Viewer under Applications and Services Logs, Microsoft, Windows, DeviceManagement-Enterprise-Diagnostics-Provider.

Comments

Questions and corrections are welcome. I read every comment before it appears, and remove spam and promotional links.