In this Tech Tip, we are going to address a question one of our customers asked recently: “Where do I download the Windows Azure AD PowerShell module and how do I connect it to Office 365/Exchange Online?”

Below are the resources and steps we walked through that provided our customer with the answers that you can also follow.

Reference to Available PowerShell Cmdlets in Exchange Online
http://help.outlook.com/en-us/140/dd575549.aspx

Instructions:

1) Before installing the Windows PowerShell Module you must install Microsoft Online Services Sign-In Assistant.

2) Download Windows Azure AD PowerShell module

3) Click Start > All Programs > Windows Azure Active Directory > Windows Azure Active Directory Module

4) Type in the following command, a Windows PowerShell Credential request will open opens, type in your Office 365 credentials.

$LiveCred = Get-Credential

5) Type in the following command:

$Session = New-PSSession -ConfigurationName Microsoft.Exchange -ConnectionUri https://ps.outlook.com/powershell/ -Credential $LiveCred -Authentication Basic –AllowRedirection

6) Type in the following command:

Import-PSSession $Session

If you have any problems with this issue or anything else, please contact us.

Was this article helpful?
YesNo