Forum Discussion
LeeJinWoo
Aug 20, 2023Copper Contributor
Attempting to install the Teams app into a meeting using the Graph API returns a 404:Not Found value
Hi, I'm working on a Java back end application. Its purpose is to: 1. Automatically create an online meeting when certain conditions are met. 2. After creating an online meeting, install a specifi...
LeeJinWoo
Aug 22, 2023Copper Contributor
Hi, 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
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-MSFT
Microsoft
Aug 22, 2023LeeJinWoo - 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.