cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
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

Accepted Solutions
Highlighted
Frequent Visitor

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

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
Highlighted
Frequent Visitor

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

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

Highlighted
Memorable Member
Memorable Member

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

@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

Helpful resources

Announcements
May 2020 Community Highlights

May 2020 Community Highlights

It’s time for another PBI Community recap!

Community Blog

Community Blog

Visit our Community Blog for articles, guides, and information created by fellow community members.

Using the Community

Using the Community

Need help with the Power BI Community? Our 'Using the Community' support articles are a great place to start.

Galleries

Galleries

Looking for inspiration on how to present your data? Need instructional videos? Check out our Galleries!

Top Solution Authors
Top Kudoed Authors