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

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

#2
Tomac Profile Picture

Tomac 323 Moderator

#3
abm abm Profile Picture

abm abm 237 Most Valuable Professional

Last 30 days Overall leaderboard