web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Pin adaptive card in T...
Power Automate
Unanswered

Pin adaptive card in Teams

(0) ShareShare
ReportReport
Posted on by 9

I have a workflow that creates an adaptive card in Teams that asks for a response (Approve/Not Approve). That chat includes four people, all it is looking for is one person to approve. It updates a SharePoint list with the response.

 

The card could require some conversation so I would like the card (essentially a message in the chat) to be pinned to the top of the chat. 

 

How do I pin the adaptive card (message) using the workflow? I can manually pin it in the Teams chat but cannot figure out how to do it in the workflow. 

 

I believe there was a conversation started last year regarding this but a solution was not provided.

 

Thank you. 

Categories:
I have the same question (0)
  • Expiscornovus Profile Picture
    33,189 Most Valuable Professional on at

    Hi @ghman22,

     

    You should be able to use the pin a message in a chat method of the Graph API for this.

    https://learn.microsoft.com/en-us/graph/api/chat-post-pinnedmessages?view=graph-rest-1.0&tabs=http

     

    You can use the conversationId and the messageId of your Adaptive card in the body payload of that request.

     

    Below is an example

     

    {
     "message@odata.bind":"https://graph.microsoft.com/v1.0/chats/@{outputs('Create_a_chat')?['body/id']}/messages/@{body('Post_adaptive_card_and_wait_for_a_response')['messageId']}"
    }

     

    pin_adaptivecard.png

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 522 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 364 Moderator

#3
abm abm Profile Picture

abm abm 243 Most Valuable Professional

Last 30 days Overall leaderboard