Intune: Use Powershell to Syncronise all Intune Managed Devices

Using Microsoft Graph and Powershell, you can force a device sync to all Intune managed devices

Install-Module Microsoft.Graph.Intune
Connect-MSGraph -AdminConsent
$Devices = Get-IntuneManagedDevice -Filter "contains(deviceName,'Desktop')"

ForEach ($Device in $Devices){
    $did=$device.managedDeviceId
    Write-Host "Sending Sync request to Device with DeviceID $did" -ForegroundColor Yellow
    Invoke-IntuneManagedDeviceSyncDevice -managedDeviceId $device.managedDeviceId 
}​​​​​​​

This will find all Intune managed devices that contain “Desktop” in the device name. Change the filter to retrieve the device set that you need.