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
jon_mitchell
New Member

The "Admin - Datasets GetDatasetsAsAdmin" API results do not contain all of the DatasetID's

I have found some PBI activities in the data returned from the "Admin - Get Activity Events" API where the DatasetID is not present within the data returned from the "Admin - Datasets GetDatasetsAsAdmin" API.

 

So it looks like the "GetDatasetsAsAdmin" is missing data.

 

I have reviewed the workspace in PBI online and can definately see the Dataset is there, so I would expect the  "GetDatasetsAsAdmin" API to contain this record. 

 

Is there any reason why "GetDatasetsAsAdmin" does not return all the datasets?

2 REPLIES 2
mattiasdesmet
Resolver II
Resolver II

Do you mean that the property id is not present in the list of datasets, or is the who dataset node missing?

Probably this was already checked, but do you have the right permissions on the user authenticated running the API call?

According to Admin - Datasets GetDatasetsAsAdmin - REST API (Power BI Power BI REST APIs) | Microsoft Learn a subset of properties is returned based on your rights.

Hi mattiasdesmet thanks for the reply

The dataset object record for a particular dataset is missing from the API response. I can see may other dataset records in the response ok, but this one (and some others) are missing. 

 

The premissions seems to be ok as the service principle making the API calls is assigned within the PowerBI admin tenant settings.

 

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.