I am trying to subscibe to /appCatalogs/teamsApps/785b5e1d-93e7-48a1-bdad-2d150392935d/installedToChats using the /subscriptions endpoint but it keeps on throwing me this error about the resource not found at installedToChats

PSE Admin 0 Reputation points
2024-02-08T06:22:57.9+00:00

I am trying to subscibe to /appCatalogs/teamsApps/785b5e1d-93e7-48a1-bdad-2d150392935d/installedToChats using the /subscriptions endpoint but it keeps on throwing an error about the resource not found at installedToChats.

Headers:

Content-type: application/json

Authorization: Bearer XXXXXXXX

Payload:

{ "changeType": "created", "notificationUrl": "https://my-webhook.test", "resource": "/appCatalogs/teamsApps/785b5e1d-93e7-48a1-bdad-2d150392935d/installedToChats", "expirationDateTime":"2024-02-08T00:00:00.0000000Z" } I even tried sending a GET request to https://graph.microsoft.com/v1.0/appCatalogs/teamsApps/785b5e1d-93e7-48a1-bdad-2d150392935d/installedToChats and got the same error. Does “installedToChats” really exist?

I even tried granting admin consent to ALL the Application permissions listed in the documenation:

  • Chat.ReadBasic.WhereInstalled
  • Chat.Read.WhereInstalled
  • Chat.ReadWrite.WhereInstalled
Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
13,483 questions
0 comments No comments
{count} votes

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.