Forum Discussion
Microsoft Graph - List apps in chat - 404 UnknownError
In Microsoft Graph, I would like to list all Teams apps associated to an onlineMeeting (to its chat actually).
According to List apps in chat - Microsoft Graph v1.0 | Microsoft Learn, this is supported with the following request : GET /chats/{chat-id}/installedApps
There is a note saying that if the chat is associated with an onlineMeeting instance, then, effectively, the teamsApps installed in the meeting will be listed. That should work.
However, I'm getting a 404 with UnknownError as the error.code on my end.
The right permission (TeamsAppInstallation.ReadWriteForChat) is granted (Chat.ReadWrite is granted as well). Testing from Graph Explorer from now.
Please note that the following is working to get chat messages with the same chat-id : GET /chats/{chat-id}/messages or the following to get chat members : GET /chats/{chat-id}/members
I've tried the endpoint POST /chats/{chat-id}/installedApps to add an app to the chat as well but I'm getting the same kind of 404 (documented on Add app to chat - Microsoft Graph v1.0 | Microsoft Learn).
Any advice?
Thanks
2 Replies
- Sayali-MSFT
Microsoft
Hello @Benjiiim -Listing installed apps in a chat (GET /chats/{chat-id}/installedApps) works for group chats and 1:1 chats. For meeting chats (chats created for online meetings), this API is not fully supported for all tenants and scenarios. The 404 error with UnknownError is a common symptom when the API is not supported for the chat type or the app context.
Meeting chats are a special type of chat in Teams, and the Graph API support for listing or adding apps to these chats is limited and sometimes only available for certain Microsoft-internal or preview tenants.
There is no supported workaround to list or add apps to a meeting chat via Microsoft Graph in most production/dev tenants.If you need to automate app installation for meetings, this is not currently possible via Graph API.
- Nivedipa-MSFT
Microsoft
@Benjiiim - Thanks for bringing this issue to our attention. We will check and update you soon.