question

JillFox-3331 avatar image
0 Votes"
JillFox-3331 asked SumanthMarigowda-MSFT commented

Azure File Share 403 Error

I have an Azure storage account with a file share. I have created a VNET and PEP, and I have mounted/mapped several computers to the file share. Everything worked fine yesterday, and everyone could connect to the VPN then use local Windows File Explorer to access the files on the file share. This morning, the mapped drive times out. I verified the VPN connection was active. When I checked the Azure portal, there is a 403 error on the file share. Help?

azure-storage-accountsazure-vpn-gatewayazure-files
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.

AlanKinane avatar image
0 Votes"
AlanKinane answered

This is an access denied error. Have any permissions or security settings been changed?

There's a few possible solutions listed here: https://docs.microsoft.com/en-us/azure/storage/files/storage-troubleshoot-windows-file-connection-problems#error-no-access-when-you-try-to-access-or-delete-an-azure-file-share

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.

SumanthMarigowda-MSFT avatar image
0 Votes"
SumanthMarigowda-MSFT answered SumanthMarigowda-MSFT commented

@JillFox-3331 Based on the error message, it could be due to the Wrong Storage Account Keys and/or Storage Account name or SAS Expired or Azure Storage Firewall has been configured and customer's IP/subnet has not been granted access. (you can also get a 403 error if the time on the server is not in sync with the time on storage servers (Give or take +/- 15 minutes deviation is allowed).

Verify correct credentials:

Check the Storage Account key(s) and make sure they are correct.

Make sure that the Storage Account name is correct, and has not been mistyped. The above error messages can also be seen if the Storage Account name is not correct.

If you are using SAS, make sure that it’s not expired, for more information see Using shared access signatures(SAS).(If you are using Service SAS, please have a try to make sure that it is not out of date. You also could use Azure portal or Microsoft Azure Storage Explorer to regenerate SAS token and try it again)

Troubleshoot Azure Files problems in Windows (SMB)

Check the Server Time

If the issue still persists, may I know when exactly are you getting this error message? Please share the screenshot of the error message

Please let us know if you have any further queries. I’m happy to assist you further.


Please do not forget to 169800-screenshot-2021-12-10-121802.pngand 169764-image.png wherever the information provided helps you, this can be beneficial to other community members.



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.