cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
v-sapotu
Microsoft
Microsoft

How to know if a report is Live connected or Import in PowerBI Service

I have a requirement to know if a report is Live connected or Import model in PowerBI service. I have 50+ workspaces and need to get these details for each report in all workspaces. Is there any automated script for this like PowerShell cmdlets or REST API method?

3 REPLIES 3
v-lid-msft
Community Support
Community Support

Hi @v-sapotu ,

 

Currently we do not have directly function/api to determine if a report is Live Connected or Import, but by using the api provided by @GilbertQ , it will return the the type of datasource, but such as  for Analysis Service, it can use Import or Live Connected, if you want to determine the connective mode, then we can verify it in "Settings" - "Dataset", if it has scheduled refresh, it is using Import Mode, If it has scheduled cache refresh, it is using Live Connected. Note other datasources which only using DirectQuery Mode will also have scheduled cache refresh option too.

 

Please also refer following document which can get type of data source without administrator rights:

https://docs.microsoft.com/en-us/rest/api/power-bi/datasets/getdataset

https://docs.microsoft.com/en-us/rest/api/power-bi/datasets/getdatasetingroup

https://docs.microsoft.com/en-us/rest/api/power-bi/datasets/getdatasources

https://docs.microsoft.com/en-us/rest/api/power-bi/datasets/getdatasourcesingroup


Best regards,

 

Community Support Team _ Dong Li
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Thanks for your reply @v-lid-msft . I am trying the approach you mentioned. So there is no direct way to get 100 % exact result.

GilbertQ
Super User
Super User

Hi there

This Power BI REST API might be able to do this for you?

https://docs.microsoft.com/en-us/rest/api/power-bi/admin/datasets_getdatasourcesasadmin

It details what the data sources are?





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!







Power BI Blog

Helpful resources

Announcements
June 2022 update 768X460.jpg

Check it out!

Click here to read more about the June 2022 updates!

Power Platform Conf 2022 768x460.jpg

Join us for Microsoft Power Platform Conference

The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.

Power BI Dev Camp Session 23 768x460.jpg

Check it Out!

Mark your calendars and join us on Thursday, June 30 at 11a PDT for a great session with Ted Pattison!

June 20 episode 7 with aka link 768x460.jpg

The Power BI Community Show

Join us on June 20 at 11 am PDT when Kim Manis shares the latest on Azure Synapse analytics, the Microsoft Intelligent Data Platform, and notable Power BI Updates from Microsoft Build 2022.

Top Solution Authors