Hi all,
I've build an adaptive card that I'm send in outlook.
When I send the adaptive card to myself, it all works fine and I can use the http action succesfull.
BUT when I send it to another user or shared mailbox it is not working. The e-mail is blank.
There is no difference when the user uses OWA or the newest outlook.
I found several other topics about this, but no clear solution on what is wrong/ or how to fix that. So hopefully someone can help me with this. Someone talks about not having permissions to send adaptive cards, but I don't know where it should be disabled or something like that.
The adaptive card (see below) is inside the compose action.

As said, when I send the mail to the same account as the "sender" it's working as expected.
The Adaptive card payload (I've change the actual http urls and dynamicContent for <textlikethisformat> for privacy reasons):
{
"type": "AdaptiveCard",
"$schema": "http://adaptivecards.io/schemas/adaptive-card.json",
"version": "1.0",
"body": [
{
"type": "TextBlock",
"text": "Nieuwe onvoldoende beoordeling ontvangen:",
"wrap": true,
"weight": "Bolder",
"color": "Dark",
"size": "Medium"
},
{
"type": "ColumnSet",
"columns": [
{
"type": "Column",
"width": "stretch",
"items": [
{
"type": "TextBlock",
"text": "Klantnaam:",
"wrap": true
}
]
},
{
"type": "Column",
"width": "stretch",
"items": [
{
"type": "TextBlock",
"text": "<CustomernamefromSharePoint>",
"wrap": true
}
]
}
]
},
{
"type": "ColumnSet",
"columns": [
{
"type": "Column",
"width": "stretch",
"items": [
{
"type": "TextBlock",
"text": "Beoordelingsscore:",
"wrap": true
}
]
},
{
"type": "Column",
"width": "stretch",
"items": [
{
"type": "TextBlock",
"text": "<ScoreFromSharePoint>",
"wrap": true
}
]
}
]
},
{
"type": "ColumnSet",
"columns": [
{
"type": "Column",
"width": "stretch",
"items": [
{
"type": "TextBlock",
"text": "Contact e-mail:",
"wrap": true
}
]
},
{
"type": "Column",
"width": "stretch",
"items": [
{
"type": "TextBlock",
"text": "<EMAILFROMSHAREPOINT>",
"wrap": true,
"id": "relatie"
}
]
}
]
},
{
"type": "ColumnSet",
"columns": [
{
"type": "Column",
"width": "stretch",
"items": [
{
"type": "TextBlock",
"text": "Datum beoordelingsverzoek:",
"wrap": true
}
]
},
{
"type": "Column",
"width": "stretch",
"items": [
{
"type": "TextBlock",
"text": "<DATEFROMSHAREPOINT>",
"wrap": true
}
]
}
]
},
{
"type": "ColumnSet",
"horizontalAlignment": "Center",
"columns": [
{
"type": "Column",
"width": "stretch",
"items": [
{
"type": "TextBlock",
"text": "Deze klant dient nagebeld te worden om te achterhalen waar de ontevredenheid vandaan kwam.",
"wrap": true
}
]
}
]
},
{
"type": "ColumnSet",
"columns": [
{
"type": "Column",
"width": "stretch",
"items": [
{
"type": "TextBlock",
"text": "Wat was de reden van de negatieve beoordeling?",
"wrap": true,
"weight": "Bolder"
}
]
}
]
},
{
"type": "ColumnSet",
"columns": [
{
"type": "Column",
"width": "stretch",
"items": [
{
"type": "Input.Text",
"placeholder": "Geef een omschrijving van de beweegredenen van een negatieve beoordeling.",
"isMultiline": true,
"id": "feedback"
}
]
}
]
}
],
"actions": [
{
"type": "Action.Http",
"title": "Markeer beoordeling als afgehandeld",
"id": "afgehandeld",
"url": "https://prod-151.westeurope.logic.azure.com:443/workflows/...",
"method": "POST",
"body": "{\n \"itemID\": \"<IDFROMSHAREPOINT>\",\n \"feedback\": \"{{feedback.value}}\"\n}",
"headers": [
{
"name": "Authorization",
"value": ""
},
{
"name": "Content-Type",
"value": "application/json"
},
{
"name": "itemID",
"value": ""
}
]
},
{
"type": "Action.OpenUrl",
"title": "Bekijk alle openstaande items",
"url": "<SHAREPOINTURL>"
}
],
"backgroundImage": {
"url": ""
}
}