Microsoft Bot not being installed iin teams through graph API

Jawad Omer 5 Reputation points
2024-09-05T22:27:36.06+00:00

Hi! I have created an app registration in Azure for my bot and configured all the permissions as shown below for the Graph API. I have tested the bot in webchat and teams and it works. However, now we are trying to install the bot using the graph api but when we do that it sends a 400 saying "caller has not consented to permission". However, I can see that we ask for the installation permission during Oauth.

Microsoft Teams
Microsoft Teams
A Microsoft customizable chat-based workspace.
10,320 questions
Microsoft Teams Development
Microsoft Teams Development
Microsoft Teams: A Microsoft customizable chat-based workspace.Development: The process of researching, productizing, and refining new or existing technologies.
3,342 questions
{count} votes

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.