Troubleshoot AD FS Sign-In Errors for Internal and External Users
Question details
Identify the cause of AD FS single sign-on errors affecting 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.
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.
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.
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.
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.
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.
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.
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.

Check AD FS proxy trust and certificates for Event 276
Use this check when Event 276 or external-only failures indicate that the proxy may be unable to authenticate to the federation service.
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.

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.




