Share via

Need to re-enable a device that was accidentally disabled.

Darice Ramirez 0 Reputation points
2026-04-30T21:09:19.06+00:00

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.

Microsoft 365 and Office | Install, redeem, activate | For business | Windows

Locked Question. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.

0 comments No comments

Answer recommended by moderator

  1. Darice Ramirez 0 Reputation points
    2026-04-30T21:17:29.1133333+00:00

    Accepted. Instructions sent for Microsoft Entra ID worked.

    0 comments No comments

1 additional answer

Sort by: Most helpful
  1. Q&A Assist
    2026-04-30T21:10:31.0033333+00:00
    AI generated content. This question contains an answer created with AI from Q&A Assist. Learn more

    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.

    1. Re‑enable the device in Microsoft Entra ID (Azure AD)
    2. Sign in on the working (personal) computer to the Azure portal: https://portal.azure.com.
    3. Go to Microsoft Entra ID > Devices.
    4. In Devices, search for the disabled work computer by its name or by the Device Object ID that is shown on your personal computer.
    5. Select that device.
    6. Select Enable.

    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).

    1. Try Microsoft 365 Apps / sign‑in again

    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.

    1. Repair or re‑register the device from Windows

    Use the method that matches how the work computer is joined.

    A. If the device is Microsoft Entra joined (Azure AD joined)

    1. On the work computer, open Command Prompt as administrator.
    2. Run:
         dsregcmd /forcerecovery
      
    3. In the dialog that appears, select Sign in and complete sign‑in.
    4. Sign out of Windows and sign back in.
    5. Try activating Microsoft 365 Apps again.

    If that does not fix it, fully leave and rejoin:

    1. In an elevated Command Prompt, run:
         dsregcmd /status
      
    2. If AzureAdJoined is YES, run:
         dsregcmd /leave
      
    3. Run dsregcmd /status again and confirm AzureAdJoined is NO.
    4. Restart the device.
    5. After restart, if AzureAdJoined is still NO, join again:
      1. Download PsExec from the Sysinternals site.
      2. Open Command Prompt as administrator and run:
              psexec -i -s cmd.exe
        
      3. In the new window, run:
              dsregcmd /join
        
      4. Run dsregcmd /status and verify AzureAdJoined is YES.
    6. Try Microsoft 365 Apps activation again.

    B. If the device is Microsoft Entra registered (work account added under “Access work or school”)

    1. On the work computer, go to Settings > Accounts > Access work or school.
    2. Select the work account and choose Disconnect.
    3. Restart the device.
    4. Go back to Access work or school.
    5. Select Connect (or Join this device to Microsoft Entra ID if appropriate) and sign in with the same work account.
    6. When prompted, select Let my organization manage my device.
    7. Restart and try Microsoft 365 Apps activation again.
    8. If the device was deleted instead of disabled

    If in the Entra admin center the work computer does not appear at all (because it was deleted), re‑register it:

    • For Microsoft Entra hybrid joined Windows 10/11:
      1. On the work computer, open Command Prompt as administrator.
      2. Run:
             dsregcmd.exe /debug /leave
        
      3. Sign out and sign back in to trigger the scheduled task that re‑registers the device.
    • For Microsoft Entra joined Windows 10/11:
      1. Open Command Prompt as administrator.
      2. Run:
             dsregcmd /forcerecovery
        
      3. Complete sign‑in, then sign out and sign back in.
    • For Microsoft Entra registered Windows 10/11:
      1. Go to Settings > Accounts > Access work or school.
      2. Select the account and choose Disconnect.
      3. Select + Connect and sign in again to register the device.

    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: