Jul 31 2018 10:07 PM
hi,
My global administrators are having MFA enabled account. Is there any possibility to authenticate a user in MSOL using app password? or any other ways to connect-msolservice for MFA account.
Is there any possibilities to get the error as the account is MFA enabled while try to connect msol-service?.
Jul 31 2018 10:20 PM
Jul 31 2018 11:18 PM
App passwords are NOT supported, simply use Connect-MsolService without any parameter to trigger the ADAL dialog and complete the 2FA challenge as normal.
Jul 30 2019 05:13 AM
Jul 30 2019 11:42 AM
We have bypass/exclusions that we can use for that, and almost anything you can do with the MSOL module is already possible via the Graph anyway.
Jul 31 2019 05:21 AM
@Vasil Michev ahh yes, only recently started looking at Graph. To be honest, Graph is a bit of a sideways step or maybe slightly backwards compared to PowerShell cmdlets. I assume there is a strong case for using HTTP calls instead of cmdlets? It's almost as if cmdlets have fallen out of favour which is weird considering how much effort has gone into them. At least with Graph, permissions are under control.
Jul 31 2019 09:42 AM
REST is supposedly more robust, they are actually working on redoing all the other PowerShell modules in such manner (Azure AD PowerShell is already a "wrapper" for Graph calls). But yeah, the Graph sucks when it comes to searching/filtering data, and definitely lacks the "friendliness" of PowerShell. It's a tool for devs mostly...