How can I install TeamsApps to chat #1214
Unanswered
Keisuke Ueda (kueda9321)
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Hi,
I'd like to install Teams Apps to chat using the Graph API. Following the documentation, I implemented the code as shown below:
This code triggered the following API Error:
When I tried passing a body with only additional_data (i.e., excluding consented_permission_set), the same error occurred.
For further investigation, I tried using this API via Graph Explorer and faced two problems:
When posting a body with only
teamsApp@odata.bind, I received a Bad Request - 400: ResourceSpecificPermissionsMismatch.I believe this is an expected error because the app I want to install requires resource-specific consent.
Next, when I added consentedPermissionSet to the body (similar to my Python code), I received a Bad Gateway - 502: Failed to execute backend request.
I've tried multiple approaches both in Python and Graph Explorer, but I can't successfully install the app to the chat. How can I resolve this issue?
All reactions