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

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / How to set Teams messa...
Power Automate
Answered

How to set Teams message to Important when creating from Power Automate

(0) ShareShare
ReportReport
Posted on by 53

Hi,

I'm currently creating a Power Automate flow that gets run when someone enters a ticket in DevOps. When someone does this, a message will be posted to Teams via Power Automate (the "Post message in a chat or channel" action):
20230926_teams message via Power automate.JPG

 

So far, it works fine. But I want to set the message to be important in Teams. So it would look like the following instead of the default priority:

20230926_important teams messagee.JPG

 

I was wondering how do we set the priority level of the message?

 

 

 

Categories:
I have the same question (0)
  • Verified answer
    v-xiaochen-msft Profile Picture
    Microsoft Employee on at

    Hi @JasonYeung ,

     

    Please try to call the graph api.

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

    vxiaochenmsft_0-1695777968807.png

     

    Best Regards,

    Wearsky

  • Jason Yeung Profile Picture
    53 on at

    Hi @v-xiaochen-msft ,

    Thanks for the link. I tried this and was able to set the importance by adding it to the JSON file.

     

    One thing I noticed is that when I used the "Post message in a chat or channel" action, the from is shown as "FirstName LastName via Power Automate". But it's only "FirstName LastName" via GraphAPI. Is there a way to add the "via Power Automate" part? Below is a screen of both messages:

    20230927_teams message.JPG

    I want the first message to have the same from person as the second message.

     

     

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Leaderboard > Power Automate

#1
Haque Profile Picture

Haque 557

#2
Valantis Profile Picture

Valantis 328

#3
David_MA Profile Picture

David_MA 264 Super User 2026 Season 1

Last 30 days Overall leaderboard