How can I disable MFA for a user in Entra?

0
0
Asked By TechieGuru99 On

I'm trying to authenticate a user using the ROPC flow via a REST API, aiming for full automation without any user interaction. However, even though I've disabled MFA for the user, Azure still prompts for it. Is there a policy that's enforcing MFA regardless of the user's settings? If so, what steps can I take to turn it off?

1 Answer

Answered By AzureNerd42 On

It sounds like you’re hitting a Conditional Access policy. Even if you turn off MFA for a specific user, Conditional Access policies such as 'require MFA for all users' or security defaults can still enforce it. Check under Entra ID -> Security -> Conditional Access to see if there are any active policies affecting that user or their group. Also, make sure that security defaults are disabled since those apply MFA globally. Just a heads-up, using ROPC can be tricky with MFA configurations; many folks end up choosing different flows for automation.

CodeMaster77 -

I ended up turning off the security defaults, but I'm curious about the other flows people are using for authentication. I’ve tried everything to automate PAT rotation through REST APIs, and ROPC seems like the only approach that works since code auth requires user interaction.

Related Questions

LEAVE A REPLY

Please enter your comment!
Please enter your name here

This site uses Akismet to reduce spam. Learn how your comment data is processed.