Forum Discussion
Azure Cost Management : Expression.Error: Access to the resource is prohibited
- 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:
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.
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.
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.
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:
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.
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.
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.