Connect to Office 365 PowerShell

Install the 64-bit version of the Microsoft Online Services Sign-in Assistant: Microsoft Online Services Sign-in Assistant for IT Professionals RTW.

Install the 64-bit version of the Microsoft Azure Active Directory Module for Windows PowerShell with these steps:

  • Open the Azure Active Directory Connection web page.
  • In Files in Download at the bottom of the page, click Download for the AdministrationConfig-V1.1.166.0-GA.msi file, and then install it.
  • Open the Windows Azure Active Directory Module

Start menu   From the desktop, click Start, and then type Azure.

In the Microsoft Azure Active Directory Module for Windows PowerShell command window, run the following commands.

$UserCredential = Get-Credential

Connect-MsolService -Credential $UserCredential

Related

Leave a Reply

Your email address will not be published. Required fields are marked *