Need alternate API for MSOnline (StrongAuthenticationRequirements) based per user MFA management

Janakar 1 Reputation point
2023-06-14T13:49:51.1033333+00:00

Need alternate API for MSOnline (StrongAuthenticationRequirements) based per user MFA management

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
13,603 questions
Windows Server PowerShell
Windows Server PowerShell
Windows Server: A family of Microsoft server operating systems that support enterprise-level management, data storage, applications, and communications.PowerShell: A family of Microsoft task automation and configuration management frameworks consisting of a command-line shell and associated scripting language.
5,628 questions
PowerShell
PowerShell
A family of Microsoft task automation and configuration management frameworks consisting of a command-line shell and associated scripting language.
2,948 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Vasil Michev 118.1K Reputation points MVP Moderator
    2023-06-14T15:47:29.56+00:00

    There is no direct replacement for that, as per-user MFA is eventually going away. To manage auth methods for users, including MFA methods, you can use the /authentication/methods endpoints: https://learn.microsoft.com/en-us/graph/api/resources/authenticationmethods-overview?view=graph-rest-beta

    To set a default MFA method, you can use the freshly released /authentication/signInPreferences endpoint: https://www.michev.info/blog/post/5662/configure-users-default-mfa-method-via-the-graph-api

    1 person found this answer 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.