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 / Send Important Chat me...
Power Automate
Answered

Send Important Chat message using Send a Microsoft Graph HTTP Request (Graph API)

(0) ShareShare
ReportReport
Posted on by 67

Hi,

 

Currently sending an urgent/important Teams Chat Message is not available using the standard "Post message in a chat or channel" action (here).

 

My plan is to send a message to a group chat with high importance/urgency.

 

I noticed there is a "Send a Microsoft Graph HTTP request" instead; and according to the documentation, it is possible through Graph API (here).

When I tested it on Graph Explorer, it works as intended:

televisi_0-1715051368766.png

televisi_1-1715051386946.png

 

Now, when I tried to use the "Send a Microsoft Graph HTTP request", for some reason it thrown the following error:

 

{
 "error": {
 "code": 400,
 "message": "URI path is not a valid Graph endpoint, path is neither absolute nor relative or resource/object is not supported for this connector. Resources: teams,me,users Objects: channels,chats,installedApps,messages,pinnedMessages. Uri: https://graph.microsoft.com/v1.0/chats/19xxx6c@thread.v2/messages",
 "source": "flow-apim-msmanaged-na-westus2-01.azure-apim.net",
 "path": "choose[37]\\when[1]",
 "policyId": "",
 "clientRequestId": "xxxxab-xxx"
 }
}

 

 

URI: https://graph.microsoft.com/v1.0/chats/19xxx6c@thread.v2/messages

Method: POST

Body:

 

{
 "importance": "high",
 "body": {
 "content": "Hello World"
 }
}

 

televisi_2-1715051530837.png

 

Could someone please assist me in identifying the problem here?

Thank you in advance!

Categories:
I have the same question (0)
  • Verified answer
    televisi Profile Picture
    67 on at

    Ugh... found the resolution right after I posted the above.

    Resolution was provided by Michel Mendes (post)

    I needed to add "me" to the URI.

     

    The correct URI should be: URI: https://graph.microsoft.com/v1.0/me/chats/19xxx6c@thread.v2/messages

     

    Hope this helps everyone else who tried to find an alternative solution.

  • v-yetonggu-msft Profile Picture
    Microsoft Employee on at

    Hi @televisi ,

    Thank you for sharing and supporting the forum, your reply will help more people who encounter this challenge in the future.

     

    Best Regards,

    Sunshine Gu

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

Season of Sharing Community Challenge Launch!

Jump in, show your community spirit, and win prizes!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the April Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Vish WR Profile Picture

Vish WR 386

#2
Valantis Profile Picture

Valantis 342

#3
Haque Profile Picture

Haque 336

Last 30 days Overall leaderboard