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”

Setup an SMTP open relay between an onsite Windows Server and Office 365

Setup-an-Open-Relay-From-an-Onsite-Server-to-Office-365-15

Problem:
After migrating a client to Office 365 I needed a way of sending email from various applications and devices.  I wanted an open relay for email though an onsite Windows Server to Office 365.

Continue reading “Setup an SMTP open relay between an onsite Windows Server and Office 365”