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 : [api.interfaces.records.teams.microsoft.com] Processing data from remote server api.interfaces.records.teams.microsoft.com 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.