May 16 2022 01:39 AM
Hello Folks!
I am trying to onboard a machine to a new tenant, but it says "The Microsoft Defender for Endpoint Service is already running" as shows on the screenshot.
however, I went to the event viewer to check the issue, on source: WDATPOnboarding, found ID 10 which means "The Microsoft Defender for Endpoint Service is already running!"
As I remember I onboarded this machine on different tenant long ago, and I forgot it as it was a trail tenant.
so, how can I disassociate the machine from the old tenant?
Thank you!
May 16 2022 02:21 AM - edited May 16 2022 02:55 AM
I would believe this is normal, The first task of the script is to run the service. When you open CMD of the onboarding script check line 82.
It should start with
"echo Starting the service, if not already running"
I believe you are onboarded correctly. If you would like to ensure you are reporting to the correct tenant, run the test threat script which you can download from the security portal. It should be reflected to the tenant in 5 minutes as threat under this specific server status.
You can also check if the correct Tenant ID has been set on your machine. You should get your onboarding tenant ID from the script line 63 under reg key "HKLM\SOFTWARE\Policies\Microsoft\Windows Advanced Threat Protection"
according to the message you displayed, your onboarding didn't fail, it was success
Hope this helps
May 16 2022 03:15 AM
Hi @AhmedBadawy
I have onboarded another machine, and it works fine and it shows on Device Inventory.
the message displays is different from the message on the post.
Moreover, I have run the script which I have downloaded from security.microsoft.com.
I went through "HKLM\SOFTWARE\Policies\Microsoft\Windows Advanced Threat Protection" OnboardingInfo , and I couldn't find the tenant ID there.
May 16 2022 06:00 AM
May 16 2022 09:57 AM
Solution