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 message from Powe...
Power Automate
Unanswered

send message from Power Automate Desktop to Teams?

(0) ShareShare
ReportReport
Posted on by 29

I would like "PowerAutomate Desktop" to send a message to Teams. I've seen that it's possible by CloudFlow using the connectors. But how can I send from PA Desktop, using HTTP?

(https://learn.microsoft.com/en-us/graph/api/chat-post-messages?view=graph-rest-1.0&tabs=http) 

 

According to the syntax: "POST /chats/{chat-id}/messages"
I created "https://graph.microsoft.com/v1.0/chats/19:6a0976dfb7254b6cb47c28affcf6af70@thread.v2/messages"

But it returns error:

{"error":{"code":"InvalidAuthenticationToken","message":"Access token is empty.","innerError":{"date":"2022-12-28T20:37:32","request-id":"22ea7e95-1b36-4244-91ec-d212be6547c6","client-request-id":"22ea7e95-1b36-4244-91ec-d212be6547c6"}}}

 

Has anyone already sent a PAD message to Teams?

 

 

I have the same question (0)
  • Verified answer
    Lucas_Eduardo Profile Picture
    62 on at

    Hello friend. I would do this way:

     

    Set up the Cloud Flow with the HTTP Request (post) trigger:

    Lucas_Eduardo_0-1672683702874.png

     

    Then the PAD (Power Automate Desktop) Flow:

    Lucas_Eduardo_1-1672683902039.png

     

    I've choose the chat to post the message with the connections of Ms.Teams, but you can surely do with the chat Id too.

     

    Sorry for the language of the screenshots, call me if you have any doubts, I hope it helps anyway.

     

  • netchrist Profile Picture
    29 on at

    hello Eduardo
    thanks for the feedback😊

    i'm going to run a test here..... thanks for the tip

  • VJR Profile Picture
    7,635 on at

    @netchrist, here is a video that shows about creating the http trigger in cloud flows and calling it in Desktop Flows.

  • netchrist Profile Picture
    29 on at

    good tip @VJR 
    really thanks

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

#2
Tomac Profile Picture

Tomac 364 Moderator

#3
abm abm Profile Picture

abm abm 243 Most Valuable Professional

Last 30 days Overall leaderboard