Share via

MS Graph Messages post limits

Anonymous
Nov 30, 2023, 1:11 PM

Hi,

What are the limits for sending 1-to-1 messages using the MS Graph API (messages per second)? I cannot find any documentation. The AI feature while posting this question says

The Microsoft Graph API imposes limits on the number of requests an application can make to the API. For 1-to-1 messages, the limit is not specified in the documentation. However, the Outlook service limits apply to the Microsoft Graph API, and the Outlook service limits the number of API requests to 10,000 in a 10-minute period and 4 concurrent requests for v1.0 and beta endpoints. It is possible that exceeding these limits could result in the PreconditionFailed error message you are seeing.

I occasionally get ODataError errors with the message PreconditionFailed when trying to send more than 5 messages in a second.

Regards,

Richard

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
13,505 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Ran Hou-MSFT 7,575 Reputation points Microsoft External Staff
    Dec 1, 2023, 2:33 AM

    Hi @Anonymous

    Thanks for visiting our forum. Microsoft Teams tag is mainly focused on the general issue of Microsoft Teams application troubleshooting. Based on your description, this problem is more related to Microsoft Graph, which we're not familiar.

    The following is for informational purposes only:

    According to the Microsoft Graph document, the following limits apply to sending 1-to-1 messages using the MS Graph API:

    User's image

    The limits apply to any request, including POST requests that send a message. However, these limits are subject to change and may vary depending on the request type, the scope of the limit, and other factors.

    Hope the above information is helpful for you!


    If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".

    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.



Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.