cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
PiebePost1
Helper I
Helper I

Getting Teams message & replies using HTTP request

Hello all,

 

I'm having some trouble with getting message replies in a flow. Unfortunetaly (and to my great frustration, start finishing your work MS!) this operation is not available in the default connector, so I start configurating a HTTP request using this tutorial.

 

I am having a bit of luck, as I am able to perform a get request on my channel using the following URL:

https://graph.microsoft.com/beta/teams/e35ce100-5fb4-4e18-8633-9d03b56ebe1d/channels/19:260efb22cc0e44a0b19d1076e8d9811c@thread.tacv2/

 

But that is a far as I'm getting, as ik run into trouble when I try to get the messages in that channel using this URL:

https://graph.microsoft.com/beta/teams/e35ce100-5fb4-4e18-8633-9d03b56ebe1d/channels/19:260efb22cc0e44a0b19d1076e8d9811c@thread.tacv2/messages

Error:

{
  "error": {
    "code": "UnknownError",
    "message": "",
    "innerError": {
      "date": "2020-08-31T09:51:56",
      "request-id": "bcf97906-03b4-47c2-bb43-7da396e075af"
    }
  }
}

  

I am very sure that my URL is correct, as it succesfully gets the desired data when I copy the URL in the Graph Explorer. I also granted the needed permissions in Azure (ChannelMessage.Read.AllGroup.Write.All & Group.ReadWrite.All).

 

At this moment I'm completely clueless. Any suggestion would be much appreciated!!

1 ACCEPTED SOLUTION

Accepted Solutions
PiebePost1
Helper I
Helper I

Nevermind, tried the HTTP with Azure AD instead, which was succesfully and much easier too!

View solution in original post

3 REPLIES 3
PiebePost1
Helper I
Helper I

Nevermind, tried the HTTP with Azure AD instead, which was succesfully and much easier too!

Thank you for the answer! so glad to hear you solved the issue

Could you please share the steps you took with the HTTP with Azure AD connector ?

Helpful resources

Announcements
Power Automate News & Announcements

Power Automate News & Announcements

Keep up to date with current events and community announcements in the Power Automate community.

Power Automate Community Blog

Power Automate Community Blog

Check out the latest Community Blog from the community!

Top Kudoed Authors
Users online (5,469)