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

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

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
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
10,518 questions
{count} votes

2 answers

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

    @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.

    0 comments No comments

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

    @Diana Wanjuhi can you please help?

    0 comments No comments