Announcement: Need a free practice exam or an interactive mocks material for a Microsoft certification? Click here to use the MS Forms I've created previously.
April 27, 2021 | by iaur | posted as Connect to M365 Services, PowerShell
Getting information about the SfBOL forest of the service
2. Run the cmdlet below
##########################################################
Get-CsTenant | ft Identity
##########################################################
Take note of the 2 (sometimes 3) character value of DC=lyncXX001
1. Download this local SfBol PowerShell module (since it is no longer available in MSFT’s hosting)
3. Run below cmdlet one line at a time
##########################################################
$AdminUserName = "YOUR_ADMIN_HERE"
$URI = "https://adminXXX.online.lync.com/OcsPowerShellLiveId"
#Note: $URI value of XXX is the value noted in Steps 2.
Import-Module -Name MicrosoftTeams
Import-Module "%TYPE_HERE_THE_DIRECTORY_OF_SkypeOnlineConnector%\SkypeOnlineConnector.psd1"
#"C:\Users\John\Desktop\SkypeOnlineConnector\SkypeOnlineConnector.psd1"
$sfbSession = New-CsOnlineSession -UserName $AdminUserName -OverridePowerShellUri "$URI" -Verbose
Import-PSSession $sfbSession -AllowClobber
Enable-CsOnlineSessionForReconnection
##########################################################