Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
Anonymous
Not applicable

Identify Power BI Reports

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.  

5 REPLIES 5
Greg_Deckler
Super User
Super User

Maybe through the Power BI PowerShell API?


@ me in replies or I'll lose your thread!!!
Instead of a Kudo, please vote for this idea
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!:
The Definitive Guide to Power Query (M)

DAX is easy, CALCULATE makes DAX hard...
smarthp29
Helper I
Helper I

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

Anonymous
Not applicable

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

Anonymous
Not applicable

Thanks!!

 

Looks like I don't have tenant admin access.   Also don't have recovery key for the gateway. 

 

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.

March 2024 PBI Gallery Image

Power BI Monthly Update - March 2024

Check out the March 2024 Power BI update to learn about new features.

Top Solution Authors
Top Kudoed Authors