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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends September 15. Request your voucher.

Reply
co_Phil
New Member

How to get Dataset Id's for dashboard using REST API

We are building a Reporting Portal in our SaaS application using PowerBI embeded. 

Some of the Reports and Dashboards that will be embeded use RLS.

We have been able to populate the UI with a list of Reports and Dashboards using the Rest API.

When embeding a Report the 'Report' REST api response fields include a DatasetId which can then be used to populate the EffectiveIdentity and get the embedToken.

 

The 'Dashboard' response does not include a list of reports or datasets from which dataset Id's can be obtained to populate the EffectiveIdentity.

 

How can dataset Id's be obtained from the Rest API for a given Dashboard Id?

 

thx.

1 ACCEPTED SOLUTION
vbigham
Frequent Visitor

It looks to me like you can get the tiles that are included in the dashboard, and the tiles include the datasetId's

 

https://docs.microsoft.com/en-us/rest/api/power-bi/dashboards/gettiles

 

View solution in original post

2 REPLIES 2
zoloturu
Memorable Member
Memorable Member

@co_Phil

 

The link provided by @vbigham is good for My Workspace. If you will use any other then you would need this API - https://docs.microsoft.com/en-us/rest/api/power-bi/dashboards/gettileingroup

vbigham
Frequent Visitor

It looks to me like you can get the tiles that are included in the dashboard, and the tiles include the datasetId's

 

https://docs.microsoft.com/en-us/rest/api/power-bi/dashboards/gettiles

 

Helpful resources

Announcements
August Power BI Update Carousel

Power BI Monthly Update - August 2025

Check out the August 2025 Power BI update to learn about new features.

August 2025 community update carousel

Fabric Community Update - August 2025

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

Top Kudoed Authors