Setup Azure Active Directory PowerShell To Manage Office 365

Spread the love




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.

  1. Windows 7
  2. Windows 8
  3. Windows 8.1
  4. Windows Server 2008 R2
  5. Windows Server 2012
  6. 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.

MSOL Sign-in

After completing the installation, reboot the system.



Complete

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.

Accept EULA

Click Install to start the installation.

Setup Azure Active Directory PowerShell To Manage Office 365

Click Finish to complete the installation.

finish

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.

connect msol

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.

list users

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.




The following two tabs change content below.
Bipin is a freelance Network and System Engineer with expertise on Cisco, Juniper, Microsoft, VMware, and other technologies. You can hire him on UpWork. Bipin enjoys writing articles and tutorials related to Network technologies. Some of his certifications are, MCSE:Messaging, JNCIP-SEC, JNCIS-ENT, and others.

Latest posts by Bipin (see all)

scroll to top