Fix: Your account was not set up on this device because device management could not be enabled

In this post, learn how to fix Your account was not set up on this device because device management could not be enabled error on Windows 10.

Kapil Arya
11x Microsoft MVP · Admin
3 min read
Add as a preferred
source on Google

If you are unable to sign in to any of Microsoft/Office365 apps with your work or school account, this article is for you. Usually, when you sign in to these apps with your work account, you’re asked whether you want to sign to only app or you want to manage entire device with that account. Sometimes users may not pay attention to this and eventually they came across Your account was not set up on this device because device management could not be enabled message. This post will help you to fix, if you’re stuck with this error message.

Your account was not set up on this device because device management could not be enabled

As you can see in the above screenshot, along with the error message, it is also mentioned that your device may not be able to access resources such as Wi-Fi, VPN or email. You may receive different error code in your case apart from the one shown in screenshot. Here’s how you can fix this issue.

Fix: Your account was not set up on this device because device management could not be enabled

This error is expected to occur, if you’ve checked Allow my organization to manage my device option while signing in to any Microsoft/Office365 app. When you check this option, the account you’ve used to sign in is automatically added into ‘Access work or school’ section of Settings app. After this, your device should be usually governed by policies applied by your IT admin or organization. The error message mentioned above is expected in this case.

To resolve the problem, follow these steps:

1. Open Credential Manager using Search or via Cortana.

2. Go to Windows Credentials and remove any Microsoft/Office365 app credential listed there. If there are no such credential, proceed with further steps below.

Your account was not set up on this device because device management could not be enabled

3. Follow these guides and disconnect your system work or school account:

4. While you disconnect from AD or AAD, make sure you reboot your system.

5. Now open any Microsoft/Office365 app and sign in to that with your account.

6. After sign in, make sure uncheck Allow my organization to manage my device option. And don’t click OK, instead click on No, sign in to this app only link.

Your account was not set up on this device because device management could not be enabled

Once you complete above steps, you’ll no longer get this error message again.

Hope this helps!

Related: Accidentally clicked ‘Allow my organization to manage my device’ in Microsoft Teams.

Share this article
https://www.kapilarya.com/fix-your-account-was-not-set-up-on-this-device-because-device-management-could-not-be-enabled

Shareable URL

Article by

Kapil Arya
11x Microsoft MVP · Admin

Kapil holds Microsoft MVP title in Windows IT Pro expertise, 11-times in a row (2014-2025). He is 8-times Windows Insider MVP as well, and author of 'Windows Group Policy Troubleshooting' book. In 2015, Microsoft India accomplished him as 'Windows 10 Champion'. Being passionate Windows blogger, he loves to help others on fixing their system issues. Kapil has worked with official Microsoft Community Engagement Team (CET) on several community projects. You can subscribe him for news/updates and fixes for Windows.

3 Comments
Sanga

Thanks a lot as it solved my problems. As a token of appreciation i clicked your ads 😉

Kapil Arya Author

^^ Glad we could help!

Naveen

i get the same error when trying to connect my work or school account to the laptop. can you please help me with this?

Leave a Comment

Your email address will not be published. Required fields are marked *