调sendActivityNotification报错

Chen Heyuan 0 信誉分
2024-05-28T03:15:31.4866667+00:00

调用接口POST https://graph.microsoft.com/v1.0/chats/{chatId}/sendActivityNotification报错

{

"error": {

"code": "Forbidden",

"message": "Application with AAD App Id '6c67b54d-866d-4405-876a-0d99323a0e86' is not authorized to generate notifications about 'https://graph.microsoft.com/v1.0/chats/19:e80dd5b4-ecb6-46ab-8605-8fb0281c0bd6_f80482f7-ad6c-487a-aa67-c84539b487e1@unq.gbl.spaces' to the recipient. Ensure that the expected Teams app is installed in the target scope (user, team, or chat).",

"innerError": {

  "date": "2024-05-28T03:08:33",

  "request-id": "8e7c246a-1836-4885-9c29-3b81f572616a",

  "client-request-id": "8e7c246a-1836-4885-9c29-3b81f572616a"

}

}

}

我这边是还需要什么配置吗

Microsoft Graph
Microsoft Graph
一种 Microsoft 可编程性模型,用于公开 REST API 和客户端库以访问 Microsoft 365 服务上的数据。
43 个问题
0 个注释 无注释
{count} 票

你的答案

问题作者可以将答案标记为“接受的答案”,这有助于用户了解已解决作者问题的答案。