Troubleshoot Office 365 AD FS Single Sign-On Problems
Question details
Troubleshoot federated Office 365 sign-in problems involving AD FS user recognition, authentication prompts, or an SSL certificate name mismatch.

- 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.
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.
Document external sign-in behavior and test connectivity
Use external sign-in symptoms and connectivity results to narrow down where federated authentication is failing.
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.
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.
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.
Check the AD FS hostname, HTTPS access, and SSL certificate
Use these checks when the browser or connectivity test reports a certificate or connection error.
Review the affected account and AD FS authentication policy
Use this approach when the account is not recognized or the external sign-in prompt is unexpected.
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.

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.




