Hi Guys,
We are using below cost api url to fetch data
https://management.azure.com/subscriptions/1313131`131313/resourceGroups/rg1/providers/Microsoft.CostManagement/query?api-version=2019-11-01
it works fine when use it below url
https://docs.microsoft.com/en-us/rest/api/cost-management/dimensions/list
But when we test in post man or other tools we receive below error
{
"error": {
"code": "AuthenticationFailed",
"message": "Authentication failed. The 'Authorization' header is missing."
}
}
We tried to pass user=xyz@zyz.com (company O365 id which has access to that resource group) and pwd=xyz in the body.
Regards,
Navin