Sign-in & Login Problems

Fix Office 365 AD FS Authentication Prompts for Internal and External Users

Nimra MalikNimra Malik Nov 27, 2026 869 views

Question details

The user needs to correct Office 365 federation authentication so internal users can use single sign-on and external users receive the appropriate sign-in page.

Fix Office 365 AD FS Authentication Prompts for Internal and External Users
Product
Microsoft 365 and Active Directory Federation Services (AD FS)
Device & OS
not provided
Scenario
Internal and external users sign in to Office 365 through an AD FS deployment.
Observed behavior
External users receive a Windows Authentication prompt, while internal users experience single sign-on problems.
Before you start

Identify the AD FS version, the federation servers and proxies handling each connection, and the browsers affected. Check whether the issue occurs for all external users or only specific accounts or browsers.

Solution 1Recommended

Check AD FS authentication policies and proxy routing

Use this approach for AD FS deployments managed through authentication policies, rather than the legacy web.config method.

1
Review primary authentication

On an AD FS server, open AD FS Management and go to Authentication Policies. Edit the global primary authentication settings and review the methods enabled for the intranet and extranet.

2
Set methods for each network

Enable Windows authentication for intranet users who need integrated SSO, and enable forms authentication for extranet users who should receive a sign-in page. Disable extranet Windows authentication if it is not required by your organization's policy.

3
Check the external route

Trace an external sign-in through your published federation URL and confirm it reaches the AD FS proxy or Web Application Proxy rather than an internal federation server directly.

4
Test both sign-in paths

Sign in to the Microsoft 365 portal from an internal domain-connected browser and from an external browser. If prompts persist, check browser integrated-authentication settings, federation configuration, TLS certificates, and AD FS event logs.

Check AD FS authentication policies and proxy routing
Policy settings vary by version: The available authentication methods and console labels depend on the AD FS version. Enabling Windows authentication alone does not guarantee SSO; browser and network settings also matter.
Free Microsoft Office alternative

Work on Office documents with WPS Office

WPS Office is a free, lightweight Office alternative with a familiar interface and Microsoft Office format compatibility to help you move existing files into your workflow. It does not repair Microsoft 365 or AD FS sign-in settings.

Open and edit Word, Excel, and PowerPoint files, including DOCX, XLSX, and PPTX formatsUse familiar document, spreadsheet, and presentation toolsWork with local Office documents independently of the affected Microsoft 365 sign-in flowMove existing compatible files into a lightweight office suite
microsoft office alternative - wps office

Frequently Asked Questions

Why do external users see a Windows Authentication prompt?

The extranet may be configured to offer Windows authentication, or external traffic may be reaching the wrong federation endpoint. Review the extranet authentication policy and trace the federation URL through the proxy.

Why does internal single sign-on still ask for credentials?

Confirm that Windows authentication is enabled for the intranet in AD FS Management. Also check that the browser permits integrated authentication for the federation URL and that the user is on an appropriate domain-connected network.

Should I edit web.config on every AD FS deployment?

No. The localAuthenticationTypes ordering applies to legacy deployments that use that configuration section. Newer AD FS versions manage primary authentication through authentication policies.

What should I check if changing authentication methods does not help?

Test internal and external sign-ins separately, then inspect AD FS event logs, federation settings, TLS certificates, proxy routing, and the affected browsers' authentication settings.