Azure storage Shared Access Signature

Testa 551 Reputation points
2022-08-30T07:36:09.417+00:00

Hello,

I would like to provide a customer with access to Azure file using a service shared access signature.
(https://learn.microsoft.com/en-us/rest/api/storageservices/create-service-sas)

I set "Enabled from all networks" under "Networking", but I cannot access the file, getting error message "InvalidQueryParameterValue".
Is there any parameter to be set?

235994-storagesas.png

Azure Storage Accounts
Azure Storage Accounts
Globally unique resources that provide access to data management services and serve as the parent namespace for the services.
2,608 questions
{count} votes

1 answer

Sort by: Most helpful
  1. SaiKishor-MSFT 17,156 Reputation points
    2022-08-31T22:19:32.55+00:00

    @Testa Thanks for reaching out to Microsoft Q&A. I understand that you are unable to access the Azure File Service via the SAS URL you found under the Storage Level whereas you were able to access the individual file.

    Can you please share more details regarding your use case and why you want to access Azure File Service using REST API? Usually, you would add the File Share as a mount to access the files in the share using SMB or NFS. Is there any reason you are using Azure File Service via REST APIs?

    Please check out the different storage options available in Azure and when to use the same- https://learn.microsoft.com/en-us/azure/storage/common/storage-introduction?toc=%2Fazure%2Fstorage%2Fblobs%2Ftoc.json#sample-scenarios-for-azure-storage-services

    Looking forward to hear from you. Thank you!