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

Connect-MsolService
 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 knows about everything and a lot about something and usually writes about those somethings.