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
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