[Fix] Modern authentication failed here, but youll still be able to sign in. Your status code is 4c7 - Microsoft Teams

Modern authentication failed here, but you'll still be able to sign in. 

Your status code is 4c7

If you receive the above message with code 4c7 in Teams application when trying to login via your companies AD FS (active directory) the most common reason could be that when AD FS was deployed the Forms Authentication was not enabled. This option is not enabled by default.


In order to fix this issue, the Forms Authentication option needs to be enabled using the AD FS MMC (Microsoft Management Console) snap-in on the computer that has the local copy of AD,

Steps to enable Forms Authentication:
  1. Under Navigation Pane look for Authentication Policies,
  2. Under Details Pane -> Actions -> Select Edit Global Primary Authentication,
  3. Under Intranet tab select Forms Authentication.
  4. Click on OK to apply changes.
Modern authentication failed here - Microsoft teams

Have Questions? Post them here!
Try Out Code2care Dev Tools:


Code2care is an initiative to publish and share varied knowledge in programming and technical areas gathered during day-to-day learnings and development activities.

Students and software developers can leverage this portal to find solutions to their various queries without re-inventing the wheel by referring to our easy to understand posts. Technical posts might include learnings, tutorials, trouble-shooting steps, video tutorials, code snippets, how-to, blogs, articles, etc.

πŸŽ‰ We are celebrating the 10th years of Code2care! Thank you for all your support!

We strongly support Gender Equality & Diversity.