I’m setting up a new laptop for Office 365 administration and development work, and in doing so I realised sometimes I forgot the basics to getting Office 365 Powershell commands available once again. As a reminder they are:
- Install the Microsoft Online Services Sign-in Assistant for IT Professionals
- Install the Azure Administration MSI from the Azure Active Directory Connection page
- Run the “Azure Active Directory Module for Microsoft Powershell” and test that it all works with a
Get-MsolUser
command after logging in to your Office 365 tenant with theConnect-MsolService
command
I purposely didn’t put any links here to the downloads, since its much more detailed and well written on the Microsoft TechNet article on Office 365 Powershell setup so I’d highly recommend reading that as your guide if you’re doing this for the first time.