I am making API calls to Azure REST to get some information about Azure resources to further on monitor Azure services. I'm trying to make calls in the Postman, using JWT in the header, but some calls throws me errors like this:
-
ForbiddenError
The server failed to authenticate the request. Verify that the certificate is valid and is associated with this subscription.
I figured out that management.azure.com/subscriptions/... works just fine, but management.core.windows.net/... don't. Anyone can help me with this problem, please?
According to error, I need to get a certificate, but I don't really know how to do it and what to do it.
I really need to get an answer to this request:
management.core.windows.net/<subscription-id>/services/monitoring/alertrules