Check your eligibility for this 50% exam voucher offer and join us for free live learning sessions to get prepared for Exam DP-700.
Get StartedDon't miss out! 2025 Microsoft Fabric Community Conference, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount. Prices go up February 11th. Register now.
Recently found out that I have 2 "hidden" dataflows from our workspace. Is there some way I can get rid of these in the service? The 2 dataflows appear like so in the dataflow selection dialog box in Desktop but are not listed in the dataset page in the Service.
Solved! Go to Solution.
Thanks Olivier, finally got it to working using this command:
Invoke-PowerBIRestMethod -Url "https://api.powerbi.com/v1.0/myorg/groups/{workspaceid}/dataflows/{dataflowid}" -Method Delete
This requires that the current user is logged in using Login-PowerBIServiceAccount in PowerShell
I don't use PowerShell often so I'm not sure. Maybe it's case sensitive, in which case writing "Delete" instead of "DELETE" may work?
Thanks Olivier, finally got it to working using this command:
Invoke-PowerBIRestMethod -Url "https://api.powerbi.com/v1.0/myorg/groups/{workspaceid}/dataflows/{dataflowid}" -Method Delete
This requires that the current user is logged in using Login-PowerBIServiceAccount in PowerShell
I would first get the dataflows definitions via the REST API, and if upon review you know for sure that you want to delete them, again I'd do so using the API:
https://docs.microsoft.com/en-us/rest/api/power-bi/dataflows/delete-dataflow
Thanks Olivier. I tried the function but I'm running across several errors:
Invoke-PowerBIRestMethod DELETE https://api.powerbi.com/v1.0/myorg/groups/{wsid}/dataflows/{dfid}
Returns
Invoke-PowerBIRestMethod : A positional parameter cannot be found that accepts argument 'DELETE'.
At line:1 char:1
+ Invoke-PowerBIRestMethod DELETE https://api.powerbi.com/v1.0/myorg/gr ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : InvalidArgument: (:) [Invoke-PowerBIRestMethod], ParameterBindingException
+ FullyQualifiedErrorId : PositionalParameterNotFound,Microsoft.PowerBI.Commands.Profile.InvokePowerBIRestMetho
d
While
DELETE : The term 'DELETE' is not recognized as the name of a cmdlet, function, script file, or operable program.
Check the spelling of the name, or if a path was included, verify that the path is correct and try again.
At line:1 char:1
+ DELETE https://api.powerbi.com/v1.0/myorg/groups/3801c78c-8a5a-4b17-9 ...
+ ~~~~~~
+ CategoryInfo : ObjectNotFound: (DELETE:String) [], CommandNotFoundException
+ FullyQualifiedErrorId : CommandNotFoundException
Returns
DELETE : The term 'DELETE' is not recognized as the name of a cmdlet, function, script file, or operable program.
Check the spelling of the name, or if a path was included, verify that the path is correct and try again.
At line:1 char:1
Any idea where I went wrong?
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Prices go up Feb. 11th.
Check out the January 2025 Power BI update to learn about new features in Reporting, Modeling, and Data Connectivity.
User | Count |
---|---|
28 | |
26 | |
22 | |
22 | |
18 |
User | Count |
---|---|
52 | |
34 | |
28 | |
24 | |
21 |