Filters not working for Azure Consumption Rest APIs

Ananya 0 Reputation points
2025-06-26T07:10:14.17+00:00

I attempted to list resources using the Microsoft Consumption Usage Details API, but the results did not reflect the changes I made.

Here is the request I submitted: https://management.azure.com/subscriptions/{subscription_name}/providers/Microsoft.Consumption/usageDetails?api-version=2024-08-01&$expand=properties&$filter=properties/resourceName eq '{resource_name}'&$top=5.

Azure API Management
Azure API Management
An Azure service that provides a hybrid, multi-cloud management platform for APIs.
2,447 questions
Azure Logic Apps
Azure Logic Apps
An Azure service that automates the access and use of data across clouds without writing code.
3,542 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.