Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more
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.
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!
Check out the November 2025 Power BI update to learn about new features.