0
votes

I have created a MS Team's app package. I have uploaded it to my organization using teams service admin credentials.(ref:https://docs.microsoft.com/en-us/MicrosoftTeams/tenant-apps-catalog-teams?toc=/microsoftteams/platform/toc.json&bc=/MicrosoftTeams/breadcrumb/toc.json). I am trying to add this app to a team by using 'Add app to team' API(ref:https://docs.microsoft.com/en-us/graph/api/teamsappinstallation-add?view=graph-rest-1.0&tabs=http). I am getting '404 not found' error. I am using the id provided in the team's app package in the request body. Any help would be appreciated.

1

1 Answers

1
votes

The id must be "the catalog app's generated app ID (different from the developer-provided ID in the Microsoft Teams zip app package." (https://docs.microsoft.com/en-us/graph/api/resources/teamsapp?view=graph-rest-1.0)

Once the app is deployed to the app catalog, you then must query the app catalog, filtering on the external id. (e.g. externalId eq '{teamsAppManifestId}')