Oct 04 2018
05:51 AM
- last edited on
Jan 14 2022
03:59 PM
by
TechCommunityAP
Oct 04 2018
05:51 AM
- last edited on
Jan 14 2022
03:59 PM
by
TechCommunityAP
Hi there,
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?
Thanks
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
@VasilMichev 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:18 AM
No idea, we haven't heard any updates about this lately 😕
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:
https://github.com/MicrosoftDocs/azure-docs/issues/10926
And here is a Uservoice you can vote on:
Apr 16 2019 01:24 PM
@NidalT I see in the April 2019 webinar that there is a section titled "Secure Your Identities with Azure Active Directory and Multi Factor Authentication". Maybe they will also address the Powershell module, though I'm not holding my breath.