This is best Fabric, Power BI, SQL and AI community event. How do we know? The last event sold out! Save €200 with code FABCMTY200.
Register nowA new Data Days event is coming soon! This time we’re going bigger than ever. Fabric, Power BI, SQL, AI and more. Don't miss out.
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.
Sign up to receive a private message when registration opens and key events begin.
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
| User | Count |
|---|---|
| 11 | |
| 10 | |
| 7 | |
| 7 | |
| 6 |
| User | Count |
|---|---|
| 28 | |
| 25 | |
| 22 | |
| 22 | |
| 20 |