When setting up your new Microsoft Online Services account to your Outlook, you might run into trouble receiving emails coming in but your outgoing emails are sending correctly. For example, you tried using your gmail account to send an email to your Microsoft Exchange email using the Office 365 platform and you get the error: “550 5.4.1 Relay Access Denied”. For this, you might need to do some configurations on your Office 365 account. This requires you to run your PowerShell command prompt. Here are the instructions based on Chris's Blog: