Attempting to execute New-CsOnlineSession returns: “The remote server returned an error: (502) Bad Gateway.”
Problem Attempting to use New-CsOnlineSession to create a persistent connection to Microsoft Skype for Business Online for Microsoft Teams management fails with the following error: PS C:WINDOWSsystem32> $Session = New-CsOnlineSession -UserName tluk@contoso.com Get-CsOnlinePowerShellEndpoint : The