question

AndrewPokha-9286 avatar image
0 Votes"
AndrewPokha-9286 asked azure-cxp-api edited

IIS is unable to use azure storage account in Azure for a virtual directory

Our client is running IIS on-prem that needs to access Azure storage account across the VPN to Azure.
When creating a local DNS entry of storageaccountname.localdomain.com I can access the storage using file explorer however IIS is unable to use this...
Any ideas?

P.S.
It works when we fool IIS via a host file entry with the Azure private IP attached to the storage account and FQDN of storageaccountname.file.core.windows.com

azure-storage-accountsazure-vpn-gateway
5 |1600 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

deherman-MSFT avatar image
0 Votes"
deherman-MSFT answered AndrewPokha-9286 commented

@AndrewPokha-9286
Since it works when using the private IP you might check and setup a private endpoint. See if this is something that works for you. You also might find this article on setting up IIS to use Azure Files helpful.

Hope this helps. If you are still facing issues please let us know and we can take a deeper look.



Please don’t forget to "Accept the answer" and “up-vote” wherever the information provided helps you, this can be beneficial to other community members.

· 1
5 |1600 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.

Thanks for the comment, we do have a private endpoint attached to the storage account in Azure.
I use the private endpoint IP to access the storage account across the VPN with a file explorer and that works successfully.
I will review the document you linked and provide a further response.

0 Votes 0 ·