Forum Discussion
Aniketparab1234
1 year agoRegular Visitor
Getting error 403 Forbidden: while using Default.UpdateDatasources API
I’m trying to use the Default.UpdateDatasources API, but I’m encountering a 404 Forbidden error. After investigating, I understand that to resolve this issue, I need to grant the following applicati...
- 1 year ago
Hi Aniketparab1234,
Thank you for the response and confirming that the issue is resolved now. I request you to please accept the post as Accept as Solution so that other members who has similar issue will find it more quickly, don't forget to give a "Kudos" – I’d truly appreciate it!
Thanks and regards,
Anjan Kumar Chippa
Akash_Varuna
1 year agoSuper User
Hi Aniketparab1234 From my understanding, the 403 error occurs because Dataset.ReadWrite.All and Workspace.ReadWrite.All are only available as Delegated, not Application permissions. To fix this, use delegated permissions with a signed-in user or enable service principal access in Power BI Admin portal. Also, ensure the service principal is allowed and has proper roles.