storage account firewall and virtual network setting

Shivam Singh 210 Reputation points
2024-06-02T16:41:23.26+00:00

I have storage account used by vm for boot diagnostics. recently I changed the network setting of the storage account from public access allowed for all to Enabled from selected virtual networks and IP addresses. After this boot diagnostic is not able to connect to the storage account. Is there a way to solve this? Adding the vnet of the vm in storage account network didn't help.

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,891 questions
Azure Blob Storage
Azure Blob Storage
An Azure service that stores unstructured data in the cloud as blobs.
2,594 questions
Azure Private Link
Azure Private Link
An Azure service that provides private connectivity from a virtual network to Azure platform as a service, customer-owned, or Microsoft partner services.
485 questions
0 comments No comments
{count} votes

Accepted answer
  1. TP 83,051 Reputation points
    2024-06-02T17:09:45.6566667+00:00

    Hi Shivam,

    Two things:

    a) On your storage account -- Networking blade, please make sure that Allow trusted services on the trusted services list to access this storage account is checked.

    b) On your storage account -- Networking blade, please make sure your client's public IP address is allowed. In other words, if you are using the Azure portal to access screenshot of your VM, you need to have the public IP address of the client PC you are using listed. If you don't you will receive an error.

    If you are accessing the Azure portal from a VM on a VNet, then you could allow the VNet to access your storage account instead of allowing public IP.

    Please note that any changes you make to your storage account's firewall settings can take a minute or so after clicking Save before they take effect.

    Please click Accept Answer and upvote if the above was helpful. If something is unclear or you need additional assistance please add a comment.

    Thanks.

    -TP


0 additional answers

Sort by: Most helpful