Error opening site in Sharepoint Designer "Your account is in a bad state"

Since last month, when I try to open any page in our internal Sharepoint site in Sharepoint Designer, I get a prompt to login and then get this error "your account is in a bad state". 

I used to be able to edit pages on this site with this same account for a year. Nothing has changed with respect to permissions.

I'm able to use the same account to access Sharepoint, Outlook, etc.

I've uninstalled and reinstalled Sharepoint Designer, but still no luck. 

Found this issue that seems similar, only I don't know what the resolution was: 

https://answers.microsoft.com/en-us/msoffice/forum/msoffice_account-mso_other/user-account-login-issue-your-account-is-in-a-bad/66b7650c-dec3-4071-8518-c86b5bdcdab1

Thanks!

Answer
Answer

Of late we have been experiencing the same issue while signing into SharePoint Designer with O365 account. Investigating into it reveals that Office 2013, the common part where SharePoint Designer 2013 is a member of, is not configured to use ADAL (Modern or MFA Authentication). 

While SharePoint Designer wasn’t initially designed to work with Modern Authentication (ADAL) there are updates available that allow it to work. For SharePoint Designer to attempt modern authentication the following requirements must be met –

 

  1. Most Office 2013 applications will be able to successfully use modern authentication once the EnableADAL=1 registry key has been set. This registry can be set by running below commands on command prompt of your machine.

 

reg add HKEY_CURRENT_USER\SOFTWARE\Microsoft\Office\15.0\Common\Identity /v EnableADAL /t REG_DWORD /d 1

 

reg add HKEY_CURRENT_USER\SOFTWARE\Microsoft\Office\15.0\Common\Identity /v Version /t REG_DWORD /d 1 

***(Version entry should already be present in the Registry)

 

 

  1. The following files must be at least these minimum versions:

ADAL.dll - 1.0.1933.710 or greater

MSO.dll - 15.0.4625.1000 or greater

CSI.dll - 15.0.4625.1000 or greater

 

By default, these DLL files will be in one of the following locations based on whether the 32-bit or 64-bit version of SharePoint Designer installed:

32-bit folder: C:\Program Files (x86)\Common Files\Microsoft Shared\OFFICE15\

64-bit folder: C:\Program Files\Common Files\Microsoft Shared\OFFICE15\

 

  1. Update your SharePoint Designer and above mentioned DLLs from patches given in the following table 

spd-x-none

SharePoint Designer 2013

August 2, 2016

3114721

mso-x-none

Office 2013

March 5, 2019

4462201

csi-x-none

Office 2013

July 11, 2017

3172545

ADAL.dll

Office 2013

June 14, 2016

KB3085565

 

  1. Also note that SharePoint Designer, and other Office applications, cache credentials in Windows Credential Manager. Close all Office 2013 applications, open Credential Manager (Control Panel -> User Accounts -> Manage Windows Credentials) and “Remove” all entries that begin with “MicrosoftOffice15” and “MicrosoftOffice16”.

 

  1. Restart your machine for Registry and Windows update to configure properly.

 

  1. After you changed the Registry keys, updated the patches and restart your machine, you will still get two screens but the second screen this time will take you to O365 Login page 

Caveat: You may think that everything is installed, registry keys are set and the login still does not work. There is no general easy instruction possible, because we need components from different technologies and these are being updated each month. In case you see lower build numbers than in the following screenshot, you may have something more to do.

Hope it helps!

Jitendra

40 people found this reply helpful

·

Was this reply helpful?

Sorry this didn't help.

Great! Thanks for your feedback.

How satisfied are you with this reply?

Thanks for your feedback, it helps us improve the site.

How satisfied are you with this reply?

Thanks for your feedback.

 
 

Question Info


Last updated September 18, 2024 Views 28,856 Applies to: