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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

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
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.