teams/"Reply to message in channel" fails with Unauthorized error for Application token

asked 2021-04-15T18:12:05.347+00:00
Srinivas Ram 1 Reputation point

Hello, I am trying to reply to a message on a teams channel with the following API, using Application credentials (appid/secret). I do see "Teamwork.Migrate.All" permission on the jwt token but I still get unauthorized.

https://learn.microsoft.com/en-us/graph/api/channel-post-messagereply?view=graph-rest-1.0&tabs=http

I have tried to

  1. reply to message
  2. send a new message
  3. import message

All of them have failed. According to the Microsoft documents, this is not a protected api (and I have protected api approval for this app to read the message)

Thanks in advance

Microsoft Graph Teamwork API
Microsoft Graph SDK
Microsoft Graph SDK
A Microsoft software developer kit designed to simplify building high-quality, efficient, and resilient applications that access Microsoft Graph.
721 questions
Microsoft Graph Notifications API
{count} votes

2 answers

Sort by: Most helpful
  1. answered 2021-04-21T14:25:21.257+00:00
    Srinivas Ram 1 Reputation point

    @Diana Wanjuhi were you able to find anything? Any help would be greatly appreciated. I tried to open a ticket with Azure team but they keep closing with no details.

    No comments

  2. answered 2021-04-26T14:17:13.583+00:00
    Srinivas Ram 1 Reputation point

    @Diana Wanjuhi can you please help?

    No comments