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!

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

Helpful resources

Announcements
2022 Release Wave 1 760x460.png

2022 Release Wave 1 Plan

Power Platform release plan for the 2022 release wave 1 describes all new features releasing from April 2022 through September 2022.

Community Connections 768x460.jpg

Community & How To Videos

Check out the new Power Platform Community Connections gallery!

Users online (1,822)