[BUG] GenerateSasUri fails when TableClient is created with ConnectionString #23404
Labels
Client
This issue points to a problem in the data-plane of the library.
customer-reported
Issues that are reported by GitHub users external to the Azure organization.
needs-team-attention
Workflow: This issue needs attention from Azure service team or SDK team
question
The issue doesn't require a change to the product in order to be resolved. Most issues start as that
Tables
I am trying to GenerateSasUri by creating TableClient directly with ConnectionString and it says - SharedkeyCredential is Null.
looks like a hard dependency on SharedkeyCredential to generate SasUri.
I am able to generate SasUri only when I create TableClient with constructor where tableSharedKeyCredential is input e.g. (endpoint, tableName, tableSharedKeyCredential) and tableSharedKeyCredential needs AccountKey as input
Sample code which throws error for 'SharedkeyCredential' is Null:
I expected to work with TableClient object created with ConnectionString directly
Environment:
The text was updated successfully, but these errors were encountered: