# Microsoft Azure API rate limits

Copy as Markdown[Open in ChatGPT](https://chatgpt.com/?q=Read%20https%3A%2F%2Fcoralogix.com%2Fdocs%2Fintegrations%2Fazure%2Fmicrosoft-azure-api-rate-limits.md%20and%20help%20me%20with%20my%20question%20about%20this%20Coralogix%20documentation%20page.)[Open in Claude](https://claude.ai/new?q=Read%20https%3A%2F%2Fcoralogix.com%2Fdocs%2Fintegrations%2Fazure%2Fmicrosoft-azure-api-rate-limits.md%20and%20help%20me%20with%20my%20question%20about%20this%20Coralogix%20documentation%20page.)

Azure Resource Manager enforces rate limits on API requests to prevent overconsumption and ensure fair usage across tenants and subscriptions. When the limit is exceeded, Azure returns HTTP status code 429 (Too Many Requests). Monitor these limits to understand your API consumption patterns and avoid throttling.

For more information, see [Azure Resource Manager throttling](https://learn.microsoft.com/en-us/azure/azure-resource-manager/management/request-limits-and-throttling).

## Prerequisites[​](#prerequisites "Direct link to Prerequisites")

* Integration with Microsoft Azure, as detailed in **[Azure Metrics](https://coralogix.com/docs/docs/integrations/azure/azure-metrics/.md)**.
* Integration version **1.8.0** or later.

## Collected data[​](#collected-data "Direct link to Collected data")

Three metrics are collected, one per rate limit scope. Each metric has a data point for `read` and `write` operations.

| Metric                                                 | Source headers                                                                                               | Description                                                                                   |
| ------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------ | --------------------------------------------------------------------------------------------- |
| `azure_management_api_remaining_requests_subscription` | `x-ms-ratelimit-remaining-subscription-reads` / `x-ms-ratelimit-remaining-subscription-writes`               | Remaining requests at the subscription scope                                                  |
| `azure_management_api_remaining_requests_global`       | `x-ms-ratelimit-remaining-subscription-global-reads` / `x-ms-ratelimit-remaining-subscription-global-writes` | Remaining requests at the global subscription scope (aggregate across all service principals) |
| `azure_management_api_remaining_requests_tenant`       | `x-ms-ratelimit-remaining-tenant-reads` / `x-ms-ratelimit-remaining-tenant-writes`                           | Remaining requests at the tenant scope                                                        |

For details on scopes, default limits, and the token bucket algorithm, see [Azure Resource Manager request limits and throttling](https://learn.microsoft.com/en-us/azure/azure-resource-manager/management/request-limits-and-throttling).

### Labels[​](#labels "Direct link to Labels")

| Label               | Description                                                                                                           |
| ------------------- | --------------------------------------------------------------------------------------------------------------------- |
| `cloud.provider`    | Always `azure`                                                                                                        |
| `cloud.account.id`  | The Azure subscription ID                                                                                             |
| `operation`         | `read` or `write`                                                                                                     |
| `subscription.name` | The subscription display name (only when `EnableSubscriptionLabel` is enabled). Subscription and global metrics only. |
| `tenant_id`         | The Azure tenant ID. Tenant metrics only.                                                                             |

### Rate limit scopes[​](#rate-limit-scopes "Direct link to Rate limit scopes")

Azure tracks API rate limits at three levels:

| Scope        | Description                                                |
| ------------ | ---------------------------------------------------------- |
| Subscription | Per security principal, per subscription                   |
| Global       | Aggregate across all service principals for a subscription |
| Tenant       | Per security principal, per tenant                         |

## Additional resources[​](#additional-resources "Direct link to Additional resources")

|               |                                                                                                                                                  |
| ------------- | ------------------------------------------------------------------------------------------------------------------------------------------------ |
| Documentation | [Azure Metrics](https://coralogix.com/docs/docs/integrations/azure/azure-metrics/.md)                                                            |
| Azure docs    | [Azure Resource Manager request limits](https://learn.microsoft.com/en-us/azure/azure-resource-manager/management/request-limits-and-throttling) |
