Forum Discussion
SachinNandanwar
Impactful Individual
1 year agoSAS Token in fabric-Not Working
I created a SAS token for Fabric but it gives an error when I try to use it. I am unsure as to why is the request expecting a bearer token while using SAS ? Here are the parameter...
Mabasile_MSFT
Microsoft Employee
1 year agoHi SachinNandanwar - I'm happy to help here. The reason you are receiving the error message regarding a bearer token is because, since all OneLake SAS are user-delegated, the SAS is authenticated very similarly to how a bearer token would, hence the similar error.
From reviewing the samples above, your issue might be with the signedPermissions ('sp') field - it looks like you're only granting the SAS Write and List permissions, which means the SAS won't have permissions to Read, hence the authorization error. Could you try adjusting the signedPermissions and trying again?
- SachinNandanwar1 year ago
Impactful Individual