MS Graph Webhook 只能调用 public API 吗?
Can MS Graph Webhook can only invoke public API?
实施一项服务,当邮箱收到电子邮件时会收到通知。创建订阅很好,但它只会在创建的 API 网关在 AWS 上设置为区域时接收邮件,使其 public.
这对我来说似乎很奇怪,没有办法使用 oauth 详细信息配置 webhook,而不是让 api 打开。
在文档中看不到任何关于此的内容,也有兴趣听听其他人正在做什么来解决这个问题..
谢谢
经过大量研究并提出问题后,我在此处向 Microsoft 发布了问题 https://github.com/microsoftgraph/msgraph-sdk-javascript/issues/406 it seems the only way to use a non public notification URL is by using Azure Event Hubs https://docs.microsoft.com/en-us/graph/change-notifications-delivery
还有一种替代解决方法可以保留您的端点 public,但创建资源策略以仅接受来自此处列出的 Microsoft IP 地址的流量 https://docs.microsoft.com/en-us/microsoft-365/enterprise/additional-office365-ip-addresses-and-urls?view=o365-worldwide(请参阅“Microsoft Graph Change Notifications”条目)
实施一项服务,当邮箱收到电子邮件时会收到通知。创建订阅很好,但它只会在创建的 API 网关在 AWS 上设置为区域时接收邮件,使其 public.
这对我来说似乎很奇怪,没有办法使用 oauth 详细信息配置 webhook,而不是让 api 打开。
在文档中看不到任何关于此的内容,也有兴趣听听其他人正在做什么来解决这个问题..
谢谢
经过大量研究并提出问题后,我在此处向 Microsoft 发布了问题 https://github.com/microsoftgraph/msgraph-sdk-javascript/issues/406 it seems the only way to use a non public notification URL is by using Azure Event Hubs https://docs.microsoft.com/en-us/graph/change-notifications-delivery
还有一种替代解决方法可以保留您的端点 public,但创建资源策略以仅接受来自此处列出的 Microsoft IP 地址的流量 https://docs.microsoft.com/en-us/microsoft-365/enterprise/additional-office365-ip-addresses-and-urls?view=o365-worldwide(请参阅“Microsoft Graph Change Notifications”条目)