Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Compete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.

Reply
ljt5
Frequent Visitor

Add Microsoft.PowerBIDedicated/capacities/write permission to client application?

Hi, I want to use the Azure REST API to update the capacity of a Power BI Embedded using the API. I want to use this endpoint:

PATCH:  https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/provi...

Info here: https://learn.microsoft.com/en-us/rest/api/power-bi-embedded/capacities/update?tabs=HTTP

The problem is I'm getting the following error message: 

 

The client 'xxx' with object id 'xxx' does not have authorization to perform action 'Microsoft.PowerBIDedicated/capacities/write' over scope '/subscriptions/xxx' or the scope is invalid. If access was recently granted, please refresh your credentials.

 

I have created a Client Application and added it with role Contributor to the PowerBI Embedded resource. I can use other endponts of the PowerBI Embedded Capacities API that require read permission but not this one.

I have also tried to add the application to the PowerBI Capacity Administrators in the Azure Portal but still no write permission. How can I give Microsoft.PowerBIDedicated/capacities/write permission to the client app? Thx

0 REPLIES 0

Helpful resources

Announcements
August Power BI Update Carousel

Power BI Monthly Update - August 2025

Check out the August 2025 Power BI update to learn about new features.

August 2025 community update carousel

Fabric Community Update - August 2025

Find out what's new and trending in the Fabric community.