Connect to Office 365 via PowerShell

I have posted on this before but Microsoft has updated the method so I’ll update on here too.  To connect your Office 365 instance to PowerShell the process is outlined here. When trying this you may get the error ‘The specified module ‘MSOnline’ was not loaded because no valid module file was found in any module directory.’ The below steps show you how to overcome this.  Using the below commands you will also be able to connect to Exchange Online using PowerShell.

Continue reading “Connect to Office 365 via PowerShell”