Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more
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?
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.
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!
| User | Count |
|---|---|
| 4 | |
| 3 | |
| 2 | |
| 2 | |
| 1 |
| User | Count |
|---|---|
| 4 | |
| 4 | |
| 4 | |
| 3 | |
| 3 |