为租户的所有用户创建Microsoft Graph订阅

发布于 2025-02-01 00:01:16 字数 143 浏览 4 评论 0原文

我创建了一个应用程序(具有应用程序级别的权限),该应用程序会在用户接收电子邮件时创建用于接收通知的订阅。目前,我必须为租户的多个用户创建多个订阅。

有没有办法为租户的所有用户创建单个订阅,并在租户中的任何用户收到邮件时都会收到通知?

提前致谢。

I have created an application (with application level permissions) which creates subscription for receiving notifications when an user receives an email. Currently, I have to create multiple subscriptions for multiple users of an tenant.

Is there a way I can create a single subscription for all users of a tenant and receive notification whenever any user in the tenant receives a mail?

Thanks in advance.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

心的位置 2025-02-08 00:01:16

抱歉,多个用户不支持单个订阅,您需要在租户中使用单个用户。

请查看文档以获取有关订阅的更多信息 - https://learn.microsoft.com/en-us/graph/api/resources/subscription?view=graph=graph-Rest-1.0 和设置通知,请关注docs- https://learlen.microsoft.com/en-en-us/graph/graph/webhooks/webhooks/webhooks

Sorry , single subscription is not supported for multiple user, you need to use individual user in the tenant.
enter image description here

Please check out the docs for more info regarding subscription - https://learn.microsoft.com/en-us/graph/api/resources/subscription?view=graph-rest-1.0 and to setup notification, please follow docs- https://learn.microsoft.com/en-us/graph/webhooks

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文