SOLVED

Connect PowerShell with O365 on Windows 10 Machine

Copper Contributor

Hello,

 

Trying to connect PowerShell with O365 on my "Windows 10 Enterprise 64-bit version 1803" Machine using below given article but it's throwing attached error, could anyone assist me on this.

your assistance is highly appreciated.

 

https://docs.microsoft.com/en-us/powershell/exchange/exchange-online/connect-to-exchange-online-powe...

 

3 Replies
Hmmm, you shouldn't need all that if you download the Exchange Online Powershell module from the Exchange admin center. Think it's under tools or something but it's near bottom of list. Once you install, load that up then all you need to do is type in connect-exopssession and hit enter, the rest is easy, asks for login, then your connected to your tenant.
best response confirmed by Suhail_Idrisi (Copper Contributor)
Solution

If your account is protected by MFA, you need to follow the steps here instead: https://docs.microsoft.com/en-us/powershell/exchange/exchange-online/connect-to-exchange-online-powe...

Yeah, what ^ he said, but it's basically what I was saying just drawn out :).
1 best response

Accepted Solutions
best response confirmed by Suhail_Idrisi (Copper Contributor)