You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Aug 1, 2024. It is now read-only.
Which service(blob, file, queue, table) does this issue concern?
Table
Which version of the SDK was used?
WindowsAzure.Storage V 9.3.3
Which platform are you using? (ex: .NET Core 2.1)
Server: .Net 4.7.1
Client: .Net standard 2.0
What problem was encountered?
I have a .Net Standard client application running on UWP.
My client application contacts the server that generates a sas key like so:
var myPrivateStorageAccount = CloudStorageAccount.Parse(mystorageAccountKey);
var myPrivateTableClient = myPrivateStorageAccount.CreateCloudTableClient();
SharedAccessTablePolicy pol = new SharedAccessTablePolicy()
{
SharedAccessExpiryTime = DateTime.UtcNow.AddMinutes(59),
Permissions = SharedAccessTablePermissions.Query | SharedAccessTablePermissions.Add
};
CloudTable myPrivateTable = myPrivateTableClient.GetTableReference(tableName);
String sas = myPrivateTable.GetSharedAccessSignature(pol);
return sas;
My client application then runs the following:
StorageCredentials creds = new StorageCredentials(sas);
this.tableClient = new CloudTableClient(tableServiceURI, creds);
this.table = tableClient.GetTableReference(tableName);
TableQuery<DynamicTableEntity> projectionQuery = new TableQuery<DynamicTableEntity>().Select(new string[] { "DocumentName" }).Where(TableQuery.GenerateFilterCondition("PartitionKey", QueryComparisons.Equal, cc));
var res = await table.ExecuteQuerySegmentedAsync<DynamicTableEntity>(projectionQuery, null);
and gets the following error:
Server failed to authenticate the request. Make sure the value of Authorization header is formed correctly including the signature.
sr is mandatory. Cannot be empty
but as this is tablestorage I dont think sr is required
so whats the problem here?
The text was updated successfully, but these errors were encountered:
Which service(blob, file, queue, table) does this issue concern?
Table
Which version of the SDK was used?
WindowsAzure.Storage V 9.3.3
Which platform are you using? (ex: .NET Core 2.1)
Server: .Net 4.7.1
Client: .Net standard 2.0
What problem was encountered?
I have a .Net Standard client application running on UWP.
My client application contacts the server that generates a sas key like so:
My client application then runs the following:
and gets the following error:
but as this is tablestorage I dont think sr is required
so whats the problem here?
The text was updated successfully, but these errors were encountered: