Quantcast
Channel: The Official Scripting Guys Forum! forum
Viewing all articles
Browse latest Browse all 15028

I want to setup some settings in Teams office 365 but I get 404 error

$
0
0

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....


Viewing all articles
Browse latest Browse all 15028

Latest Images

Trending Articles



Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>