The process of building custom applications and tools that interact with Microsoft SharePoint, including SharePoint Online in Microsoft 365.
Thank you for reaching out to the Microsoft Q&A Forum and sharing your issue.
Based on my research, the intermittent 429 (Too Many Requests) responses you are seeing are expected behavior when Microsoft Graph throttling thresholds are exceeded. Microsoft Graph implements throttling limits to protect service availability, especially in large-scale enterprise scenarios where a high volume of requests may occur across multiple workloads such as Users, Groups, Teams, and Mail.
To handle these throttling scenarios, I recommend reviewing the recommendations from Q&A Assist, including batching requests, reducing call frequency, using exponential backoff, and honoring the Retry-After header when retrying requests.
I hope this helps.
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.