Oct 04 2018
- last edited on
Jan 14 2022
I have written a lot of Powershell scripts to automate and report Office 365/Azure in the last couple of years.
Now I'm in the process of re-writing some of them to utilize the new AzureAD v2 module instead of the old MSOL module.
Whih, I think, will be deprecated soon?
One of the benefits of this will be that will will be able to enable MFA on ALL admin accounts.
The only thing that's holding me back is the fact that I can't figure out how to enable MFA with the new AzureAD module.
Our user provisioning script will enable MFA for all new users.
With the old MSOL cmdlets it is a piece of cake. But how to do it with AzureAD Module?
Oct 04 2018 11:32 AM
Not possible yet, but once they release the new MFA API, it should also be part of the Azure AD module.
Feb 19 2019 09:57 AM
@Vasil Michev Sorry to bother you, but is there any ETA on when this new API will be released?
Also, for reference there are many users including myself that would also like to be notified when this functionality becomes available: https://github.com/MicrosoftDocs/azure-docs/issues/10926
Feb 19 2019 10:26 AM
Apr 16 2019 12:43 PM
One year later and still no possibility to enable MFA with the new module.
MSOnline is depricated. I do want to move to the new module, but unfortunately not yet possible.
There is this case on Github which they closed:
And here is a Uservoice you can vote on:
Apr 16 2019 01:24 PM