Get certified in Microsoft Fabric—for free! For a limited time, the Microsoft Fabric Community team will be offering free DP-600 exam vouchers. Prepare 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.
Check out the October 2024 Power BI update to learn about new features.
Learn from experts, get hands-on experience, and win awesome prizes.
User | Count |
---|---|
53 | |
40 | |
31 | |
30 | |
21 |