Install the downloaded SkypeOnlinePowershell.exe. By default, the modules download to this folder: C:\Program Files\Common Files\Skype for Business Online\Modules
Copy the LyncOnlineConnector and the SkypeOnlineConnector folders from there to this folder: C:\Windows\System32\WindowsPowerShell\v1.0\Modules
To configure Skype for Business Online for Modern Authentication
Run Windows PowerShell as an administrator.
Run the following cmdlet to enable execution of scripts on the machine:
Set-ExecutionPolicy RemoteSigned
Navigate to the C:\Windows\System32\WindowsPowerShell\v1.0\Modules folder and run the following cmdlet:
Get-Module -ListAvailable
Verify that SkypeOnlineConnector is in the returned list.
Run the following cmdlet to create a credential object:
$credential = Get-Credential
In the Enter Credentials window that appears, type the username and password for an Office 365 global administrator and click OK.
Once you have connected, run the following command to import the Skype Online connector:
Import-Module SkypeOnlineConnector
Run the following cmdlet to create a remote PowerShell session: