Hi, @firebolt1110 Welcome to Microsoft Q&A, Thanks for posting your query.
Please confirm if you have followed all the pre requestions, please refer to this document
I would start by comparing the two SAS signatures (i.e. the one that works and the one that doesn’t) and seeing what arguments are different. We would expect the signature and the time ones to be different, but the other options should be the same.
You said “bulk insert works fine” from the portal, wouldn’t that require write, create, update permissions? check here
Also when you say “bulk insert works fine”, are you talking about uploading one or many blobs? please confirm
Regards
Geetha