Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The bot embed code link breaks Teams #11436

Open
MoChilia opened this issue Aug 7, 2024 · 9 comments
Open

The bot embed code link breaks Teams #11436

MoChilia opened this issue Aug 7, 2024 · 9 comments
Assignees
Labels
needs-attention needs-triage 🔍 teams-developer-support Question related to extensibility (Bot, ME, Tab) would be marked under this label

Comments

@MoChilia
Copy link

MoChilia commented Aug 7, 2024

Steps to reproduce

  1. Open the link: https://teams.microsoft.com/l/chat/0/0?users=28:b8a22302e-9303-4e54-b348-343232
  2. New users who open this link to chat with the bot will experience Teams freezing.

The embed code for MS Teams should be found in Azure bot service.
image
For security concern, here I use the bot id you posted in the document, see https://learn.microsoft.com/en-us/azure/bot-service/channel-connect-teams?view=azure-bot-service-4.0#configure-your-bot-in-azure.
image

Expected behavior

The link https://teams.microsoft.com/l/chat/0/0?users=28:[my_bot_id] should work fine.

Actual behavior

I previously used the deep link https://teams.microsoft.com/l/chat/0/0?users=28:[my_bot_id] given by Azure Bot Service to chat with my Teams bot. However, new users are currently unable to chat with the bot using this link. When they attempt to open it, Teams freezes and requires a restart. How to solve this issue? Any help will be appreciated!

Error details

No response

@Prasad-MSFT Prasad-MSFT self-assigned this Aug 7, 2024
@Prasad-MSFT Prasad-MSFT added teams-developer-support Question related to extensibility (Bot, ME, Tab) would be marked under this label and removed needs-triage 🔍 labels Aug 7, 2024
@Prasad-MSFT
Copy link
Collaborator

Hi @MoChilia, we tried to repro this issue in New Teams both in MS Teams web and desktop client and observed that this works fine. We are able to navigate to bot chat using this deep link format: https://teams.microsoft.com/l/chat/0/0?users=28:<botId>

We have Microsoft Teams version 24215.1000.3037.6292. The client version is 49/24061318413.

@MoChilia
Copy link
Author

MoChilia commented Aug 7, 2024

Hi @Prasad-MSFT, thanks for your reply! My Microsoft Teams version is 24193.1805.3040.8975. The client version is 49/24071128823. My teammate failed with the Microsoft Teams version 24193.1804.3021.7765 and the client version 49/24071128823. Is the issue related to the client version? And I cannot open the link on MS Teams web either.

@MoChilia
Copy link
Author

MoChilia commented Aug 7, 2024

Please note that only new users who open the bot's deep link will experience Teams crashing. It works well for bots already added in my chat.

@Prasad-MSFT
Copy link
Collaborator

@MoChilia, initially we tried to repro this issue in New Teams both in MS Teams web and desktop client and observed that this works fine. We are able to navigate to bot chat using this deep link format: https://teams.microsoft.com/l/chat/0/0?users=28:<botId>

Later as suggested, tried accessing the deep link with a new user login who hasn't installed the app at their end . In this case also we can navigate to that particular app chat page (although it doesnt allow us to post any message in that bot chat as its not installed)
image

@Prasad-MSFT Prasad-MSFT added the needs-author-feedback Needs more info from the customer. label Aug 9, 2024
@MoChilia
Copy link
Author

MoChilia commented Aug 9, 2024

@Prasad-MSFT, thanks for the investigation. I believe it's due to the Teams version. When I use the Teams with a lower version, it works. It's now working well on the Microsoft Teams version 24193.1804.3021.7765 and the client version 49/24080212003. I have to keep this lower version without an update. Hope the newer Teams version will not encounter this issue again.

@MoChilia MoChilia closed this as completed Aug 9, 2024
@ths4u
Copy link

ths4u commented Aug 19, 2024

Hi everyone,
Can this issue be re-opened? The issue has not been solved since it still doesn't work with newer versions of Teams. Many of my colleagues experience the same issue and it is not an option for us to downgrade Teams to a lower version.

We all have the same version of Teams (24193.1805.3040.8975) and the same client version (49/24071128825)
Direct links to a newly created and not installed "Azure bot" freeze Teams for most of my team members, but not all of them.
Additional observation: direct links to older, not installed bots (created as "Bot channels registration") work fine for everyone.

@MoChilia
Copy link
Author

Hi @ths4u, I'd like to share with you a temporary workaround: Go to Settings > About Teams > Early Access > Public Preview ->Restart Teams.

While this might help, I agree that Teams should provide a stable experience on this feature across all versions.
@Prasad-MSFT, could you please review this issue again? It's frustrating to encounter this repeatedly.

@microsoft-github-policy-service microsoft-github-policy-service bot added needs-attention and removed needs-author-feedback Needs more info from the customer. labels Aug 19, 2024
@ths4u
Copy link

ths4u commented Aug 19, 2024

Hi @ths4u, I'd like to share with you a temporary workaround: Go to Settings > About Teams > Early Access > Public Preview ->Restart Teams.

@MoChilia Thank you for this workaround. It worked for at least one of my team members (we are currently testing it with more people).
This hopefully means that this issue is been worked on by MSFT and will be fixed in a future version of Teams?

@martijnschouwe
Copy link

We can confirm that the workaround works.
We also bump into the same issue as described. Teams is totally unresponsive.

With the workaround or initiating the chat on a mobile phone and later use the chat on desktop (osx) also works.
As mentioned , it will hopefully be fixed, as it is affecting a rollout of our in company chatbot.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
needs-attention needs-triage 🔍 teams-developer-support Question related to extensibility (Bot, ME, Tab) would be marked under this label
Projects
None yet
Development

No branches or pull requests

5 participants