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 / Sending Urgent Message...
Power Automate
Unanswered

Sending Urgent Message in Teams Chat

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

Is there a way to set a 'post a message in a chat or channel' action is an 'Urgent' message?

 

I can get the message to flow into the chat that I want but I want it to specifically be marked as Urgent.

 

Would love this to be possible!

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

    Hi @Emmaburt26,

     

    Unfortunately the importance property is set as a default to normal in that action.


    A workaround could be to use an HTTP request and POST the message via the Graph API, https://docs.microsoft.com/en-us/graph/api/chatmessage-post?view=graph-rest-1.0&tabs=http. This way you can set the importance property yourself.

     

    importance_urgent02.png

    Below is an example with the Invoke an HTTP request action.

    This requires a premium action.

     

    {
     "subject": "This is very urgent",
     "importance": "urgent",
     "body": {
     "content": "This is a Flow test, this is urgent",
     "contentType": "html"
     },
    }

     

     

    importance_urgent.png

     

     

    Btw, also make sure that you configure the Base Resource URL and Azure AD Resource URI correctly within the connection

     

    invokehttprequestazuread_baseresourceuri.png

     

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    Thanks for the reply, I don't have premium 😫

     

    Good to know there is a work around though

  • Expiscornovus Profile Picture
    33,828 Most Valuable Professional on at

    Hi @Emmaburt26,


    I totally forgot about this new sweet non-premium action called, Send an HTTP request to Office 365 Groups. It is still in preview, however it can do the same job:

    https://docs.microsoft.com/en-us/connectors/office365groups/#send-an-http-request

     

    nopremiumneeded.png

  • MichalPro Profile Picture
    6 on at

    Hi @Expiscornovus 

    Thank you for your work :). Your post is very helpful but i dont have an idea how your getting your channel/conversation URI in your flow.

    Could you share this?

  • Expiscornovus Profile Picture
    33,828 Most Valuable Professional on at

    Hi @MichalPro,

     

    In my setup I was testing with one specific channel and one specific conversation. In that setup I stored the Channel Id in a initialize variable action of type string. 

     

    I retrieved the channel id in the get link to channel options. That link should also contain a Channel Id, which should look something like below:

    19:1172bde8739742b69419eb0980fcde33@thread.tacv2

     

    getlinktochannel.png

     

    However, do you want to retrieve this dynamically or are you looking for a id of one specific channel? Also depends a bit on your flow setup. Can you share a screenshot of what you currently have?

  • MichalPro Profile Picture
    6 on at

    Hi @Expiscornovus 

    Thank you for interesting 🙂

    I know how to find Channel/Conversation ID (i dont need to find it dynamically) but using it in URI field in Sending HTTP Request isn't working for me. Automate needs URI of the channel/conversation not the ID.

     

    MichalPro_0-1660843468922.png

     

     

    MichalPro_1-1660843489783.png

     

  • Expiscornovus Profile Picture
    33,828 Most Valuable Professional on at

    Hi @MichalPro,

     

    That URI field should contain the whole graph uri. So, it would need to be:

    https://graph.microsoft.com/v1.0/teams/{team-id}/channels/{channel-id}/messages

     

    Replace (team-id} your specific team id and {channel-id} by the channel id you tried to use in your earlier screenshot (19:1a06 etc.)

  • MichalPro Profile Picture
    6 on at

    Hi @Expiscornovus 

     

    Thank you for your help. I was looking to find a way to send urgent messagfe to conversation, not the channel but thanks to your advise I figured out how to create URI.

    my URI is: https://graph.microsoft.com/v1.0/chats/19:1a06bee3cf6945c6b70089a239c76277@thread.v2/messages

    Unfortunately, this feature is not working for me and I dont know why my URI si not valid.

     

    Screenshot_3.png

  • Expiscornovus Profile Picture
    33,828 Most Valuable Professional on at

    Hi @MichalPro,

     

    Your URI looks valid. It is probably failing because this resource type is not supported in the type of action (Invoke an HTTP) you are using. Try a different type of action like HTTP or one of the Send an HTTP request actions.

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!

Congratulations to the March Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Haque Profile Picture

Haque 594

#2
Valantis Profile Picture

Valantis 328

#3
David_MA Profile Picture

David_MA 281 Super User 2026 Season 1

Last 30 days Overall leaderboard