Note: This article only applies to environments running Active Directory Federation Services (AD FS) as their identification provider.

Symptoms

You can't sign in to Microsoft Teams when you connect from a corporate network where AD FS is installed. Additionally, you receive the following authentication error message:

Modern authentication failed here, but you'll still be able to sign in. Your status code is 4c7. 

 

Cause

This error occurs because Microsoft Teams requires Forms Authentication. When you deploy AD FS, Forms Authentication isn't enabled for the intranet by default.

Resolution

If Windows Integrated Authentication fails, you're prompted to sign in by using Forms Authentication.

To resolve this issue, enable Forms Authentication by using the AD FS Microsoft Management Console (MMC) snap-in on the computer that has the local copy of Active Directory. Here's how to do this:  

  1. In the navigation pane, browse to Authentication Policies.

  2. Under Actions in the details pane, select Edit Global Primary Authentication.

  3. On the Intranet tab, select Forms Authentication.

  4. Select OK (or Apply).

More information

Here's how to Configure Authentication Policies.

Still need help? Go to Microsoft Community.

Need more help?

Expand your skills
Explore Training
Get new features first
Join Microsoft Insiders

Was this information helpful?

What affected your experience?

Thank you for your feedback!

×