Problem with deep links on Android Teams app

Vuk Bajic 0 Reputation points
2024-11-19T16:28:32.33+00:00

I am having issues with Teams deep links on Android. It seems to us that it is an issue with the Teams application.  

Additional information:

I want to start a chat with another person by using deep links. So I click on a link and it should open a chat with a chosen user. 

Links on Android are not working if the email address of the contacted user is from an external organization (different to my organization).

Links on Android are working if contacted user is from the same organization.

Links on Android are working if the contacted user is from an external organization, but a chat has previously been started.

Links on the iOS and Desktop versions are working, even if no chat has been started with that contacted user and the user is from an external organization.

I tried the following two methods to initialize the chats:

if (chat.isSupported()) {       const chatPromise = chat.openChat({         user: 'email@external-organisation.com'       });       chatPromise         .then((result) => {           /Successful operation/         })         .catch((error) => {           /Unsuccessful operation/         });     } else {       /* handle case where capability isn't supported */     }

or:

if (app.isInitialized()) app.openLink([https://teams.microsoft.com/l/chat/0/0?users=email@external-organisation.com);]("https://teams.microsoft.com/l/chat/0/0?users=email@external-organisation.com`);")

Both produce the following error message: "Couldn't load chat. Try again"

Am I missing something or it is a Microsoft Teams bug?
Where can I report the Microsoft Teams bug?

Microsoft Teams Development
Microsoft Teams Development
Microsoft Teams: A Microsoft customizable chat-based workspace.Development: The process of researching, productizing, and refining new or existing technologies.
3,403 questions
{count} votes

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.