Mike Hardy on 22 Feb 2020 03:55:58
There is currently no way to rename a dataset or report via the REST API.
- Comments (6)
RE: Rename Datasets & Reports via REST API
any update for this feature?
RE: Rename Datasets & Reports via REST API
I see that the post has been open for more than 3 years... Is there an API to rename dataset and Report in PowerBI?? If yes could you please share the documentation for it.... From the PowerBI web app am able to rename a dataset.. so it would be great if we have the same feature as an api as well...
RE: Rename Datasets & Reports via REST API
A very needed feature. Have a customer who needs to enforce a naming convention on reports created through their embedded instance. Seems like an easy enough ask, but the only way we can currently do it is following the steps below. Ideally, it would be great if Workspace Admins could set a naming convention for all new reports in that workspace or if we can pass a naming convention through the create report feature in the embedded instance itself, but even having one API to rename instead of needing to clone and delete would help a lot. The only way to enforce a naming standard would be to run a process using the Power BI REST APIs that can do the following:Identify the bad reportsClone them with a corrected name Delete the original report with the faulty name
RE: Rename Datasets & Reports via REST API
So do we
RE: Rename Datasets & Reports via REST API
Hi Mike, hi Ali,
you are right, there is no method rename so far. I'm also unhappy with lot of missing features in the API.
But for Datasets and Dataflows there are update parameter Methods, can you check them?
https://docs.microsoft.com/en-us/rest/api/power-bi/datasets/updateparameters
https://docs.microsoft.com/en-us/rest/api/power-bi/dataflows/updatedataflow
The docu sais, updating of the parameter "Name" should be possible.
For Reports I didn't found a rename capability. Therefore you could update the content, which is missing for the other object tpyes.
RE: Rename Datasets & Reports via REST API
We need this feature