Skip navigation
PowerShell Azure AD Management

PowerShell Azure AD Management

Q. How can I manage Azure AD using PowerShell?

A. There are two components required to manage Azure AD using PowerShell. First, you need to download and install the Microsoft Online Services Sign-In Assistant for IT Professionals RTW. It can be obtained from http://www.microsoft.com/en-us/download/details.aspx?id=41950. Next download and install the Azure AD Module from http://go.microsoft.com/fwlink/p/?linkid=236297. Once both are installed you can use the new module:

Import-Module MSOnline

You then need to connect to an Office 365 account:

Connect-MsolService

Then use the various cmdlets available. These can be viewed using:

Get-Command -Module MSOnline

 

Hide comments

Comments

  • Allowed HTML tags: <em> <strong> <blockquote> <br> <p>

Plain text

  • No HTML tags allowed.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Lines and paragraphs break automatically.
Publish