How to Monitor O365 Management Activity API Usage Trends to Avoid API Rate Limits?

Munkongpat, Tanyaaluk 0 Reputation points
2025-01-30T07:31:07.81+00:00

Hi,

I am using the O365 Management Activity API to retrieve logs and track activity within my Microsoft 365 tenant. However, I want to analyze API usage trends to avoid running jobs during peak periods and prevent hitting API request limits.

Questions:

Is there an official method or tool to monitor the overall API request usage in my tenant over time?

Can I use O365 Management API logs or Microsoft Graph API reports to track the volume of API requests being made?

Is there a way to view historical data of API consumption to identify peak periods?

Any guidance, documentation links, PowerShell commands, API endpoints, or Azure Monitoring options would be greatly appreciated!

Thanks in advance!

Azure Monitor
Azure Monitor
An Azure service that is used to collect, analyze, and act on telemetry data from Azure and on-premises environments.
3,452 questions
Azure API Management
Azure API Management
An Azure service that provides a hybrid, multi-cloud management platform for APIs.
2,287 questions
{count} votes

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.