Processes in Microsoft 365 for setting up Office apps, redeeming product keys, and activating licenses.
Hi @Salma Elmallah,
Thank you for reaching out, I’m really glad to help you with this.
Based on the screenshot you mentioned, the error you’re encountering (AADSTS135011) usually means that the device being used during the sign‑in process is registered in Microsoft Entra ID, but it has been disabled. Even if your Office license is assigned correctly to your account, sign‑in will still fail because the device itself is blocked from authenticating.
If you are an end user, the best next step is to contact your Microsoft 365/IT administrator, since they have the required permissions to check and fix this.
You can ask them to review the device status in Microsoft Entra ID by signing in and going to Devices, then searching for your device or your username. If the device appears in the list and is disabled, they can simply select it and choose Enable to restore access.
In case the device is no longer listed there because it was deleted, it will need to be registered again on your machine. You can do this by going to Settings, then Accounts, then Access work or school. From there, select your account and choose Disconnect, then reconnect it by signing in again. This will re-register the device and restore the authentication relationship.
If after trying these steps the issue still persists, it would be a good idea for you and your admin to follow the full step-by-step guidance from: Microsoft 365 Apps activation error Your organization has disabled this device - Microsoft 365 Apps… That guide covers additional checks to make sure everything is properly configured.
If the issue continues after trying these steps, or if you get stuck at any point along the way, I’d recommend asking your admin to submit a support ticket with Microsoft. Once the case is created, a technical support engineer can work with you directly, take a closer look at the backend, and help resolve any sync or configuration issues t hat might not be visible from your side.
Since this is a user-to-user support forum, I don’t have the tools or permissions to access your environment or make changes directly. That said, I really hope the guidance above helps you and your admin move closer to a solution, or at least points you to the right place to get further assistance if needed.
If you have any updates or questions along the way, please feel free to reply here. I’ll be more than happy to continue supporting you in my scope.
Thank you so much for your time, and I truly hope this gets resolved for you very soon.
If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.