Microsoft Graph API - 限制 [英] Microsoft Graph API - Throttling

查看:26
本文介绍了Microsoft Graph API - 限制的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在请求开始受到限制之前,应用程序是否可以向 Microsoft Graph API 发出特定数量的请求/分钟(特定于租户)?

Is there a specific number of requests/minute (specific to a tenant) that an application can make to Microsoft Graph APIs before requests start getting throttled?

推荐答案

不,不是特定于租户(至少不是图表中与 Outlook 相关的部分).每个应用程序的每个用户都会进行节流.阈值为每 10 分钟 10000 个请求.

No, not specific to a tenant (at least not for the Outlook-related parts of the Graph). Throttling is done per user per app. The threshold is 10000 requests every 10 minutes.

https://blogs.msdn.microsoft.com/exchangedev/2017/04/07/throttling-coming-to-outlook-api-and-microsoft-graph/

对于非 Outlook 的东西,我不确定限制是什么.Graph 要说的都在这里:

For non-Outlook stuff, I'm not sure what the limits are. All Graph has to say about it is here:

https://developer.microsoft.com/en-us/图/文档/概念/节流

这里的要点是您不应该依赖特定的阈值,因为我们可以随时更改它,以保护服务的完整性.通过正确处理 429 错误响应,确保您的应用可以优雅地处理被限制.

The takeaway here is you should not depend on a specific threshold since we can always change it if we need to in order to protect the integrity of the service. Ensure that your app can gracefully handle being throttled by handling the 429 error response properly.

这篇关于Microsoft Graph API - 限制的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆