AdaptiveCards: [MSTeams][Action.OpenURL] Open URl button is not working with some URls in Teams

Platform

  • .Net Core

Details

I’ve developed bot using Microsoft bot framework, the bot response is adaptive card and i want to use the action.openurl button to open specific link and it worked with some urls but when i used url to document located in Microsoft online word the button become not clickable and this is the json object :

{
  "type": "AdaptiveCard",
  "body": [
    {
      "type": "TextBlock",
      "size": "Medium",
      "weight": "Bolder",
      "text": "test",
      "wrap": true
    }
  ],
  "actions": [
    {
      "type": "Action.OpenUrl",
      "title": "View",
      "url": "https://shpc.itn.intraorange/sites/MUSCLES/_layouts/15/WopiFrame.aspx?sourcedoc={35729A64-4706-43F1-A530-6EF903831010}&file=DRIssuesTest.doc&action=default"
    }
  ],
  "$schema": "http://adaptivecards.io/schemas/adaptive-card.json",
  "version": "1.2"
}

NOTE: this button worked in teams mobile app but not work in teams on Microsoft edge browser and chrome browser and teams disktop app

About this issue

  • Original URL
  • State: closed
  • Created 3 years ago
  • Comments: 35 (4 by maintainers)

Most upvoted comments

@rahulyadav97185966 - We are checking with engineering team about this issue. We will inform you once we have any update. Thanks!