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

You may encounter the following error when trying to disconnect a 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 occur if the computer’s NetBIOS name is more than 15 characters long (e.g., PC-12340000000000000016). In our case, the machine was enrolled in 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, then try disconnecting 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