Is the public preview feature of Cost Management anomaly detection approachable in Powershell or API?

Sander Koster 26 Reputation points

In the cost analysis public preview there is now an option for detecting anomalies within subscriptions.
It is possible to receive an email for every anomaly detected through the "cost alerts" option but as far as I can tell you can't get the data from any REST API yet (neither cost management or consumption).

So my question is: Is there any way in which these cost anomalies can be queried through either Powershell or an API call so that I could keep track of them better?

Documentation on cost anomaly detection:

Azure Cost Management
Azure Cost Management
A Microsoft offering that enables tracking of cloud usage and expenditures for Azure and other cloud providers.
1,402 questions
0 comments No comments
{count} votes

Accepted answer
  1. Ryan Hill 21,126 Reputation points Microsoft Employee

    Since Cost Management Anomaly is in public preview, I doubt Powershell commandlets have been made available. I also didn't see anything definitions on under the docs, so I will have to reach out to the team and see what the timeline may be. In the meantime, what you can do is on the preview screens on the portal, run an F12 network trace to examine what API calls are being made so you can at least try to experiment with what's there already.

    2 people found this answer helpful.

0 additional answers

Sort by: Most helpful