Share via

Create Multi-Factor Authentication Server users programmatically?

Andrew Brehm 61 Reputation points
2021-11-30T08:32:37.813+00:00

How can I create and modify users of the Multi-Factor Authentication Server programmatically, with PowerShell or otherwise?

Specifically, I would need to add groups (to grant specific privileges to groups of users) and add new users automatically.

I cannot find any obvious solution here. What am I missing?

Microsoft Security | Microsoft Entra | Microsoft Entra ID

Answer accepted by question author

Siva-kumar-selvaraj 15,741 Reputation points Volunteer Moderator
2021-11-30T19:52:16.257+00:00

Hello @Andrew Brehm ,

Thanks for reaching out.

PowerShell management is quite constrained in Multi-Factor Authentication Server (MFA on-premises server). Here are a few examples for your convenience.

Sample for querying users and initiating a callout.
https://blog.kloud.com.au/2016/08/16/connecting-to-and-using-the-azure-mfa-web-service-sdk-server-soap-api-with-powershell/

Sample for adding users:
https://blogs.technet.microsoft.com/cloudpfe/2018/04/26/managing-azure-mfa-server-with-powershell/

Hope this was helpful.

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

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.