Forum Discussion
Mike Platvoet
Aug 01, 2016Steel Contributor
Authenticating to O365 using Powershell and MFA
I am running into issues with autheticating to O365 on Powershell and in this case my account has been enabled with MFA. I already installed the preview from https://blogs.technet.microsoft.com/ente...
- 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.
Dean_Gross
Silver Contributor
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
Nilesh S
Jan 26, 2018Copper Contributor
Hi Dean,
can you explain how to use -UserWebLogin parameter correctly?
E.g.
i would like to replace it in
Connect-PnPOnline -Url https://contoso.sharepoint.com -Credentials (Get-Credential)
can you explain how to use -UserWebLogin parameter correctly?
E.g.
i would like to replace it in
Connect-PnPOnline -Url https://contoso.sharepoint.com -Credentials (Get-Credential)