Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!Learn from the best! Meet the four finalists headed to the FINALS of the Power BI Dataviz World Championships! Register now
Hi, We are planning to migrate one of our SQL server database to a different server. This database is being extensively used in Power BI reports. I need to identify all the reports in the service which are referencing the impacted database.
Is there any way to scan the reports in Power BI service to list down all the impacted reports.
Maybe through the Power BI PowerShell API?
Check out Power BI Rest APIs.
Attached the link of the one I think that would be useful for you.
You can configure the loops for your datasets and then get the final result in an array using Logic Apps.
https://docs.microsoft.com/en-us/rest/api/power-bi/datasets/getdatasourcesingroup
Thanks, smarthp29.
API is very useful if we know the dataset and workspace details but I don't access to all the datasets/workspace. Is there any API which takes tenant details as input and then scan the all the workspace to list down the data source.
@Anonymous
Give API an admin access to PowerBI Service. This will automatically grant him access to all the workspace.
OR
Use the account that has global admin access to PowerBI Service (i.e) the account used for setup of the environment in the tenant. This will grant access to all the workspaces.
https://docs.microsoft.com/en-us/rest/api/power-bi/groups/getgroups
Thanks!!
Looks like I don't have tenant admin access. Also don't have recovery key for the gateway.
Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.
Check out the February 2026 Power BI update to learn about new features.