Sign-in & Login Problems

Troubleshoot Federated User Sign-In to Office 365 with AD FS

Kushani NimanthikaKushani Nimanthika Nov 25, 2026 869 views

Question details

Identify why federated or synchronized users cannot sign in to Office 365 services.

Troubleshoot Federated User Sign-In to Office 365 with AD FS
Product
Microsoft 365 and Active Directory Federation Services (AD FS)
Device & OS
not provided
Scenario
Users whose identities are federated or synchronized from an on-premises directory need to access Office 365.
Observed behavior
Affected users cannot access Office 365, and AD FS events may indicate an internal service or LDAP attribute-store failure.
Before you start

Confirm whether affected accounts use AD FS for sign-in; synchronized accounts are not necessarily federated. Note the approximate failure time and check whether a cloud-only account can sign in, to help narrow the scope.

Solution 1Recommended

Investigate AD FS events and LDAP connectivity

Use this approach when federated users cannot sign in and AD FS may be unable to retrieve directory attributes.

1
Open the AD FS log

On an AD FS server, open Event Viewer and go to Applications and Services Logs > AD FS > Admin. Find events around the time of a failed sign-in.

2
Review related errors

Look for event IDs 364, 377, 111, and 1000, and inspect their details for MSIS3173, POLICY3808, POLICY3814, or LdapAttributeStoreSchemaManager messages. Record the full error and any related event details.

3
Check directory access

Review the AD FS attribute-store configuration and use the server's DNS and network diagnostic tools to check connectivity to the configured LDAP or Active Directory servers. Verify that the relevant service account has the required directory access.

4
Review service health and changes

Open Services on the AD FS server and check the Active Directory Federation Services service. Review recent configuration changes and updates that coincide with the failures.

5
Verify certificates

In the AD FS Management console, review the certificates under Service > Certificates and check their validity and configuration. Treat certificate issues as one possibility, not the assumed cause.

Investigate AD FS events and LDAP connectivity
Event IDs need context: An event ID alone does not establish the cause. Use the full error message and correlated events to determine whether the issue involves AD FS, LDAP, or another component.
Free Microsoft Office alternative

Work with Office Documents in WPS Office

WPS Office is a free, lightweight alternative with a familiar interface for working with Office documents and moving existing files. It does not repair AD FS or restore access to Microsoft 365 services.

Continue working with local documents while investigating a Microsoft 365 sign-in issueOpen and edit common Microsoft Office formats, including DOCX, XLSX, and PPTXUse a familiar interface that makes migration from Microsoft Office easierAccess free, lightweight tools for documents, spreadsheets, and presentations
microsoft office alternative - wps office

Frequently Asked Questions

Where can I find AD FS sign-in errors?

On an AD FS server, open Event Viewer and go to Applications and Services Logs > AD FS > Admin. Check events around the time the user attempted to sign in.

Do AD FS event IDs 364 or 377 mean a certificate has expired?

Not necessarily. Open the event details and inspect the full error message and related events. Verify certificates as part of the diagnosis, but also check AD FS configuration and directory connectivity.

Are all synchronized Microsoft 365 accounts federated?

No. Directory synchronization and federation are separate configurations. Confirm the affected domain's sign-in method before treating AD FS as the cause.

Will restarting AD FS permanently fix the sign-in problem?

A restart may temporarily restore access, but the issue can recur. After restarting the Active Directory Federation Services service in Services, review the AD FS Admin log and investigate any remaining errors.