Power BI is turning 10, and we’re marking the occasion with a special community challenge. Use your creativity to tell a story, uncover trends, or highlight something unexpected.
Get startedJoin 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.
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
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.
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.
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
Check out the June 2025 Power BI update to learn about new features.
User | Count |
---|---|
11 | |
6 | |
4 | |
2 | |
2 |
User | Count |
---|---|
4 | |
3 | |
3 | |
3 | |
3 |