Advance your Data & AI career with 50 days of live learning, dataviz contests, hands-on challenges, study groups & certifications and more!
Get registeredGet Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now
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?
Hello, checking on this today, is it still not possible to determine out of the box programatically which one is which?
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,
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.
Check out the November 2025 Power BI update to learn about new features.
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!
| User | Count |
|---|---|
| 53 | |
| 24 | |
| 12 | |
| 11 | |
| 11 |