The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredCompete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.
Hi Folks!!
I need to retrieve Dataflow based on Workspace as per below PowerShell command
$Workspaces = Get-PowerBIWorkspace
$res = @( foreach ($workspace in $Workspaces) {Get-PowerBIDataFlow -Workspace $workspace }) | Export-Csv -NoTypeInformation -Path C:\Data\Dataflow.csv
I have near about 5000 workspace to pass in the above command.
Issue - This command breaks after passing 200th workspace to the script.
Can understand the failure as it is the limitation of PowerShell that it can only pass 200 record at a time.
Requirement - Is it possible to write command in such a way that it will pass 200 workspace first in one batch and another 200 in another batch i.e.
Please suggest
Thanks
Amit Srivastava
Please explain the true requirement behind this request. What are you planning to do with the dataflows afterwards?
This sounds more of a job for your O364 tenant admin.