Starting December 3, join live sessions with database experts and the Microsoft product team to learn just how easy it is to get started
Learn moreGet certified in Microsoft Fabric—for free! For a limited time, get a free DP-600 exam voucher to use by the end of 2024. 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.
Starting December 3, join live sessions with database experts and the Fabric product team to learn just how easy it is to get started.
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Early Bird pricing ends December 9th.
User | Count |
---|---|
37 | |
27 | |
17 | |
13 | |
8 |
User | Count |
---|---|
46 | |
39 | |
33 | |
17 | |
16 |