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?