MicrosoftDocs / msteams-docs

Source for the Microsoft Teams developer platform documentation.
https://aka.ms/teamsdev
Creative Commons Attribution 4.0 International
282 stars 504 forks source link

Adaptive card content is not searchable from the Teams search bar.  #7520

Open v-nikhilsoma opened 1 year ago

v-nikhilsoma commented 1 year ago

Hi Team, I have been working with a bot that we install into a Teams channel or personal scope, and it sends an adaptive card. When an adaptive card contains an action section, the content of the adaptive card section is not searchable from the Teams search bar. However, it's searchable when we remove the action section from the adaptive card. This issue exists only when the adaptive card schema version is less than (<) 1.5. whereas greater versions don't show this issue.


Document Details

Do not edit this section. It is required for learn.microsoft.com ➟ GitHub issue linking.

ghost commented 1 year ago

Hi VnikhilsomaMS! 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

Nivedipa-MSFT commented 1 year ago

@VnikhilsomaMS - We have tested this with adaptive card schema version less than<1.5 with action and without action section. But we are able to get the cards whichever sent in channel. The cards which are sent in personal scope those are not getting after search from the Teams search bar. Could you please confirm this scenario?

v-nikhilsoma commented 1 year ago

@Nivedipa-MSFT I have tested with sample app, [bot-adaptive cards] (https://github.com/microsoft/BotBuilder-Samples/tree/main/samples/csharp_dotnetcore/07.using-adaptive-cards). Cards sent in both the personal and team channel scopes with an "action" section are not returned when searching from the Teams search bar, and the schema version is less than 1.5.

Nivedipa-MSFT commented 1 year ago

@VnikhilsomaMS - We have tested this with sample app, bot-adaptive cards. But we are able to get the cards whichever sent in channel. Could you please share the screen recording for our reference?

v-nikhilsoma commented 1 year ago

@Nivedipa-MSFT

https://user-images.githubusercontent.com/118903153/203789399-3b8f236b-2e16-470b-9839-9d4ce86a950a.mp4

Nivedipa-MSFT commented 1 year ago

@VnikhilsomaMS - Thanks for your recording. We are able to repro your issue and raised a bug for the same. We will let you know once we have any updates on it.

Nivedipa-MSFT commented 1 year ago

@VnikhilsomaMS - Could you please try this with removing showCard action on card?

v-nikhilsoma commented 1 year ago

@Nivedipa-MSFT -I tried removing the showCard action, but the behavior remained the same. It works only when I remove the complete action section, irrespective of card actions.

Nivedipa-MSFT commented 1 year ago

@VnikhilsomaMS - Engineering team is working on the fix. We will inform them the behaviour of removing the showCard action. We will keep you posted the updates on it. Thanks.

ChetanSharma-msft commented 1 year ago

Hello @v-nikhilsoma - We don't have much updates to share with you currently. We are checking your issue with engineering team and let you know the updates, if any.

Nivedipa-MSFT commented 1 year ago

@v-nikhilsoma - We have tested this bug again and not able to repro now. Could you please test and confirm on this.