Jozef Lačný Welcome to Microsoft Q & A Community Forum. Kindly check this document to know more about the authentication process for Cost Management API as well as for the required permissions based on your billing account.
Generate Cost Details Report - Create Operation
Jozef Lačný
26
Reputation points
We are migrating from Usage Details API to Generate Cost Details Report . We've been using the Usage Details with an enterprise application with Azure Service Management/user_impersonation permission. Now this App is not working with Generate cost details report API - we are getting HTTP 406.
We are getting our JWT token with
https://login.microsoftonline.com/TENANT_ID/oauth2/token
Could you point to documentation stating what permission has the app to have? Or is there anything else wrong?