That account info didn’t work – error when disconnecting Windows 10 / 11 Work or School account

Issue:

You may encounter the below error when try to disconnect Work or School account on Windows 10 / 11. The issue keeps happening with different local administrator accounts as well.

Error: That account info didn’t work. Ensure you’re entering information for a local administrator account and try again.

That account info didn't work

Cause:

This issue may happen if the NetBIOS name of the computer is more than 15 characters in length (e.g. : PC-12340000000000000016). In our case, the machine was enrolled to Microsoft Entra ID (Formerly Azure AD) using the Windows provisioning package, and a long NetBIOS name was automatically assigned to the computer. The machine name was auto-generated based on the serial number. It was a virtual machine and the serial number was longer.

Solution:

Rename the computer and keep the NetBIOS name within 15 characters. Reboot the machine and then try to disconnect it from Azure AD again.

In our case, the machine was successfully disconnected from Azure AD after reducing the NetBIOS name length to 15 characters.

Related Posts

Subscribe to Techuisitive Newsletter

Be the first to know about our new blog posts. Get our newsletters directly in your inbox and stay up to date about Modern Desktop Management technologies & news.

Scroll to Top