question

manishverma-7371 avatar image
0 Votes"
manishverma-7371 asked ·

how we upload a file to BLOB using SAS connecation string when BLOB have on Private VNET

I Have created a .net file upload application, i am connect with SAS connection string to blob it is working fine.

now blob is move to private VNET, now my application is not working.

i try to add laptop public IP-IP4 in storage firewall , but not working.

please give me some suggestion so i can change my application to connect with blob.

please note- member who run this application, he don't have access of Azure Portal.

azure-storage-accounts
10 |1000 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

1 Answer

Sumarigo-MSFT avatar image
0 Votes"
Sumarigo-MSFT answered ·

@manishverma-7371 If you have SAS URL, it doesn't matter if you have container level access as private, it should work .
If you add firewall rule, then you need to whitelist the source IP. So from the SAS URL, we can validate what level of permission that is offered to the SAS

Note: If client and storage account are in same region then IP will not work. They should create a VNet rule

Hope this helps!

Kindly let us know if the above helps or you need further assistance on this issue.



Please do not forget to "Accept the answer" wherever the information provided helps you to help others in the community.

· 2 ·
10 |1000 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

We don't know user connect from where, as per requirement user can connect from any where. external user not part of Azure AD.so question is that how i give IP range in storage firewall.

0 Votes 0 ·

@manishverma-7371 If you know the IP, you can add individual IPs with /32.
Other option you can also disable the firewall, since the container level access is private, you should be good!

0 Votes 0 ·