Forum Discussion

Charline_74's avatar
Charline_74
Icon for Resolver I rankResolver I
3 years ago
Solved

Azure Cost Management : Expression.Error: Access to the resource is prohibited

Hello, I am trying to create a Power BI report with the Azure Cost Management connectors but I can't access the resource. Has anyone had this error before?    
  • jaweher899's avatar
    3 years ago

    The error "Access to the resource is forbidden" when trying to access the Azure Cost Management connectors in Power BI is likely due to insufficient permissions.

    You need to have the required roles and permissions to access the Azure Cost Management API. Here are some common causes of the error and how to resolve them:

    1. Insufficient Azure Role-Based Access Control (RBAC) permissions: Ensure that you have the correct Azure RBAC role assigned to your user account or service principal.

    2. Incorrect API Key: Verify that you are using the correct API key and that it has the correct permissions to access the Azure Cost Management API.

    3. Incorrect subscription ID: Make sure that you are using the correct subscription ID for your Power BI workspace.

    You can also try troubleshooting by reviewing the Azure Active Directory audit logs for any related events.