Microsoft Teams
A Microsoft customizable chat-based workspace.
10,639 questions
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
KV```typescript {
"$schema": "http://adaptivecards.io/schemas/adaptive-card.json",
"type": "AdaptiveCard",
"version": "1.5",
"body": [
{
"type": "TextBlock",
"text": "Task List:"
},
{
"type": "Input.Toggle",
"id": "checkbox1",
"title": "Task 1",
"value": "Completed",
"wrap": true
},
{
"type": "Input.Toggle",
"id": "checkbox2",
"title": "Task 2",
"value": "Completed",
"wrap": true
},
{
"type": "ActionSet",
"actions": [
{
"type": "Action.Submit",
"title": "Update",
"url":"https://Example.azurewebsites.net/api/HandleAdaptiveCardResponse"
}
]
I have send above adaptive card to team channel using graph Api endpoint ,I want send checkbox data to Api endpoint to handle that data ,but I am not able to hit Api endpoint(Azure function hosted on azure portal) ,how can I send checkbox data to Api endpoint .
The only card action supported on cards sent through Graph is openurl.
Action.Submit and other actions are not supported when card is being sent through Graph API.
As a work around please refer below documentation and sample