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

Teams V2 messaging extension started from commandbox has no context (URL placeholder are not replaced with values) #11725

Open
ChetanSharma-msft opened this issue Oct 25, 2024 · 2 comments
Assignees
Labels
needs-triage 🔍 teams-developer-support Question related to extensibility (Bot, ME, Tab) would be marked under this label

Comments

@ChetanSharma-msft
Copy link
Collaborator

Steps to reproduce

Copied from: microsoft/botbuilder-dotnet#6775
Posted by: @anne376

Details:

Version: V4.22.3

Describe the bug:
I have a problem with my existing Teams messaging extension in Teams V2. With the old teams everything runs perfectly.

I have a messaging extension using the Bot Framework. Actions are defined which can be triggered from message and command box. On my server I did override OnTeamsMessagingExtensionFetchTaskAsync and created a MessagingExtensionActionResponse with a URL that includes placeholders, like {groupId} and {channelId}.

The messaging extension works fine when I use the old teams client (web or windows app). But if I switch to Teams V2 the placeholders are only replaced with values when the messaging extension is triggered from the message. If it is triggered from commandbox the placeholders are not replaced.

Expected behavior

Placeholder should be replaced with values when the messaging extension is triggered from message AND commandbox

Actual behavior

The messaging extension works fine when I use the old teams client (web or windows app). But if I switch to Teams V2 the placeholders are only replaced with values when the messaging extension is triggered from the message. If it is triggered from commandbox the placeholders are not replaced.

Error details

No response

@ChetanSharma-msft ChetanSharma-msft added the teams-developer-support Question related to extensibility (Bot, ME, Tab) would be marked under this label label Oct 25, 2024
Copy link
Contributor

Hi ChetanSharma-msft! Thank you for bringing this issue to our attention. We will investigate and if we require further information we will reach out in one business day. Please use this link to escalate if you don't get replies.

Best regards, Teams Platform

@Meghana-MSFT
Copy link
Collaborator

Apologies for the delay, we will check this issue and get back to you with an update. Thank you.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
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

2 participants