Windows Defender Org ID is completely different on our devices from what we're seeing in security.microsoft.com
Posted by segagamer@reddit | sysadmin | View on Reddit | 2 comments
We're trying to configure Microsoft Defender for our Intune devices, and the Org ID viewable on security.microsoft.com's Settings > Microsoft Defender XDR does not match the Org ID found when running Get-ItemProperty -Path "HKLM:\SOFTWARE\Microsoft\Windows Advanced Threat Protection\Status". This has happened to two of our autopilot laptops, and they both end up with the same Org ID. It just doesn't match the OrgID we want it to, and therefore doesn't get the policies we're trying to configure as Intune can't determine the "Risk factor" of the device.
Can someone help me determine where these laptops are getting this other OrgID from so that we can put a stop to it?
-
We don't have any scripts configured on Intune, just two that were included from Microsoft; "Restart stopped Office C2R srv" (disabled) and "Update stale Group Policies" (enabled).
-
We tried changing the OrgID manually by turning off the connector from Intune to Defender, so that the devices didn't get enrolled into Defender automatically. Then downloaded and ran an offboarding script, re-enabled the connector, and then Intune detected a device not enrolled with Defender and enrolled it appropriately with the correct OrgID. But then after one restart, the OrgID changed back to the same unrecognised one.
OkEmployment4437@reddit
If it flips back after reboot, I'd stop chasing the registry and look for whatever is re-onboarding it into the old tenant. We saw this once with a stale Defender for Endpoint onboarding package baked into the image, but an old GPO, local script, or scheduled task can do the same thing, especially if both autopilot laptops land on the exact same wrong OrgID. I'd check Startup/Run items, scheduled tasks, local gpresult, and whether there's any leftover onboarding blob under the Sense/Policies path before touching OrgID by hand again.
Arudinne@reddit
Were the motehboards replaced at any point?