Fix SharePoint Designer Office 365 Federated Sign-In Error
Question details
The user needs to open an Office 365 SharePoint site in SharePoint Designer and resolve a federated sign-in error when connecting to SharePoint Online.

- Product
- SharePoint Designer and SharePoint Online Management Shell
- Device & OS
- not provided
- Scenario
- Signing in to a federated Microsoft 365 account to access a SharePoint Online site and connect to the SharePoint Online service.
- Observed behavior
- SharePoint Designer cannot open the site, and Connect-SPOService reports that the Identity Client Runtime Library cannot find realm information for the federated sign-in.
Identify the affected work or school account, the SharePoint site URL, and your tenant's SharePoint admin URL. Check whether the same account can sign in to the site in a browser.
Verify the account and reconnect to SharePoint Online
Use this first to rule out an incorrect account, tenant URL, or connection command.
Open the SharePoint site URL in a browser and sign in with the affected work or school account. If sign-in fails there too, ask your Microsoft 365 administrator to check the account and federated sign-in.
Open SharePoint Online Management Shell and run Connect-SPOService -Url https://yourtenant-admin.sharepoint.com, replacing yourtenant with your tenant name. Complete the sign-in prompt with an account authorized to administer SharePoint Online.
In SharePoint Designer, open File > Account and sign in with the work or school account that has permission to access the site. Use a SharePoint Administrator or Global Administrator account if you need to perform administrative tasks.
In SharePoint Designer, select Open Site and enter the SharePoint site URL, rather than the tenant admin URL. Try opening the site again.

Check federated sign-in and SharePoint Designer access
Use these checks if the correct account and URLs still produce a realm or access error.
Work on Office files with WPS Office
WPS Office is a free, lightweight alternative with a familiar interface for working on Office documents. Open compatible files to migrate your document work with less disruption; WPS Office does not fix SharePoint federated sign-in or replace SharePoint Designer.

Frequently Asked Questions
Which URL should I use with Connect-SPOService?
Use the tenant's SharePoint admin URL, such as https://yourtenant-admin.sharepoint.com, with Connect-SPOService -Url. Use the site's own URL when opening it in SharePoint Designer.
Do I need to be a Global Administrator to open a SharePoint site?
Not normally. Your account needs appropriate permission for the site. Administrative connections and tasks may require a SharePoint Administrator or another authorized administrator role.
What does the missing realm information error indicate?
It indicates that the sign-in process could not find the information it needs for the federated account's domain. Verify the account and ask your identity administrator to check the domain and identity provider configuration.
What if I can open the site in a browser but not in SharePoint Designer?
Check the signed-in account under File > Account in SharePoint Designer, then ask an administrator to verify that SharePoint Designer access is allowed for the tenant and site.




