1. Connect to Skype for Business Online using remote PowerShell as shown below

    1. If you have not installed Skype for Business PowerShell Module, click the link to install it on your PC.
    2. Open Windows PowerShell as an administrator (use Run as administrator) on any machine which has Internet connection.

    3. Run the command below, and enter your Office 365 admin account credentials.

      $credential = Get-Credential

    4. Run the script below to import the Skype for Business PowerShell Module:

      Import-Module SkypeOnlineConnector


    5. Run the command below to create a new session

      $session = New-CsOnlineSession -Credential $credential -Verbose


    6. Finally, import the new session into the Windows PowerShell console. 

      Import-PSSession $session

  2. Run the following command to enable modern authentication:
    Set-CsOAuthConfiguration -ClientAdalAuthOverride Allowed

  3. Verify that the change was successful by running the following:
    Get-CsOAuthConfiguration


    Note: to disable modern authentication, run command: Set-CsOAuthConfiguration -ClientAdalAuthOverride NoOverride

  • No labels