Connecting to Office 365 via Powershell for the first time? Here are the steps to get started:
- Install the Microsoft Online Services Sign-In Assistant for IT Professionals RTW
- Install the Azure Active Directory Module for Windows Powershell (64-bit version)
- Open Powershell and run this command the first time you connect on your computer:
Set-ExecutionPolicy RemoteSigned
- Next, run these three commands