skip to Main Content

I use the SAS key to make a GET request for the table, but I get the error "This request is not authorized to perform this operation.". What values should I fill in on the authorization tab to work this out?

enter image description here

x-ms-blob-type and BlobBlock work for blob storage but I need key and value for table type.

2

Answers


  1. If you are using SAS, you don’t need any API key. Set Authorization to ‘Inherit Auth from Parent’.
    Below are the settings I used to get my Table SAS.
    enter image description here

    And below are the settings in my Postman
    enter image description here

    The url I used for my query was https://anumystorage.table.core.windows.net/mytable(PartitionKey='A',RowKey='B')<your_sas_token> <– Replace <your_sas_token> with your own Sas starting with ‘?sv=…..’

    The information on the Table storage Rest API can be found here.

    Login or Signup to reply.
  2. I tried to reproduce the same in my environment and got the below results successfully:

    I created an Azure Storage Account and created Table storage:

    enter image description here

    I generated SAS URL by checking the below options:

    enter image description here

    Copy the Azure Table Storage SAS:

    enter image description here

    To access the Azure Table Storage, include the Table Storage Name like below:

    https://StorageAccount.table.core.windows.net/TableStorage?TableSASUrl
    

    Response:

    enter image description here

    Login or Signup to reply.
Please signup or login to give your own answer.
Back To Top
Search