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 / 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 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?

 

 

 

Categories:
I have the same question (0)
  • Verified answer
    v-xiaochen-msft Profile Picture
    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
    38 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

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 525 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 324 Moderator

#3
abm abm Profile Picture

abm abm 232 Most Valuable Professional

Last 30 days Overall leaderboard