Microsoft Azure active directory powershell module helps admins to carry many tasks

Installing Microsoft Azure Active Directory Module for Windows Powershell

What is Microsoft Azure Active Directory? It is a cloud-based directory, and identity management service that combines core directory services, application access management, and identity protection into a single solution.

Think of it as the your legacy on premise aad now in the cloud. Some of the high hinges of aad are that it is multi-tenant, geo-distributed and high availability by design. Below is only a portion of the massive azure active directory. These steps introduce powershell module into aad for the admins with the knack for powershell scripting and administration.

Install the Microsoft Azure Active Directory Module for Windows PowerShell with these steps:

Download and setup msoidcli_64.exe be mindful that the 32 bit version is supported. Support for the 32-bit version of the Microsoft Azure Active Directory Module for Windows PowerShell was discontinued in October of 2014.

| Install-Module MSOnline | from Powershell after setup of msoidcli_64.exe

Connect to Azure AD for Access to Office 365 Value Subscription

$UserCredential = Get-Credential
Connect-MsolService -Credential $UserCredential


To connect with MFA Multi Factor Authentication use

 Then use your assigned credentials to manage the portal. If you see no errors you are done with the connection and you can try to prove it further by issuing any powershell command toward the Exchange Online eg Get-MsolUser

Post Author: Funashi Mwamba

Funashi Mwamba is a Blogger and Founder at Lensesview. Other blogging activities include the profiled and Mainly the social media presence is @funashi on twitter and Am interested in Internet Security, Mobile gadgets and hobbies include photography and football. Online presence and achievements include been a mentor at Coursera and been a Utester

Invitation to Zambians. Do you have a contribution to make for your Zambian audience? Kindly leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.