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 | Development
Microsoft Teams | Development
Building, integrating, or customizing apps and workflows within Microsoft Teams using developer tools and APIs
Microsoft Teams | Microsoft Teams for business | Other
{count} votes

Your answer

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