Additional MFA for PIM enablement

Karthick G 101 Reputation points
2022-06-03T03:14:07.877+00:00

Hi,

Azure AD MFA is configured with Okta, So MFA authentication happens when user try to login to Azure portal and we wanted MFA to pop up again when users are activating high privilege PIM in existing browser session is that possible ?

Microsoft Security | Microsoft Entra | Microsoft Entra ID
Microsoft Security | Microsoft Entra | Other
0 comments No comments
{count} votes

Accepted answer
  1. AmanpreetSingh-MSFT 56,871 Reputation points Moderator
    2022-06-03T10:14:43.717+00:00

    Hi @Karthick G • Thank you for reaching out.

    Azure AD PIM can be configured to trigger MFA on activation of a role only when the user has not already done MFA during the same session.

    If the user has already performed MFA during the initial sign-in to the Azure Portal, this information is stored in the ESTSAuth cookies. When the user accesses the PIM service to activate the role, an access token is silently acquired using these cookies. The access token is then passed as the bearer token along with your call to api.azrbac.mspim.azure.com, as highlighted below:

    208201-image.png

    When you decode the token, you will see that the amr claim contains the information about the authentication methods user has already performed which will contain MFA as well.

    208145-image.png

    That way PIM identifies that the user has already done MFA and shouldn't be prompted for MFA again. If the user has not done MFA in the first place, amr claim won't include MFA and the user would need to perform MFA to activate the role, provided you have configured the below setting for the privileged role such as Global Admin as shown below:

    208211-image.png

    -----------------------------------------------------------------------------------------------------------

    Please "Accept the answer" if the information helped you. This will help us and others in the community as well.

    2 people found this answer helpful.

1 additional answer

Sort by: Most helpful
  1. Muhammad Amir Nadeem 5 Reputation points
    2024-02-16T06:09:53.6166667+00:00

    In addition to role settings details. You can create CA policy with Authentication context and push notification and also changed the session frequency to every time and apply to users.

    1 person found this answer helpful.
    0 comments No comments

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.