简体   繁体   中英

Microsoft Teams app - link unfurling working on web but not desktop or mobile Teams apps

I have created an MS teams bot and app to unfurl public and private links pointing to our web site.

Links are unfurled correctly when using the Teams web app. However when using the Windows or Mac desktop apps, or the Android or iOS mobile apps, no link unfurling happens.

Having debugged the Mac desktop app I can see that no call is made to https://uk.ng.msg.teams.microsoft.com/v1/agents/28:<our-bot-id>/invoke to get the unfurled link data from our bot.

Is there additional configuration that is required for our bot and app to be triggered in Teams platforms other than web?

As per comments above, I think what's happening is that Teams is trying to "pre-validate" these links on the user's behalf, so to speak. In the browser context, where the user is authenticated, everything is fine, but in the desktop/mobile experience, the user is not authenticated to the backend systems, so the unfurling can't function.

I've not tried this myself, so can't provide much guidance, but it looks like there's a solution to writing your own "unfurler", so to speak. See here .

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM