• Download our FREE True Price of Office 365 Whitepaper
  • Give us a call: 877-788-1617

    Stay in the know with the MessageOps newsletter:

    Office 365 Tech Tip: Connecting Windows Azure AD PowerShell to Office 365 / Exchange Online

    In this week’s Tech Tip, we are going to address a question one of our customers asked Tech Tip of the Weekrecently:

    “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.
    Download Link: http://go.microsoft.com/fwlink/?LinkId=286152

    2) Download Windows Azure AD PowerShell module
    Download Link: http://technet.microsoft.com/en-us/library/jj151815.aspx

    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.
    Command: $LiveCred = Get-Credential

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

    6) Type in the following command:
    Command:
     Import-PSSession $Session

    There you go.  Resources to download Windows Azure AD PowerShell module and steps on how to connect it to Office 365 / Exchange Online.  If you have any problems with this issue or anything else, please let us know.  Have a great week!

    Ready to get started? Contact us today to learn more.

    CONTACT US