Skip Navigation

Set up 
Windows PowerShell

Each 
Microsoft Office 365
 tenant can support multiple email domains.  You must update an existing 
Microsoft Office 365
 domain if you configure the email domain to use 
BlackBerry Enterprise Identity
 as the identity provider.  Complete these steps to configure a 
Microsoft Office 365
 domain. All 
Microsoft Office 365
 commands are performed in 
Windows PowerShell
.
Install 
Windows
 Management Framework 3.0. This includes 
Windows PowerShell
. See details.aspx?id=34595 for details.
  1. Download and install the 
    Azure
    Active Directory
     module. For information, see azureactivedirectory?redirectedfrom=msdn#bkmk_installmodule.
  2. If you use 
    Skype for Business Online
    , install the 
    Windows PowerShell
     module for 
    Skype
     from ?LinkId=532439.
  3. Restart 
    Windows PowerShell
    .
  4. Setup and authenticate the following modules using your 
    Microsoft Office 365
     administrator credentials:
    You must complete authentication each time you open a new 
    Windows PowerShell
     session.
    1. Type 
      import-module MSOnline
      . Press 
      Enter
    2. Type 
      $cred=Get-Credential
      . Press 
      Enter
    3. Type 
      Connect-MsolService -Credential $cred
      . Press 
      Enter