First install this: https://www.microsoft.com/en-us/download/details.aspx?id=39366
Than execute in PowerShell:
Set-ExecutionPolicy RemoteSigned
Import-Module "C:\Program Files\Common Files\Skype for Business Online\Modules\SkypeOnlineConnector\SkypeOnlineConnector.psd1"
$userCredential = Get-Credential
$sfbSession = New-CsOnlineSession -Credential $userCredential
Import-PSSession $sfbSession
Set-CsTeamsMeetingPolicy -Identity Global -AllowEngagementReport Enabled
But when I do that I get error: 404
PS C:\Windows\System32\WindowsPowerShell\v1.0> $sfbSession = New-CsOnlineSession -Credential $userCredential Get-CsOnlinePowerShellEndpoint : The remote server returned an error: (404) Not Found. At C:\Program Files\Common Files\Skype for Business Online\Modules\SkypeOnlineConnector\SkypeOnlineConnectorStartup.psm1:149 char:26 + ... targetUri = Get-CsOnlinePowerShellEndpoint -TargetDomain $adminDomain ... + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + CategoryInfo : NotSpecified: (:) [Get-CsOnlinePowerShellEndpoint], WebException + FullyQualifiedErrorId : System.Net.WebException,Microsoft.Rtc.Management.OnlineConnector.GetPowerShellEndpointCmdlet
Can anyone help me with this?I never left an open problem....I search, dig and ask, until it's solved....