Bypassing MFA requirements for Service Users

Arun Nair 200 Reputation points
2024-09-05T15:52:37.6833333+00:00

I have an Enterprise Application for Snowflake provisioning that takes users from outside our Active Directory and provisions them into the Snowflake account, using their email address as attribute on which the provisioning happens. This works well and we have users that are able to access Snowflake using their email addresses, signing in using SSO.

We now wanted to automate some testing and created a service user. Unfortunately, we are not able to create an MFA exclusion for this service user because there seems to be some limitations on users that are in the directory through a B2B record (onboarded from another Azure Directory to the directory with the Enterprise App, through an Access Package).

My question is how can we add service users with email addresses for automation testing that bypasses MFA requirements?

Microsoft Security | Microsoft Entra | Microsoft Entra ID
{count} votes

Accepted answer
  1. Akhilesh Vallamkonda 15,320 Reputation points Microsoft External Staff Moderator
    2024-09-10T03:01:51.0433333+00:00

    Hi @Arun Nair

    Thank you for reaching Microsoft Q&A.

    If you are using the Conditional Access Policy for MFA, create a group for the Service Users and exclude the group in Conditional Access Policy.
    Before excluding remove the user or group from the existing policy under the Include users.
    Once you have modified the policy, your service users will be able to bypass the MFA.

    If you don't have the Conditional Access Policy create a new Policy and include the users or group who are need the MFA and exclude the users or group who are not need the MFA.

    Reference: https://learn.microsoft.com/en-us/entra/identity/conditional-access/concept-conditional-access-users-groups

    Hope this helps. Do let us know if you any further queries by responding in the comments section.

    Thanks,

    Akhilesh.


    If this answers your query, do click Accept Answer and Yes for was this answer helpful. And, if you have any further query do let us know.


0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.