March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Early bird discount ends December 31.
Register NowBe one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch 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.
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!
Your insights matter. That’s why we created a quick survey to learn about your experience finding answers to technical questions.
Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.
User | Count |
---|---|
37 | |
22 | |
20 | |
10 | |
9 |
User | Count |
---|---|
60 | |
56 | |
22 | |
14 | |
12 |