Forum Discussion
Service Principal Approach to Extract Data from Power BI Semantic Models via Python
- 1 year ago
Please let me know if this post helped solve your problem. If so, I’ll mark it as solved to make it easier for others to find for similar future queries. Thanks 😊
Hi philip_gray
Yes, I’m using delegated permissions. actually I’m not an expert with the technical side of Azure app permissions, but my understanding is that delegated permissions mean the app acts on behalf of a user.
and I have tested it right now and it's still working for me :
kushanNa Thanks for the response - much appreciated.
Would you be able to decode your JWT (the accesss_token part of the result variable) and confirm:
- the "idtyp" value
- The content of the "Roles" array
If you're using a service principal then the idtyp should be app and it shouldn't be possible for the roles to contain Dataset.Read.All or Dataset.ReadWrite.All - as these are only available as delegated permissions.