Access Azure File share through private endpoint

Shekar Yenagandula 116 Reputation points
2023-02-01T19:04:05.28+00:00

I'm trying to enable backup using PowerShell for the file share of storage accounts. In current environment we disabled public network access and using only private endpoints. I have used Runbook with private endpoint but still failing to list the file share. Even through placed in same virtual network in Runbook and Storage accounts still failing to fetch. Any idea how we can resolve this? Appreciate your guidance or help

Azure Files
Azure Files
An Azure service that offers file shares in the cloud.
1,301 questions
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.
3,220 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.
514 questions
Azure Automation
Azure Automation
An Azure service that is used to automate, configure, and install updates across hybrid environments.
1,255 questions
PowerShell
PowerShell
A family of Microsoft task automation and configuration management frameworks consisting of a command-line shell and associated scripting language.
2,583 questions
{count} votes

3 answers

Sort by: Most helpful
  1. Silvia Wibowo 3,986 Reputation points Microsoft Employee
    2023-02-02T04:43:41.25+00:00

    Hi @Anonymous ,

    I understand that your intention is to enable backup of your Azure Storage File share. Would you consider using Azure Backup? More info: Azure file share backup


  2. Limitless Technology 44,386 Reputation points
    2023-02-02T17:17:36.9766667+00:00

    Hello there,

    So you are trying to Connect to an Azure File Share via a Private Endpoint right ?

    Azure Files provides two main types of endpoints for accessing Azure file shares:

    -Public endpoints, which have a public IP address and can be accessed from anywhere in the world.

    -Private endpoints, which exist within a virtual network and have a private IP address from within the address space of that virtual network.

    Connect to an Azure File Share via a Private Endpoint https://learn.microsoft.com/en-us/samples/azure/azure-quickstart-templates/file-share-private-endpoint/

    Configuring Azure Files network endpoints https://learn.microsoft.com/en-us/azure/storage/files/storage-files-networking-endpoints?tabs=azure-portal

    Hope this resolves your Query !!

    --If the reply is helpful, please Upvote and Accept it as an answer–

    0 comments No comments

  3. Deleted

    This answer has been deleted due to a violation of our Code of Conduct. The answer was manually reported or identified through automated detection before action was taken. Please refer to our Code of Conduct for more information.


    Comments have been turned off. Learn more

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.