Forum Discussion
pennyhoho117
1 year agoHelper IV
seeking help to retrieve Power BI Dataset data by Power API
i have created a workspace and granted admin right to the Azure app account. and i have send API : https://api.powerbi.com/v1.0/myorg/groups/89f9ce17-e8e3-433c-b419-6b2b6d87273c/datasets/8360b63e-a...
lbendlin
1 year agoSuper User
Careful using VALUES with tables!!!
EVALUATE TestRedshiftRefresh
is probably more appropriate.
Admin rights don't matter. the scope needs to include Read Dataset permissions.
- pennyhoho1171 year agoHelper IV
i use "query": "EVALUATE (TestRedshiftRefresh)"
also return with same error, and i included Read Dataset permissions already, any other suggestions?
- lbendlin1 year agoSuper User
Have you checked at jwt.io that the token has the required scope?
- pennyhoho1171 year agoHelper IV
How to check if the return token by API : https://login.microsoftonline.com/{tenant_id}/oauth2/v2.0/token has required scope?