Share via

How to edit from PowerShell admin.microsoft.com > Users > Active Users > Multi-factor authentication

Oleg Tserkovnyuk 671 Reputation points
2023-04-07T14:20:28.7733333+00:00

Multi-factor authentication has various settings which can be managed from admin.microsoft.com > Users > Active Users > Multi-factor authentication. I am looking for a way to manage them from PS. I am interested in changing settings for 'app passwords' and 'verification options'. Untitl11ed

Microsoft Security | Microsoft Entra | Microsoft Entra ID
0 comments No comments

Answer accepted by question author

Mario Schützle 4,181 Reputation points
2023-04-07T16:51:52.8366667+00:00

Hi Oleg Tserkovnyuk , if I understood you correctly, you want to change the settings for app passwords and verification options of MFA global via Powershell. Unfortunately, this is not possible at the moment, as there is no cmdlet or Graph API endpoint for this. However, it is possible to request/change the StrongAuthenticationType attribute on a per-user basis. The MSol-Online module provides this with the Get-MsolUser ... -StrongAuthenticationType. https://learn.microsoft.com/en-us/powershell/module/msonline/get-msoluser?view=azureadps-1.0 https://learn.microsoft.com/en-us/powershell/module/msonline/set-msoluser?view=azureadps-1.0 I think this is not what you want.

If the reply was helpful, please don’t forget to upvote or accept it as an answer, thank you.

Was this answer helpful?

1 person found this answer helpful.

0 additional answers

Sort by: Most helpful

Your answer

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