Sign-in & Login Problems

Troubleshoot Office 365 AD FS Single Sign-On Problems

Muhammad TalhaMuhammad Talha Nov 25, 2026 868 views

Question details

Troubleshoot federated Office 365 sign-in problems involving AD FS user recognition, authentication prompts, or an SSL certificate name mismatch.

Troubleshoot Office 365 AD FS Single Sign-On Problems
Product
Microsoft Office 365 and Active Directory Federation Services (AD FS)
Device & OS
not provided
Scenario
A user attempts to sign in to Office 365 through an AD FS federated identity, including from an external network.
Observed behavior
Users may not be recognized, receive unexpected forms-based or Windows credential prompts, or encounter a certificate name mismatch.
Before you start

Identify the affected user's sign-in name and the AD FS service hostname. Have an AD FS or Microsoft 365 administrator available to check authentication settings, certificates, and external connectivity.

Solution 1Recommended

Document external sign-in behavior and test connectivity

Use external sign-in symptoms and connectivity results to narrow down where federated authentication is failing.

1
Reproduce the sign-in

From an external network, open the Microsoft 365 sign-in page and enter the affected user's work account. Record any error message and whether the browser shows an AD FS forms-based page or a Windows credentials prompt.

2
Run a connectivity test

Open the Microsoft Remote Connectivity Analyzer website and select the applicable Microsoft 365 single sign-on test. Follow its prompts and save the complete test results.

3
Share diagnostic details securely

In your existing support thread, describe the external sign-in behavior and offer the complete connectivity results and relevant screenshots through the support engineer's approved private channel. Remove passwords and other sensitive information before sharing.

Free Microsoft Office alternative

Work with Office files using WPS Office

WPS Office is a free, lightweight alternative with a familiar interface for working with Microsoft Office files. Its format compatibility makes it easier to move existing documents, spreadsheets, and presentations to WPS. It does not repair Microsoft 365 AD FS sign-in.

Edit documents, spreadsheets, and presentations in a familiar interface.Open and save Microsoft Office formats, including DOCX, XLSX, and PPTX.Use a free, lightweight alternative for working with Office files.Continue working with accessible local Office files while Microsoft 365 sign-in is investigated.
microsoft office alternative - wps office

Frequently Asked Questions

What should I record when Office 365 sign-in fails externally?

Record the sign-in name, the exact error, and whether the browser redirects to an AD FS forms-based page or displays a Windows credentials prompt. Capture relevant screenshots without exposing passwords.

How do I check whether the AD FS certificate matches the service name?

Open the certificate details for the AD FS HTTPS endpoint and compare its subject and subject alternative names with the AD FS service hostname. Also check the certificate's validity and trust chain.

Why am I seeing a Windows credentials prompt instead of an AD FS sign-in form?

The prompt may depend on the configured authentication methods and whether the request is treated as internal or external. An administrator can review extranet authentication policies in AD FS Management.

What connectivity information should I provide to support?

Run the applicable Microsoft 365 single sign-on test in Microsoft Remote Connectivity Analyzer and provide the complete results through the support engineer's approved private channel, along with the external sign-in symptoms.