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

2 REPLIES 2
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

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

Helpful resources

Announcements
UG GA Amplification 768x460.png

Launching new user group features

Learn how to create your own user groups today!

Community Connections 768x460.jpg

Community & How To Videos

Check out the new Power Platform Community Connections gallery!

M365 768x460.jpg

Microsoft 365 Collaboration Conference | December 7–9, 2021

Join us, in-person, December 7–9 in Las Vegas, for the largest gathering of the Microsoft community in the world.

Top Solution Authors
Top Kudoed Authors
Users online (1,866)