Forum Discussion
Authenticating to O365 using Powershell and MFA
- Nov 10, 2016
To save everyone from having to read AnnaChu full post: there is now an Exchange Online Powershell module in preview available that supports MFA. I just tested it and it works (so far) as expected. Go to http://aka.ms/exopspreview to download the preview.
The PnP powershell cmdlets can be use with MFA to peform many actions in SPO, see https://github.com/OfficeDev/PnP-PowerShell and use the https://github.com/OfficeDev/PnP-PowerShell/blob/master/Documentation/ConnectSPOnline.md with the UseWebLogin option
- Nils van WoenselSep 26, 2016Copper Contributor
I agree that all PS connecting to O365 should support the ADAL library.
Waiting for this feature already more than 1 year.
- AnnaChuNov 07, 2016
Microsoft
Making sure you're aware of this thread here: https://techcommunity.microsoft.com/t5/Identity-Authentication/MFA-and-Powershell/m-p/23579/thread-id/116/highlight/true#M130
- Mike PlatvoetNov 10, 2016Steel Contributor
To save everyone from having to read AnnaChu full post: there is now an Exchange Online Powershell module in preview available that supports MFA. I just tested it and it works (so far) as expected. Go to http://aka.ms/exopspreview to download the preview.