Forum Discussion
API Access works only for my personal workspace
- 6 years ago
Hi pcand01 ,
1. You have to use the different api to call a different workspace other than My workspace
https://api.powerbi.com/v1.0/myorg/groups/{groupId}/datasets/{datasetId}
where groupid is the workspaceid
Am saying this because in your error you are still using the Myworkspace API
2. Whenever you got the autentication issue. please check whether your SPN/Service account added as the ADMIN to the particular workspace.
Hi pcand01 ,
1. You have to use the different api to call a different workspace other than My workspace
https://api.powerbi.com/v1.0/myorg/groups/{groupId}/datasets/{datasetId}
where groupid is the workspaceid
Am saying this because in your error you are still using the Myworkspace API
2. Whenever you got the autentication issue. please check whether your SPN/Service account added as the ADMIN to the particular workspace.