Open haresh93 opened 4 years ago
Hi Haresh,
For all version 12 issues of the sdk, please reference and post all issues to the v12 repo. This is so that the right people can better help you with your issue. https://github.com/Azure/azure-sdk-for-net/
@amnguye Thanks will report the issue there.....Shall i close this issue or can this be open??
Sure, if you want you can close it and reference this issue in your new one. Thanks
Which service(blob, file, queue, table) does this issue concern?
Azure.Storage.Blobs
Which version of the SDK was used?
Azure.Storage.Blobs 12.1.0
Which platform are you using? (ex: .NET Core 2.1)
.NET Core 3
What problem was encountered?
I am generating a Blob Level SAS token using user delegation with Azure Service Principal Credentials, and trying to upload a blob using SAS Token generated. I have followed exactly this code sample - https://github.com/Azure/azure-sdk-for-net/blob/master/sdk/storage/Azure.Storage.Blobs/samples/Sample02_Auth.cs#L137 to generate the SAS Token.
The SAS Token is created and the Get Blob is working perfectly fine if i keep it in browser but using the BlobServiceClient if i am trying to upload the file or perform any action it is now working. To check if it is authenticated or not i have written this line await service.GetPropertiesAsync(); which is throwing the following error:
How can we reproduce the problem in the simplest way?
Here is the Code I used to generate the SAS Token.