Skip to main content

Notifications

Community site session details
Power Automate - Building Flows
Answered

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

Like (0) ShareShare
ReportReport
Posted on 26 Sep 2023 23:48:36 by 38

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?

 

 

 

  • Jason Yeung Profile Picture
    38 on 28 Sep 2023 at 00:22:25
    Re: How to set Teams message to Important when creating from Power Automate

    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.

     

     

  • Verified answer
    v-xiaochen-msft Profile Picture
    on 27 Sep 2023 at 01:26:17
    Re: How to set Teams message to Important when creating from Power Automate

    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

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

🌸 Community Spring Festival 2025 Challenge Winners! 🌸

Congratulations to all our community participants!

Warren Belz – Community Spotlight

We are honored to recognize Warren Belz as our May 2025 Community…

Congratulations to the April Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard > Power Automate - Building Flows

#1
stampcoin Profile Picture

stampcoin 105

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 82 Super User 2025 Season 1

#3
David_MA Profile Picture

David_MA 62 Super User 2025 Season 1

Overall leaderboard
Loading started
Loading started