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
UG GA Amplification 768x460.png

Launching new user group features

Learn how to create your own user groups today!

Community Connections 768x460.jpg

Community & How To Videos

Check out the new Power Platform Community Connections gallery!

Welcome Super Users.jpg

Super User Season 2

Congratulations, the new Super User Season 2 for 2021 has started!

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.

Top Solution Authors
Users online (1,524)