Having issues with Teams deep links on Android

Vuk Bajic 0 Reputation points
2024-11-19T16:19:35.8966667+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 when I click on a link, it should open a chat with a chosen user.

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

Links on Android are working between users of the same organization.

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

Links on the iOS and Desktop versions are working, even if no chat has been started with the chosen user and he is on 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:

User's image

Am I doing something wrong or is it a Microsoft Teams bug?
Where can I report that bug?

Microsoft Teams
Microsoft Teams
A Microsoft customizable chat-based workspace.
10,463 questions
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,401 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.