MFA & Verification Issues

How to Fix the InfoPath 'Your Account Is in a Bad State' Error

Kushani NimanthikaKushani Nimanthika Nov 2, 2026 869 views

Question details

Users encounter a 'Your account is in a bad state' error message when attempting to sign in to InfoPath with a work account, preventing access to SharePoint lists.

How to Fix the InfoPath 'Your Account Is in a Bad State' Error
Product
Microsoft InfoPath
Device & OS
not provided
Scenario
Signing in to InfoPath using a work account equipped with multifactor authentication (MFA) to connect to Office 365 or SharePoint.
Observed behavior
InfoPath fails to display the correct multifactor authentication screen and instead shows an error message stating that the account is in a bad state.
Before you start

Ensure you have administrative privileges to access the Windows Registry Editor, as updating authentication protocols for legacy Office applications typically requires adding specific registry keys.

Solution 1Recommended

Enable Active Directory Authentication Library (ADAL)

Configure your system registry to force InfoPath to use modern authentication, which correctly displays multifactor authentication prompts.

Legacy Office applications like InfoPath do not natively trigger modern authentication screens when connecting to SharePoint. Enabling ADAL through the registry forces the application to use modern authentication protocols, resolving the sign-in block.

1
Open Registry Editor

Press the Windows Key + R, type 'regedit' in the Run dialog box, and press Enter to launch the Registry Editor.

2
Navigate to the Identity folder

Navigate to the path: HKEY_CURRENT_USER\Software\Microsoft\Office\15.0\Common\Identity (If you are using Office 2016, look for the '16.0' folder instead).

3
Create the EnableADAL key

Right-click the Identity folder, select New > DWORD (32-bit) Value, name it 'EnableADAL', and set its value data to 1.

4
Create the Version key

Right-click again, select New > DWORD (32-bit) Value, name it 'Version', and set its value data to 1.

5
Restart InfoPath

Close the Registry Editor, restart your computer or InfoPath, and attempt to sign in again to verify the MFA screen loads correctly.

Enable Active Directory Authentication Library (ADAL)
Registry Modification Warning: Modifying the registry can cause system instability if done incorrectly. It is highly recommended to back up your registry before making any changes.
Free Microsoft Office alternative

Avoid Legacy Authentication Issues with WPS Office

If you are frustrated by complex sign-in errors and legacy authentication issues in Microsoft Office, consider switching to WPS Office. It provides a lightweight, modern, and highly compatible alternative for all your productivity needs.

  1. 1. Download the Installer: Visit the official WPS Office website and click the free download button for your operating system.
  2. 2. Install WPS Office: Run the downloaded setup file and follow the straightforward on-screen instructions to install the suite.
  3. 3. Open Your Documents: Launch WPS Office and instantly open your existing Word, Excel, or PowerPoint files without compatibility issues.
Fully compatible with Microsoft Office formats including .docx, .xlsx, and .pptx.Modern and reliable cloud integration without legacy MFA sign-in errors.Lightweight design that runs smoothly on all devices and operating systems.Free to download with an intuitive, familiar user interface for immediate productivity.
microsoft office alternative - wps office

Frequently Asked Questions

Why does InfoPath say 'Your account is in a bad state'?

This error generally occurs when InfoPath connects to SharePoint or Office 365 requiring multifactor authentication (MFA), but the software is missing the necessary configuration to display the modern sign-in prompts correctly.

What is ADAL and why does InfoPath need it?

ADAL stands for Active Directory Authentication Library. It is required for older applications like InfoPath to bridge the gap and support modern authentication protocols, including MFA and secure single sign-on.

Will reinstalling Microsoft Office fix this authentication error?

Typically, reinstalling Office or InfoPath will not resolve this specific issue because it stems from registry configurations related to modern authentication protocols. Manually enabling ADAL in the registry is the most effective solution.

How can I check if my account is actually locked or restricted?

You can verify your account status by trying to sign in to the Microsoft 365 web portal or another Office desktop app like Excel. If you log in successfully, your account is not locked, meaning the error is strictly isolated to InfoPath's authentication capability.