Last Update: Sep 04, 2024 | Published: Feb 20, 2014
For those who need to manage large Office 365 or Windows Azure AD deployments, the Azure and Office 365 management portals don’t offer enough flexibility to manage user accounts in bulk or provide automation capabilities. PowerShell can help administrators overcome these limitations. In this Ask the Admin, I’ll show you how to install the Windows Azure AD cmdlets for PowerShell, which can also be used to manage Office 365.
The PowerShell cmdlets require that the Microsoft Online Services Sign-in assistant be installed on the same management machine, and be at least version 7.250.4551.0 or greater. The current Release to Web (RTW) version of the sign-in assistant is 7.250.4303.0, so you will need to install Microsoft Online Services Sign-In Assistant for IT Professionals BETA, which contains version 7.250.4551.0, before you will be able to authorize to Office 365 using PowerShell. If you are using a 64-bit version of Windows, download the 64-bit msi.
Now download the 32-bit or 64-bit version of the Windows Azure Active Directory Module for Windows PowerShell, as appropriate for you management device. Once downloaded, run the AdministrationConfig-EN msi file.
To connect to your Office 365 subscription, you need to enter your administrative credentials.
You should now be ready to go to run PowerShell cmdlets against your Office 365 subscription.