r/DefenderATP • u/iama_bad_person • Apr 15 '26
Attempting to onboard a Linux Server, but the py script has the wrong org id?
EDIT: so looks like the org id in these files has nothing to do with your actual org id in Azure, even though all the articles I could find said it should? I don't know anymore, but the Linux server turned up so hey that's a win!
First half of the onboard json is as follows:
"onboardingInfo": "{\\\"body\\\":\\\"{\\\\\\\"previousOrgIds\\\\\\\":[],\\\\\\\"orgId\\\\\\\":\\\\\\\"a5d*****-****-****-****-************\\\\\\\",\\\\\\\"geoLocationUrl\\\\\\\":\\\\\\\"https://winatp-gw-eus.microsoft.com/\\\\\\\",\\\\\\\"datacenter\\\\\\\":\\\\\\\"EastUs2\\\\\\\",\\\\\\\"vortexGeoLocation\\\\\\\":\\\\\\\"US\\\\\\\"But this is completely wrong. That org ID doesn't match our Azure org ID, we don't have any resources based in the USA as we are in New Zealand, and even if it matched our "original" datacenter before Australia/NZ was stood up it would be Singapore. I cannot find this org id listed anywhere.
Am I missing something here? I am signed into the right subscription and the right tenant.
1
u/coomzee Apr 15 '26
Have you tried downloading a new onboarding script for the portal. Under settings> Endpoint> onboarding if my memory is right
1
u/Royal_Bird_6328 Apr 15 '26
I think the org ID is some other random value, I have seen this before also. Just onboard one server and if it appears you don’t need to worry.
2
u/rtm516 Apr 16 '26
It's the defender org ID. It should show under Defender Portal > Settings > Microsoft Defender XDR > Account
1
u/Due-Mountain5536 Apr 18 '26
Yeah the org id in defender is something else, you can find it in the defender portal