Processes in Microsoft 365 for setting up Office apps, redeeming product keys, and activating licenses.
Accepted. Instructions sent for Microsoft Entra ID worked.
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
Good afternoon, I am trying to re-enable a device (desktop computer) that was accidentally disabled from my Microsoft account because of what the computer was named. For now, I will call it my "work computer". When I attempt to log into the Microsoft.com I get a message that states "We couldn't find a Microsoft account. Try entering your details again, or create an account". I know the account exists because I am logged in on my personal computer on the opposite desk.
When I try to log in on the Microsoft 365 website, I enter the email address, then I get a code texted to my phone, I enter that, then I get sent to my phone's Authenticator App. I enter that number to verify, then I get a pop-up that states "Something went wrong
Your organization has disabled this device.
To fix this, contact your system administrator and provide the error code 135011.
More information: https://www.microsoft.com/wamerrors"
Now, as I am logged into this account on my personal computer, I see that I am ADMIN. I see my work computer (by its old name), I see that device is disabled. I also see Organization Status is Active, and Device object ID with a Code. It reads "Give this unique Device Object ID code to your admin if you want to re-enable a device or add it to a group".
This is exactly what I want to do, isn't it? I am admin, but do not know what to do with the code so that I can re-enable my work computer! I hope this makes sense, and someone can assist me in accomplishing my goal.
Processes in Microsoft 365 for setting up Office apps, redeeming product keys, and activating licenses.
Locked Question. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.
Answer recommended by moderator
Accepted. Instructions sent for Microsoft Entra ID worked.
To re-enable the disabled work computer and clear the “Your organization has disabled this device” (error 135011) message, use these steps as admin and then, if needed, repair the join from the device itself.
This re‑enables the device object so it is no longer blocked for sign‑in.
If the device object was deleted instead of disabled, it must be re‑registered instead of enabled (see step 3 below).
After enabling the device, go back to the work computer and try to sign in and activate Microsoft 365 Apps again. If the error persists, continue with step 3.
Use the method that matches how the work computer is joined.
dsregcmd /forcerecovery
If that does not fix it, fully leave and rejoin:
dsregcmd /status
dsregcmd /leave
dsregcmd /status again and confirm AzureAdJoined is NO. psexec -i -s cmd.exe
dsregcmd /join
dsregcmd /status and verify AzureAdJoined is YES.If in the Entra admin center the work computer does not appear at all (because it was deleted), re‑register it:
dsregcmd.exe /debug /leave
dsregcmd /forcerecovery
Once the device is enabled or re‑registered and properly joined/registered, the error 135011 (“Your organization has disabled this device”) should no longer appear, and Microsoft 365 Apps activation should succeed.
References: