Skip to main content

Notifications

Community site session details

Community site session details

Session Id : w9nonMHfzhy3TttJOlTf5F
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 🌸

WIN Power Platform Community Conference 2025 tickets!

Markus Franz – Community Spotlight

We are honored to recognize Markus Franz as our April 2025 Community…

Kudos to the March Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 146,660 Most Valuable Professional

#2
RandyHayes Profile Picture

RandyHayes 76,287 Super User 2024 Season 1

#3
Pstork1 Profile Picture

Pstork1 65,999 Most Valuable Professional

Leaderboard
Loading started