Forum Discussion

jon_mitchell's avatar
jon_mitchell
New Member
2 years ago

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

    • jon_mitchell's avatar
      jon_mitchell
      New Member

      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.