teams

sharepoint spfx app not working in teams clients

I had a customer with an issue when they started to introduce SharePoint Framework (SPFX) into their Teams environment. But only for the clients for Teams that were not the web client.

When the Teams client attempts to connect to the SharePoint environment, there is an error coming back from this URL:

https://xxxx.sharepoint.com/_api/Microsoft.SharePoint.Internal.ClientSideComponent.Token.AcquireOBOToken

The error is a HTTP 401, and the body has XML that looks like this:

{
"odata.error": {
"code": "-1, Microsoft.SharePoint.Client.ClientServiceException",
"message": {
"lang": "en-GB",
"value": "Exception of type 'Microsoft.SharePoint.Client.ClientServiceException' was thrown."
}
}
}

azure dr verses teams dr

A very good colleague of mine let me know about an issue that he had fixed. It was about direct routing in Teams.

The Teams environment couldn’t receive inbound calls using Teams DR via an SBC. Outbound calls were AOK.

They had configured an Azure DR at the same time BUT they had set the SBC FDQN the same as their own on-premises DRs.

Apparently, this cannot be.