Forum Discussion
403 error - Rest APIs - Registered App
use jwt.io to check the scope of your token. Most likely the required permissions are not in the token.
Thank you for your response.
I've used 0jwt.io as advised. After checking documentation on https://learn.microsoft.com/en-us/entra/identity-platform/access-token-claims-reference. it appears there was no line for 'scp' which I understand to be the scope you're referring to.
I've double checked with helpdesk on which permissions the app currently has:
User.Read
Dashboard.Read.All
Dataset.Read.All
Report.Read.All
Report.ReadWrite.All
Tenant.Read.All
Workspace.Read.All
The rest api I'm trying to access is https://api.powerbi.com/v1.0/myorg/groups/[MyworkspacEnteredHere]
and needs Report.ReadWrite.All or Report.Read.All
Is this enough information to advise where the fault lies?
- lbendlin2 years agoSuper User
The app registration seems to have been done incorrectly. You need to see the requested permissions in the "scp" section. Ask them to try again.