Forum Discussion
Error running Powershell Get-PowerBITable
Hi Jayendran,
It is strange, because I am setup as the Power BI Service Admin of our tenant.
I am confident that my datasetid/workspace id are correct (I got it by reading from url or running Get-PowerBIDataset -Scope Organization)
I am able to run the following and get data without issues:
Get-PowerBIDataset -Scope Organization
Get-PowerBIWorkspace -All
By removing the workspace id, error is : Get-PowerBITable : Operation returned an invalid status code 'Forbidden'.
Really need help from someone to understand what is happening.
Regards,
Joe
Hi Anonymous ,
Ah now it's Forbidden error which means like you are not allowed. Can you try the same script in a new powershell session or window
- Anonymous6 years agoNot applicable
- Anonymous6 years agoNot applicable
Seeing the same behaviour here - did you ever find a solution?