Forum Discussion
powerbi get datasets api is missing some datasets
- 1 year ago
Hi ledd_25 ,
Get-PowerBIDataset and GetDatasetsAsAdmin only return datasets that the calling user has access to. If you don’t have at least viewer permissions on a workspace, its datasets will not appear in your query result--even if they exist and are active.So, probably you are missing a permission to access the dataset.
You can follow the checks provided by Nasif_Azam and this might help you troubleshoot the issue.
Hope this helps!
Hi ledd_25 ,
Get-PowerBIDataset and GetDatasetsAsAdmin only return datasets that the calling user has access to. If you don’t have at least viewer permissions on a workspace, its datasets will not appear in your query result--even if they exist and are active.So, probably you are missing a permission to access the dataset.
You can follow the checks provided by Nasif_Azam and this might help you troubleshoot the issue.
Hope this helps!
There are some datasets that i cant find but their workspaces i can find using Get-PowerBIWorkspace. And upon checking there are a lot of datasets using Get-PowerBIDataset that i can find but their workspaces i dont have access to. So even on both datasets that i can and cant find, a lot of their workspaces i dont have access to. Is this to be expected? what made some datasets visible when i also dont have access to their workspace?