Forum Discussion
Get Datasets ID by name over Rest API
- Anonymous4 years ago
Hi Anonymous
Currently, there is no suitable REST API to retrieve the dataset ID according to the dataset name. You can search all the datasets under this workspace through the workspace ID, then export the results, and then return the dataset ID according to the dataset name.
https://docs.microsoft.com/en-us/rest/api/power-bi/datasets/get-datasets-in-group
If you are not sure of the workspace ID, you can get the dataset information of the entire organization through the following API, and then retrieve the dataset ID through the dataset name.
https://docs.microsoft.com/en-us/rest/api/power-bi/datasets/get-datasets
Best Regard
Community Support Team _ Ailsa Tao
Hi Anonymous
Currently, there is no suitable REST API to retrieve the dataset ID according to the dataset name. You can search all the datasets under this workspace through the workspace ID, then export the results, and then return the dataset ID according to the dataset name.
https://docs.microsoft.com/en-us/rest/api/power-bi/datasets/get-datasets-in-group
If you are not sure of the workspace ID, you can get the dataset information of the entire organization through the following API, and then retrieve the dataset ID through the dataset name.
https://docs.microsoft.com/en-us/rest/api/power-bi/datasets/get-datasets
Best Regard
Community Support Team _ Ailsa Tao