Don't miss your chance to take the Fabric Data Engineer (DP-700) exam on us!
Learn moreWe've captured the moments from FabCon & SQLCon that everyone is talking about, and we are bringing them to the community, live and on-demand. Starts on April 14th. Register now
Hi all,
The company that I work has an embedded to web Power BI Report for which they forgot the workspace where is stored.
Is there a way to find out to which Power BI Workspace it belongs?
Thank you!
Hi @AndreiSfarc ,
You can use the Power BI PowerShell cmdlets to find the workspace where the embedded report is stored. First, you need to make sure you have the Power BI PowerShell module installed. If you don't have it, you can install it using the following command:
Install-Module -Name MicrosoftPowerBIMgmt
Next, connect to the Power BI service account:
powershell
Connect-PowerBIServiceAccount
Now, you can loop through all the workspaces in your organization and check for the report. Replace with the name of the embedded report you're looking for:YourReportName
$reportName = "YourReportName"
$workspaces = Get-PowerBIWorkspace -Scope Organization -All
foreach ($workspace in $workspaces) {
$reports = Get-PowerBIReport -WorkspaceId $workspace.Id -Scope Organization
$foundReport = $reports | Where-Object { $_.Name -eq $reportName }
if ($foundReport) {
Write-Host "Report found in workspace: $($workspace.Name)"
break
}
}
This script will loop through all the workspaces in your organization and print the name of the workspace where the report is found. If the report is not found in any workspace, it won't print anything.
Best Regards,
Neeko Tang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.
Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.
| User | Count |
|---|---|
| 29 | |
| 23 | |
| 18 | |
| 17 | |
| 14 |