Problem with deep links on Android Teams app
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?