MicrosoftDocs / msteams-docs

Source for the Microsoft Teams developer platform documentation.
https://aka.ms/teamsdev
Creative Commons Attribution 4.0 International
277 stars 500 forks source link

Deep link stopped to work on the latest iOS Teams app #10784

Open plamber opened 2 months ago

plamber commented 2 months ago

Steps to reproduce

We are extensively using the activity feeds with deep linking with the graph API (Deep links overview - Teams | Microsoft Learn). We are using this endpoint to create entries in the activity feed: Create or replace an activity - Microsoft Graph v1.0 | Microsoft Learn. We use the Graph SDK to send the activity feed items with deep links.

await GraphClient.Users[userId].Teamwork .SendActivityNotification(topic, notificationType, null, null, templateParameters) .Request() .PostAsync();

I can share an example of a topic that we pass as a webUrl in the activity feed. This is a deep link that is used to redirect the users to our app.

{"source":"Text","value":" ","webUrl":https://teams.microsoft.com/l/entity/55f70393-3d6b-447b-94cf-2cc74b7f360f/easylife365.groups?context=%7b%22subEntityId%22%3a%22eyJuYXZpZ2F0ZSI6Ii9ncm91cHMvZTg2ZGFhMTQtNzM0Zi00M2M4LTlkZGQtYjY3ZmZiOWY4ZDNhP3RlYW1zTWFuaWZlc3RJZD0xMDM5In0%3d%22%7d}

As you can see from the deep link URL we are targeting our app and then we pass the context with an URL encoded payload. The payload itself contains information that is base64 encoded. The problem that we are facing is that this deep link works with all devices and browsers except the latest iOS Teams app. The Teams app returns an exception that the link is not supported.

image

Since we are not able to reproduce this issue on any other device, we assume that this is related to the iOS Teams app.

Expected behavior

Deep links work for all devices

Actual behavior

Deep link works for all devices except the latest iOS app

Error details

image

Vaibhav-MSFT commented 2 months ago

Hello @plamber , Thanks for reporting your issue. We will test this and update you soon.

JustinJ9805 commented 2 months ago

having the same issue with the same error message- deeplink works on everything except ios client.

Vaibhav-MSFT commented 1 month ago

@JustinJ9805 , we are actively looking in the issue. Will let you know the updates soon.

plamber commented 1 month ago

Hi @Vaibhav-MSFT, do you have any updates on this issue?

I also received the report from users that the iOS with the latest preview build does not receive teams notifications anymore. Other clients do not have this problem. I am going to investigate this further and come back to you in case this confirms to be true.

image

Cheers, Patrick

Vaibhav-MSFT commented 1 month ago

Hi @plamber , Thanks for your inputs but we are not exactly able to repro the issue. But we are taking action on priority.

plamber commented 1 month ago

Would it help to have a session together?

Vaibhav-MSFT commented 1 month ago

Would surely love to connect but we can't connect through session due to policies. Rest assured we are taking this on priority and will update you in this thread.

plamber commented 1 month ago

Ok thanks. Let me know if you require additional information regarding the deep link issue.