Manage Skype for Business Online with Office 365 PowerShell

Summary: Use Office 365 PowerShell to manage Skype for Business Online policies, per-user policies, and meeting settings.

One of the primary tasks of any Skype for Business Online administrator is managing policies. Although you can accomplish some of these tasks in the Office 365 Admin center, other tasks are much quicker and easier in Office 365 PowerShell.

Before you start

Download and install the Skype for Business Online Connector module, and then restart your computer if prompted.

Connect using a Skype for Business Online administrator account name and password

  1. Open a Windows PowerShell command prompt and run the following commands:

    Import-Module SkypeOnlineConnector
    $userCredential = Get-Credential
    $sfbSession = New-CsOnlineSession -Credential $userCredential
    Import-PSSession $sfbSession
    
  2. In the Windows PowerShell Credential Request dialog box, type your Skype for Business Online administrator account name and password, and then click OK.

Connect using a Skype for Business Online administrator account with multifactor authentication

  1. Open a Windows PowerShell command prompt and run the following commands:

    Import-Module SkypeOnlineConnector
    $sfbSession = New-CsOnlineSession
    Import-PSSession $sfbSession
    
  2. When prompted by the New-CsOnlineSession command, enter your Skype for Business Online administrator account name.

  3. In the Sign in to your account dialog box, type your Skype for Business Online administrator password, and then click Sign in.

  4. Follow the instructions in the Sign in to your account dialog box to provide additional authentication information, such as a verification code, and then click Verify.

For more information, see the following topics:

See also

Manage Office 365 with Office 365 PowerShell

Getting started with Office 365 PowerShell