Office 365 uses Azure Active Directory. For various administrative tasks such as user management, domain management you can use Windows Azure Active Directory PowerShell module. So in this post, I will show steps to setup Azure Active Directory PowerShell to Manage Office 365.
Setup Azure Active Directory PowerShell To Manage Office 365
You can install Windows Azure Active Directory PowerShell module in following operating systems.
- Windows 7
- Windows 8
- Windows 8.1
- Windows Server 2008 R2
- Windows Server 2012
- Windows Server 2012 R2
I will setup the PowerShell module in Windows 8.1. So first, download and install Microsoft Online Services Sign-In Assistant for IT Professionals.
After completing the installation, reboot the system.
Now, download and install the Azure Active Directory Module for Windows PowerShell (64-bit version). Click Run to run the installer package. Click Next on Welcome screen. Accept the license agreement and click Next.
Click Install to start the installation.
Click Finish to complete the installation.
Open Windows Azure Active Directory Module for Windows PowerShell application from desktop or start menu. Now, to connect to Azure Active directory, type Connect-MsolService. Enter username and password of Office 365 Global Administrator or Windows Azure administrator. Click OK.
You are now connected to Azure Active Directory via PowerShell module. To view the list of Azure AD users type, Get-MsolUser to list existing users. The list also shows whether the user is licensed or not.
In this way you can connect to Windows Azure Active Directory. Now you can run various cmdlets to manage Office 365 or Windows Azure active directory.
You may also like -
Latest posts by Bipin (see all)
- How to Disable Windows Update using Group Policy - June 27, 2019
- Turn Off Auto Mapping Feature in Exchange 2010 Mailbox - January 9, 2018
- Backup Exchange Mailboxes to PST with Iperius Backup - April 1, 2017