Fix Office 365 Sign-In Errors in SharePoint Designer
Question details
Resolve an invalid-credentials error in SharePoint Designer when valid Office 365 credentials do not open the expected SSO sign-in page.

- Product
- Microsoft SharePoint Designer and Office 365
- Device & OS
- Windows
- Scenario
- A user attempts to sign in to SharePoint Designer with an Office 365 account.
- Observed behavior
- SharePoint Designer reports invalid credentials instead of displaying the expected SSO sign-in page.
Confirm that the account can sign in to Microsoft 365 in a browser and check whether another Office application displays the expected sign-in page. Close SharePoint Designer before changing its identity settings.
Clear the SharePoint Designer federation cache registry values
Use this approach when SharePoint Designer does not display the expected Office 365 sign-in page.
This procedure removes two cached federation values from the current Windows user's Office 15.0 identity settings. Incorrect registry changes can cause problems, so export the key first and delete only the named values.
Press Windows+R, enter regedit, and select OK. Approve the permission prompt if it appears.
Navigate to HKEY_CURRENT_USER\Software\Microsoft\Office\15.0\Common\Identity. Select the Identity key, choose File > Export, and save a copy before making changes.
In the right pane, find FederationCacheExpiration and FederationProvider. Right-click each value that exists, select Delete, and confirm. Do not delete the Identity key or unrelated values.
Restart the computer, open SharePoint Designer, and try signing in to the SharePoint site again.

Compare sign-in behavior across users and devices
Use these checks to determine whether the error is specific to one account, computer, or application.
Check SharePoint Custom Script settings
Ask an administrator to verify Custom Script when the intended SharePoint Designer task depends on it.
Use WPS Office for Everyday Documents While Troubleshooting SharePoint Designer
WPS Office is a free, lightweight alternative for everyday document work, with a familiar interface and Microsoft Office format compatibility to make migration easier. It does not fix SharePoint Designer sign-in or replace its site-design features.

Frequently Asked Questions
Why does SharePoint Designer say my credentials are invalid?
The error can occur when the expected SSO sign-in page does not appear. Check whether the account works in a browser and another Office application, then investigate the cached federation values if appropriate.
Where are the federation cache values in the registry?
Open Registry Editor and navigate to HKEY_CURRENT_USER\Software\Microsoft\Office\15.0\Common\Identity. Look for FederationCacheExpiration and FederationProvider in the right pane.
Should I enable Custom Script to fix the sign-in error?
Not automatically. Custom Script affects site customization and is not a general SSO fix. Ask a SharePoint administrator to check whether the intended task requires it and whether a change is appropriate.
What should I do if clearing the registry values does not help?
Test another user and another computer, then share the results with your Microsoft 365 administrator. Send any requested network trace through an approved private channel because it may contain personal information.




