Error code 135011 with the message “Your organization has disabled this device” means the device object in Microsoft Entra ID (Azure AD) is disabled or deleted, so sign-in and activation are blocked. Resolution requires checking and fixing the device status, then rejoining/recovering it.
For a home Windows 11 device that was ever joined to work or school, the following admin-focused steps are typically required:
- Have an admin enable or recover the device in Microsoft Entra ID
- Sign in to the Azure portal with an admin account.
- Go to Microsoft Entra ID > Devices.
- Search for the device (by device name or user) and check if it is Disabled or deleted.
- If it is disabled, select the device and choose Enable.
- If it was deleted, it must be re-registered (see step 2).
- If the device was deleted, re-register it to the tenant
On the affected Windows 11 device:
- Open Settings > Accounts > Access work or school.
- Select the work/school account and choose Disconnect.
- Then select Connect and sign in again with the work or school account to register the device.
- If sign-in still fails, reset the Microsoft 365/Entra device state
Use the device recovery approach described for disabled or unauthenticated devices:
- Open Event Viewer and confirm the AADSTS135011 / device disabled messages under Applications and Services Logs > Microsoft > Windows > AAD > Operational.
- Run
dsregcmd /statusin an elevated Command Prompt to see how the device is joined (AzureAdJoined / WorkplaceJoined / hybrid). - For a Microsoft Entra hybrid-joined device:
- Run
dsregcmd /leavein an elevated Command Prompt. - Restart the device.
- Allow it to rejoin and then try signing in again.
- Run
- Force Microsoft Entra sign-in recovery if needed
On the affected device, in an elevated Command Prompt:
- Run
dsregcmd /forcerecovery. - When prompted, select Sign in and complete the sign-in.
- Sign out of Windows and sign back in, then test the affected app or sign-in again.
- Run
- If the device is Azure AD–joined and not rejoining automatically
- In an elevated Command Prompt, run
dsregcmd /statusand confirmAzureAdJoined. - If
AzureAdJoinedis YES but the error persists, an admin should consider removing any duplicate or stale device entries in Entra ID, then:- Delete local BrokerPlugin token data as described in the “Check for a duplicate device” section.
- Restart the device and sign in again.
- In an elevated Command Prompt, run
If the device is no longer supposed to be managed by any organization (pure home use), remove any work or school account under Settings > Accounts > Access work or school, and ensure the device is not joined to Microsoft Entra ID or a work domain. If the error continues and the device is still associated with a tenant, an admin of that tenant must correct or remove the device object.
References: