Fix Office 365 Mobile Sign-In Errors with AD FS and WAP
Question details
Resolve an Office 365 mobile app sign-in error in an environment using AD FS 2016 and Web Application Proxy.

- Product
- Office 365 mobile apps, AD FS 2016, and Web Application Proxy
- Device & OS
- not provided
- Scenario
- A user signs in to Office mobile apps through an Office 365 environment federated with AD FS 2016 and WAP.
- Observed behavior
- The mobile apps display “An error occurred during sign-in,” although Windows and ActiveSync authentication work.
Ask an AD FS administrator to review the current Alternate Login ID and Device Registration configuration and record the settings before changing them. Schedule a maintenance window because disabling these features and restarting servers can affect authentication and device access.
Test sign-in with Alternate Login ID and Device Registration disabled
Use this administrator-led workaround to check whether the two AD FS features are contributing to the mobile sign-in error.
This workaround resolved the reported issue, but it may not apply to every sign-in failure. Disabling Device Registration can affect registered devices and access policies.
On an AD FS server, open AD FS Management and review the Alternate Login ID claim descriptor and Device Registration settings. Record their current configuration so the administrator can restore it.
Use your organization’s documented AD FS 2016 administration procedure to temporarily disable the Alternate Login ID claim descriptor and Device Registration. Coordinate the change with affected users and access-policy owners.
Restart the AD FS and WAP servers during the maintenance window, then open an affected Office mobile app and try signing in again.
If sign-in succeeds, re-enable Alternate Login ID and test the mobile app again. Review the result before restoring Device Registration; the conflict may recur when both features are active.

Work with Office Documents in WPS Office
WPS Office is a free, lightweight alternative with a familiar interface for working with Office documents. Its format compatibility makes it easy to move existing files, but it does not fix Microsoft 365 or AD FS sign-in problems.

Frequently Asked Questions
Why do Office mobile apps fail to sign in when Windows authentication works?
Different clients can use different authentication flows. In the reported case, testing the Alternate Login ID claim descriptor and Device Registration settings in AD FS helped isolate the mobile sign-in problem.
Can I turn Alternate Login ID back on after testing?
Yes. After testing with both features disabled, re-enable Alternate Login ID and retry sign-in in the affected Office mobile app. The reported conflict may recur if both Alternate Login ID and Device Registration are active.
What can disabling Device Registration affect?
It can affect registered devices and access policies that depend on device registration. An AD FS administrator should review those dependencies before making the change.
What should I check if the workaround does not fix sign-in?
Review the AD FS event logs and record the names and versions of the affected mobile apps. Use those details to investigate the authentication failure further.




