Skip to main content

Test 87 fails for Azure Repos even though Security Defaults is enabled

Why Test 87 (MFA on Version Control System) can fail for Azure DevOps Repos when MFA is enforced with Security Defaults, and how to fix it.

Use this article if Test 87 (MFA on Version Control System) fails for your Azure DevOps Repos users, but you've already turned on Security Defaults (or Conditional Access) in Microsoft Entra.

Check which test is failing

Azure Repos is a version control connection, so a failing Azure Repos MFA check is Test 87 even if your organization also uses Azure for infrastructure.

Why this happens

Azure DevOps doesn't report MFA status itself. For an Azure Repos connection that uses the Microsoft Entra connection type, Drata reads MFA status through a Microsoft 365 connection, together with your Security Defaults or Conditional Access policies.

If your organization doesn't have a Microsoft 365 connection, for example because you use Google Workspace as your identity provider, Drata can't read MFA for your Azure Repos users. It marks them as not having MFA, so the test fails even though Security Defaults is on.

How to fix it

Choose one of these options:

  1. Add a Microsoft 365 connection. Both of the following must be true for Test 87 to pass for Azure Repos:

    • Microsoft 365 is your connected identity provider (IdP). See the Microsoft 365 Integration Guide.

    • You enforce MFA in Microsoft 365 through Conditional Access policies or Security Defaults.

    Drata picks up changes at the next nightly user sync and reruns the test.

  2. Exclude Test 87. If you can't add a Microsoft 365 connection, you can exclude the test. Keep supporting evidence that MFA is enforced for your Azure Repos users, and confirm with your auditor that they accept this approach.

If it still fails

Contact Drata Support and include:

  • The name of the failing test and a screenshot of its findings

  • Which connections you have (Azure Repos, Microsoft Entra, Microsoft 365, or another IdP)

  • How MFA is enforced in Microsoft Entra (Security Defaults or Conditional Access)

Related articles

Did this answer your question?