Troubleshoot Office 365 Hybrid Federation and Azure AD Connect Sign-In
Question details
Determine how cloud-only users can authenticate in an Exchange hybrid deployment after a UPN domain is federated.

- Product
- Microsoft 365, Exchange Server 2013, Microsoft Entra Connect, and AD FS
- Device & OS
- not provided
- Scenario
- An Exchange 2013 hybrid deployment uses multiple UPN suffixes, directory synchronization, and AD FS. Some users exist only in the cloud.
- Observed behavior
- Cloud-only users cannot sign in after their domain is federated because they do not have corresponding on-premises directory identities for AD FS authentication.
Identify the affected users' UPN suffixes and check whether each domain is managed or federated in Microsoft Entra ID. Keep an emergency cloud-only administrator account on a managed domain available before changing authentication settings.
Align User Identities With the Federated Sign-In Design
Use this approach when affected users have a federated UPN suffix but no corresponding on-premises identity for AD FS.
A cloud-only account using a federated domain is redirected to the federation service, which normally authenticates an on-premises directory identity. Alternatively, a cloud-only user can use a verified managed-domain UPN, subject to your organization's sign-in design.
In the Microsoft Entra admin center, open Identity > Users > All users, select an affected account, and review its user principal name and synchronization status.
If the user should authenticate through AD FS, create or identify the appropriate on-premises AD account and plan to synchronize it. If the user should remain cloud-only, assign a suitable verified managed-domain UPN instead.
On the Microsoft Entra Connect server, open Microsoft Entra Connect > Configure and review the available user sign-in or federation options. Configure AD FS only if it matches the selected authentication design; an existing AD FS deployment alone does not require federation.
After any identity or configuration changes have synchronized, open a private browser window and sign in to Microsoft 365 with an affected user's current UPN. Check the AD FS and Microsoft Entra sign-in logs if authentication still fails.

Match Existing Cloud Accounts and Configure Hybrid Mailboxes
Use SMTP matching and remote mailbox configuration when existing cloud users need corresponding synchronized on-premises accounts.
Work on Office Files With WPS Office
WPS Office is a free, lightweight alternative for working with Office files through a familiar interface. Its format compatibility helps you move documents, spreadsheets, and presentations between suites. It does not fix Microsoft 365 federation or AD FS sign-in.

Frequently Asked Questions
Why can't a cloud-only user sign in with a federated UPN?
A federated UPN directs authentication to AD FS, which normally needs a corresponding on-premises directory identity. Synchronize an appropriate identity or use a suitable verified managed-domain UPN for the cloud-only account.
Do cloud-only users need on-premises Exchange mailboxes?
No. They can have Exchange Online mailboxes without on-premises mailboxes. If they become synchronized hybrid users, a remote mailbox recipient may be needed for on-premises Exchange management.
Does SMTP matching enable AD FS sign-in?
No. SMTP matching associates an eligible on-premises account with an existing cloud account during synchronization. AD FS sign-in still depends on the federation configuration and the user's on-premises identity.
Must I configure AD FS in Microsoft Entra Connect after federating a domain?
Not automatically. Open Microsoft Entra Connect > Configure to review the available sign-in and federation options, and use them only if they match your intended authentication design and how the federation was configured.




