Can't get metric definition via Api

Mohsin Jesani 1 Reputation point

When I try to get metric definition for a resource via Azure rest api I get below error.

"Invalid request : metric definitions contains multiple copies of the extension api 'providers/microsoft.insights/metricdefinitions'".

I tried it for VM and storage account in both the case I got the same error.

Azure Monitor
Azure Monitor
An Azure service that is used to collect, analyze, and act on telemetry data from Azure and on-premises environments.
2,089 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Malleswara Reddy 1,631 Reputation points


    It's hard to tell you the exact problem without the code or the link you are following.

    Please double check your parameters -