cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Resolver I
Resolver I

Email is empty for others when sending Adaptive cards

When an email with an adaptive card to myself it works fine. When sending to anyone else within my company the email will be blank. Below is the example script I am using.

 

<script type="application/adaptivecard+json">

{
    "type": "AdaptiveCard",
    "body": [
        {
            "type": "TextBlock",
            "size": "Medium",
            "weight": "Bolder",
            "text": "Additional Feedback Required"
        },
        {
            "type": "TextBlock",
            "text": "@{triggerBody()?['additionalInfo']}",
            "wrap": true
        },
        {
            "type": "FactSet",
            "facts": [
                {
                    "title": "Suggestion ID:",
                    "value": "VARIABLE_HERE"
                },
                {
                    "title": "Respond By:",
                    "value": "VARIABLE_HERE"
                }
            ]
        },
        {
            "type": "Input.Text",
            "placeholder": "Response",
            "id": "responseText",
            "isMultiline": true,
            "separator": true
        }
    ],
    "$schema": "http://adaptivecards.io/schemas/adaptive-card.json",
    "version": "1.0",
    "actions": [
        {
            "type": "Action.Http",
            "title": "Submit Response",
            "method": "POST",
            "id": "submit",
            "url": "",
            "body": "{\"response\":\"{{responseText.value}}\",\"suggestionID\":@{triggerBody()?['suggestionID']}}",
            "headers": [
                {
                    "name": "Authorization",
                    "value": ""
                },
                {
                    "name": "Content-type",
                    "value": "application/json"
                }
            ]
        }
    ]
}
</script>
1 ACCEPTED SOLUTION

Accepted Solutions

Hi @send2mark 

 

This sounds like the exact issue from this post:

https://powerusers.microsoft.com/t5/Building-Flows/AdaptiveCard-shows-up-blank-for-some-users/td-p/5...

 





Did I answer your question? Mark my post as a solution!

If you like my post please hit the Thumbs Up


Proud to be a Flownaut!


Check out my blog for Power Automate tips, tricks, and guides
FlowAltDelete




View solution in original post

4 REPLIES 4
Super User III
Super User III

Hello @send2mark 

 

Could you share a screenshot of your flow.





Did I answer your question? Mark my post as a solution!

If you like my post please hit the Thumbs Up


Proud to be a Flownaut!


Check out my blog for Power Automate tips, tricks, and guides
FlowAltDelete




There isn't much to it, but here you go. It works when emailed to me and the email connector is using my credentials. AdaptiveCardResults.png

 

AdaptiveFlow.png

Hi @send2mark 

 

This sounds like the exact issue from this post:

https://powerusers.microsoft.com/t5/Building-Flows/AdaptiveCard-shows-up-blank-for-some-users/td-p/5...

 





Did I answer your question? Mark my post as a solution!

If you like my post please hit the Thumbs Up


Proud to be a Flownaut!


Check out my blog for Power Automate tips, tricks, and guides
FlowAltDelete




View solution in original post

Super User III
Super User III

Hi @send2mark 

 

Please use https://adaptivecards.io/designer/ for validation on your Adaptive Card JSON.

 

I found a couple warnings and 1 error:

Warnings:

"size""Medium",
"weight""Bolder",
 
Changed to:
"size""medium",
"weight""bolder",
 
 
Error:
"type""Action.Http",
 
Possible Fix:
Value is not accepted. Valid values: "Action.OpenUrl" or "Action.Submit"




Did I answer your question? Mark my post as a solution!

If you like my post please hit the Thumbs Up


Proud to be a Flownaut!


Check out my blog for Power Automate tips, tricks, and guides
FlowAltDelete




Helpful resources

Announcements
Microsoft Ignite

Microsoft Ignite

Join digitally, March 2–4, 2021 to explore new tech that's ready to implement. Experience the keynote in mixed reality through AltspaceVR!

New Super Users

Meet the Power Automate Super Users!

Many congratulations to the Season 1 2021 Flownaut Crew!

Microsoft Ignite

Microsoft Power Platform: 2021 Release Wave 1 Plan

Power Platform release plan for the 2021 release wave 1 describes all new features releasing from April through September 2021.

MPA Community Blog

Power Automate Community Blog

Check out the community blog page where you can find valuable learning material from community and product team members!

Users online (88,971)