Senior Member

Following the closure of SFBO Connector on May 17, 2021, trying to adapt our web app to use the new Teams Remote PoweShell endpoint


Remote session has to be established outside of the Teams module, thus using `New-PSSession -ConnectionUri $TeamsURI` cmdlet.


However, after making all necessary changes (that I can think of) in the AAD app and Teams PowerShell endpoint URI - getting same rejection as when trying to connect to the deprecated SFBO endpoint:


New-PSSession : [] Processing data from remote server failed with the following error message: Skype for Business Online PowerShell connections are blocked. Please replace the Skype for Business Online PowerShell connector module with the Teams PowerShell Module


That's strange, considering that I'm not even using the SFBO/Teams Module and that the app scopes & endpoints have been adapted for Teams.


Any suggestions on how to overcome this? Thanks in advance.