Good day!
I want to test a new policy that requires Multifactor authentication after login. Therefore, I created a new test user on Microsoft Entra ID.
After that, In Entra ID, I created a new policy by going to Security > Protect > Conditional Access > Create new policy. In the “Create new policy” menu, after setting the policy name, selecting the user, I looked for “Microsoft Azure Management” under Target Resource but could not find it. Therefore, I selected the resource “Azure ID Identity Governance” instead, and selected “Require Multifactor authentication” under Grant. However, after logging in with the test account, I wasn’t prompted to register the second factor of authentication. I repeated the test by selecting the resources “Azure Credential configuration endpoint service” and “Office 365” , and “Require multifactor authentication strength” inside Grant, but got the same results.
Then, under Microsoft Entra ID > Users, I found the option “Per-User MFA”, After clicking on “Per-user MFA”, selecting the correct user and clicking “Bulk update”, I was correctly prompted for Multifactor authentication after login.
therefore, I would like to ask the following:
- How can I configure multi factor authentication in the “Create new policy” menu? Especially, what shall I select under Target resource?
- How can I setup multifactor authentication using powershell?
Thanks for your support.