cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
PaddyFreefall
Advocate II
Advocate II

Adaptive Cards not Showing Correctly in Teams when Posting to User

When I post to an adaptive card to a user in Teams the card isn't rendered correctly. 

 

When I post to a channel, it works fine.

 

This happens not just with approvals but with other adaptive cards created in the designer.

 

2020-01-17_10-54-20.png

2020-01-17_10-54-57.png

1 ACCEPTED SOLUTION

Accepted Solutions
Anonymous
Not applicable

Hi Paddy, I know next to nothing about this, but I have seen a behavioral difference between the activities "post a message" and "post an adaptive card." There is an action called "Post your own adaptive card as the Flow bot to a user (preview)" in GCC (see screenshot), so I suspect there's something similar in commercial.

 

Seems like the "message" action posts raw (i.e. not interpolated) text whereas the "adaptive card" action processes the JSON?

 

Seriously, though, don't take my word for it, I didn't even know Flow existed 2 weeks ago. Good luck!

 

teams_ac_action.png

View solution in original post

3 REPLIES 3
Anonymous
Not applicable

Hi Paddy, I know next to nothing about this, but I have seen a behavioral difference between the activities "post a message" and "post an adaptive card." There is an action called "Post your own adaptive card as the Flow bot to a user (preview)" in GCC (see screenshot), so I suspect there's something similar in commercial.

 

Seems like the "message" action posts raw (i.e. not interpolated) text whereas the "adaptive card" action processes the JSON?

 

Seriously, though, don't take my word for it, I didn't even know Flow existed 2 weeks ago. Good luck!

 

teams_ac_action.png

View solution in original post

Hi @PaddyFreefall 

 

 

As @Anonymous  has mentioned you need to use the post message as adaptive card action as shown in the screenshots below: 

ee3.PNG

 

rr3.PNG

 

Hope this Helps!

If this reply has answered your question or solved your issue, please mark this question as answered. Answered questions helps users in the future who may have the same issue or question quickly find a resolution via search. If you liked my response, please consider giving it a thumbs up. THANKS!

PaddyFreefall
Advocate II
Advocate II

Thanks, @Anonymous and @yashag2255 . I really appreciate the help.

 

Yep, it was me using the wrong action. I've got it working now using the one you mentioned.

Helpful resources

Announcements
MPA_User Group Leader_768x460.jpg

Manage your user group events

Check out the News & Announcements to learn more.

V3_PVA CAmpaign Carousel.png

Community Challenge - Giveaways!

Participate in the Power Virtual Agents Community Challenge

Carousel 2021 Release Wave 2 Plan 768x460.jpg

2021 Release Wave 2 Plan

Power Platform release plan for the 2021 release wave 2 describes all new features releasing from October 2021 through March 2022.

R2 (Green) 768 x 460px.png

Microsoft Dynamics 365 & Power Platform User Professionals

DynamicsCon is a FREE, 4 half-day virtual learning experience for 11,000+ Microsoft Business Application users and professionals.

Top Solution Authors
Users online (2,816)