Error accessing blob storage with SAS token
Hi Team,
need your assistance for the following scenario
Usage:
I have a webapp which has a functionality that allows user to upload files to the Azure blob storage and access the same file using the blob url.
I have opted for "Selected networks only" to access the storage account. Im using SAS token to upload the file. Upload operation is handled through APIM its IP is configured in VNET
with the same blob url returned after uploading the file the user needs to access the file.
Expected:
After uploading the file blob url will be returned with SAS as suffix, by clicking the url user should be able to download the file.
Error:
By clicking on the URL user not able to access the file instead getting an error "This request is not authorized for this operation"
Parameters used in SAS:
Services
ResourceTypes
Permissions
Protocols
Expiry
IPrangeorAddress
Note:
User is able to access the file using the url once user public ip is added to the selected network tab. This is not possible in our case as the users will be accessing the file dynamically and cannot be preconfiguring their IPs in storage account always