Forum Discussion
Attempting to install the Teams app into a meeting using the Graph API returns a 404:Not Found value
The error message indicates that the app definition doesn't exist, which means that the Teams app you are trying to install in the meeting is not found. This could be due to various reasons such as:
-
Incorrect app ID or app package ID: Make sure that you are using the correct app ID or app package ID when installing the app. Double-check the ID in your code or configuration.
-
App not uploaded or published: Ensure that you have uploaded and published the app in the Teams admin center or the Microsoft Teams App Studio. Without publishing the app, it won't be available for installation.
-
App manifest not configured correctly: Check the app manifest file (app package) to ensure that it is configured correctly. The manifest file contains the necessary information about the app, including its capabilities, permissions, and endpoints.
Thanks,
Prasad Das
------------------------------------------------------------------------------------------
If the response is helpful, please click "**Mark as Best Response**" and like it. You can share your feedback via Microsoft Teams Developer Feedback link.
- LeeJinWooAug 22, 2023Copper ContributorHi, Thanks for your advice.
I guess I've probably found a suitable app ID value. This time, the error code has been changed as follows. What should I check for the ResourceSpecificPermissionsMismatch code?
POST https://graph.microsoft.com/v1.0/chats/19:meeting_MzA4NDcxM2ItMWIyNy00ODVlLTgzMjQtNjg5MWI0MGJjNTVi@thread.v2/installedApps
SdkVersion : graph-java/v5.68.0
{"email address removed for privacy reasons":"https://graph.microsoft.com/v1.0/appCatalogs/teamsApps/7613b7c9-d091-4920-a3b8-ee45efc78714"}
{
"error": {
"code": "BadRequest",
"message": "BadRequest",
"innerError": {
"message": "",
"code": "ResourceSpecificPermissionsMismatch",
"innerError": {},
"date": "2023-08-22T01:03:40",
"request-id": "a9d431bc-9fcf-4b5a-968d-7f8379d71c70",
"client-request-id": "13a32ae1-4743-41ab-8324-931c0c09f66b"
}
}
}
Thanks,
Lee- Prasad_Das-MSFTAug 22, 2023Microsoft
LeeJinWoo - This error occurs when the permissions required to access a specific resource are not properly configured or granted. To resolve this issue, you need to ensure that the necessary permissions are granted for the resource you are trying to access.
-
Identify the resource for which the permissions are mismatched. In this case, it could be "installedApps" resource.
-
Make sure that the app registration in Azure Active Directory (AAD) has been granted the necessary permissions. You can do this by navigating to the Azure portal, selecting the app registration, and configuring the required permissions under the "API permissions" section.
-
If the permissions are already configured correctly, try refreshing the access token or obtaining a new access token to ensure that the updated permissions are applied.
-