Sign-in & Login Problems

Troubleshoot AD FS Sign-In Errors for Internal and External Users

Algirdas JasaitisAlgirdas Jasaitis Nov 27, 2026 868 views

Question details

Identify the cause of AD FS single sign-on errors affecting internal and external users.

Troubleshoot AD FS Sign-In Errors for Internal and External Users
Product
Active Directory Federation Services (AD FS)
Device & OS
not provided
Scenario
Single sign-on stops working after changes to a relying party trust or federated domain.
Observed behavior
Internal and external users cannot sign in, and AD FS Admin events 364, 342, and 276 may appear.
Before you start

Identify an affected account, application, sign-in time, and whether the attempt was made inside or outside the network. Gather access to the AD FS Admin log, the sign-in page error details, and the federation and proxy servers.

Solution 1Recommended

Compare sign-in errors and AD FS event details

Use the full error messages and network path to narrow down the authentication failure before changing the federation configuration.

1
Capture the sign-in error

Retry sign-in to the affected application and open the sign-in page's Error details link, if available. Record the timestamp, error text, and any activity or correlation ID.

2
Review AD FS Admin events

On the federation server, open Event Viewer > Applications and Services Logs > AD FS > Admin. Find events 364, 342, and 276 near the sign-in time and inspect their General and Details tabs.

3
Test both network paths

From the internal network, sign in to the affected application directly through the federation service. Repeat the same test from an external network, where the request should pass through the AD FS proxy.

4
Check recent federation changes

In AD FS Management, review Relying Party Trusts for the affected application and compare recent changes with its documented settings. If a federated domain was changed, review its federation settings in the relevant Microsoft Entra administration tools.

5
Run an SSO test

Open Microsoft Remote Connectivity Analyzer and use an applicable Microsoft 365 single sign-on test. Compare its results with the event and sign-in error details.

Compare sign-in errors and AD FS event details
Avoid rebuilding too early: Do not rebuild AD FS or convert the domain to managed authentication solely on the basis of an event ID. Review the complete errors and test results first.
Free Microsoft Office alternative

Work with Office files in WPS Office

WPS Office is a free, lightweight Office alternative with a familiar interface and support for common Microsoft Office formats, making it easier to move existing documents. It does not repair AD FS or replace your organization's sign-in service.

Open and edit Word, Excel, and PowerPoint files in compatible formatsWork with documents, spreadsheets, and presentations in one familiar interfaceMove existing Office files into a lightweight productivity suiteContinue working with local files while AD FS sign-in issues are investigated
microsoft office alternative - wps office

Frequently Asked Questions

What do AD FS events 364, 342, and 276 tell me?

These events can provide clues about authentication or proxy problems, but the event ID alone is not enough to identify the cause. Open Event Viewer > Applications and Services Logs > AD FS > Admin and read the complete event details.

Why should I test sign-in from both inside and outside the network?

Internal users typically reach the federation server directly, while external users go through the AD FS proxy. Comparing the results helps isolate a proxy-path issue from a problem that affects both paths.

What should I check if Event 276 appears?

Read the complete Event 276 message, then inspect Web Application Proxy connectivity, proxy trust, and the relevant certificates. Retest external sign-in after correcting the issue.

Should I convert the federated domain to managed authentication?

Not as an initial troubleshooting step. First review the sign-in error details, AD FS Admin events, and an applicable SSO test; a domain conversion changes the authentication configuration and requires separate planning.