How to Connect to Office 365 using PowerShell script + using saved encrypted user credentials 5/5 (6)

In the current article, we will learn how to create a PowerShell script, which will help us to connect automatically to Office 365 (Windows Azure Active Directory) and Exchange Online, without the need of typing complicated PowerShell commands! The added bonus that I would like to add to this “automation” is – a method that…