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
August 2020 Community Challenge: Can You Solve These?

August 2020 Community Challenge: Can You Solve These?

We're excited to announce our first cross-community 'Can You Solve These?' challenge!

Community Blog

Community Blog

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

Upcoming Events

Upcoming Events

Wondering what events you could join or have an event to promote yourself? Check out our Upcoming Events.

Community Summit Australia – Join Online!

Community Summit Australia – Join Online!

Be a part of the leading Microsoft Business Applications digital event, curated for the APAC community.

Top Solution Authors
Top Kudoed Authors