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

Join us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.

Reply
rockcliff15
Frequent Visitor

Rename DataFlow using REST API - You do not have permissions

Hi

 

I am happilly using the Power BI REST APIs for pulling information about dataflows and triggering refreshes. I am doing this using a service principal which has appropriate permissions to the tenant and the workspaces.

 

I would like to use the update data flow API so I can programmatically rename dataflows, however when I do this by making an API call I receive the error "You do not have permissions to manage this dataflow". 

 

I assume this is because the service principal is not the owner of the Dataflow and as a result cannot rename it. Is there an API call I can make to "take over" the dataflow and make the service principal the owner so I can rename it?

 

Thanks

3 REPLIES 3
v-lionel-msft
Community Support
Community Support

Hi @rockcliff15 ,

 

"Is there an API call I can make to "take over" the dataflow and make the service principal the owner so I can rename it?"

 

Dataflows (Power BI Power BI REST APIs) | Microsoft Docs

I did not find such a Rest API that allows you to change the owner, even if such an API exists, you will be required to have Dataflow.ReadWrite.All😂.

You should obtain the required permissions first.

 

Best regards,
Lionel Chen

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

 

 

 

 

lbendlin
Super User
Super User

When you registered your app did you ask for Dataflow.ReadWrite.All permissions?

Yes I have registered the app with Dataflow.ReadWrite.All permissions but still receive error.

 

Interestingly if i remove this permission I can still read the data from the dataflow.

Helpful resources

Announcements
Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

June 2025 Power BI Update Carousel

Power BI Monthly Update - June 2025

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

June 2025 community update carousel

Fabric Community Update - June 2025

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