title: Opening Task module from Adaptive Card using Action.OpenUrl
body: <p>we are posting an Adaptive card in channel using following <strong>Graph API</strong> <a href="https://docs.microsoft.com/en-us/graph/api/channel-post-chatmessage?view=graph-rest-beta&amp;tabs=cs" rel="nofollow noreferrer">https://docs.microsoft.com/en-us/graph/api/channel-post-chatmessage?view=graph-rest-beta&amp;tabs=cs</a></p>
  
  <p>Our payload is </p>
  
  <pre class="lang-json prettyprint-override"><code>{
    "body":{
      "contentType":"html",
      "content":"&lt;attachment id="attachmentId"&gt;&lt;/attachment&gt;"  // for attachmentId see attachments section below
    },
    "attachments":[
      {
        "id":"attachmentId",
        "content":cardData // this is JSON.stringify of actual Adaptive card data 
      }
    ]
  }
  </code></pre>
  
  <p>Also our Adaptive card is like </p>
  
  <pre class="lang-json prettyprint-override"><code>{
    "type":"AdaptiveCard",
    "$schema":"http://adaptivecards.io/schemas/adaptive-card.json",
    "body":"some body",
    "actions":[
      {
         "type":"Action.OpenUrl",
         "title":"Suggest Item",
         "url":"https://teams.microsoft.com/l/task/2a05d07c-d194-400e-8122-cad64cfe1cef?url=https%3A%2F%2Flocalhost%3A44349%2Fteams%2F%23%2Fsuggest%2Fee31b3aa-f60f-4594-a964-a01fcc461ceb%3Ffrom%3Dcard&amp;height=540&amp;width=800&amp;title=*Suggest%20item"
      }
    ]
  }
  </code></pre>
  
  <p>If i post task module Url in chat and click it works,
  But it is not working from <strong>Adaptive Card</strong> <code>Action.OpenUrl</code>
  Previously it used to work</p>