I already had a blog for this, please check here - How to use Adaptive Card in mail?
Originator property of Adaptive Card gives some control to the O365 Admin. It enforces you to get approval from O365 Admin to before sending actionable Adaptive Cards, in this way O365 Admin can have a look on the target URL. Now as per organization rules/policies/security concerns O365 Admin can either approve or decline your request.
Following is the error message which you will see if you try to send actionable cards in mail without originator property.
You need to set the originator in your payload to make actionable message work beyond your own mailbox. Please go to developer portal to register your provider and set the originator property in your payload.
This is how originator property looks like in your Adaptive Card payload -
{
"$schema": "http://adaptivecards.io/schemas/adaptive-card.json",
"type": "AdaptiveCard",
"version": "1.0",
"originator": "9440a9fe-120a-4762-8c02-a1823ffbdb25",
.
<Adaptive Card Payload>
.
}
To send actionable adaptive card we need to register a provider here - Actionable Email Developer Dashboard
Make sure you logged in using correct id by looking at Organization Info.
Copy Provider ID (originator), this is what you need to use in your Adaptive Card payload.
Fill required detail, and make sure to select “Organization” under Scope of submission
Once saved then it will show pending for approval
Your tenant admins will get an email , your admin need to click on “View Submission” and then approve the request.
Once approved, you can check status.
After this you need to use Provider id in your Adaptive card Json as shown in sample Adaptive card payload in previous section
Post relevance date : November 2020