Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and a 50 percent discount on exams.
Get startedEarn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.
Hi,
I have a service principal associated to a security group and successfully added on tenant settings:
I am able to get at token and get all datasets but I am unable to refresh a dataset. The relevant service principal has admin permissions in the workspace
This service principal has Dataset.ReadWrite.All permissions under AAD so what am I missing?
This is what I get when I try to refresh (not working):
This is what I get when I list (working)
Any help would be appreciated.
go to jwt.io and check if your token truly has dataset.readwrite scope.
Thanks for the answer. How do I figure out if the token has those permissions?
Do you have a scp (scope) section?
No. What should the scope be?
I didn't pass it to the api call when generating the token either... so the issue might be there.
You need to request dataset read write during the app registration.
during the app creation
Hi, thanks a lot for the answer. Please see a screenshot of the api permissions. Should this be applied anywhere else?
Looks good. You need to figure out why it is not coming through to the scp (scope) section of the token.
Thanks really appreciatd for all the support. Any idea on what should I put here in scope (if anything)?
either all (so you get the ones you defined in the registration) or Dataset.ReadWrite.All if you want to limit the options for that particular session.
User | Count |
---|---|
18 | |
5 | |
2 | |
1 | |
1 |
User | Count |
---|---|
20 | |
4 | |
3 | |
2 | |
1 |