An organization is deploying Azure File Sync to synchronize files from an on-premises Windows Server named NY-FS01 to an Azure file share. The destination file share is hosted in a storage account named stsyncdata which has its firewall configured to restrict network access to 'Selected networks'. The organization's security policy prohibits exposing storage traffic to the public internet. Which of the following actions should you perform to enable successful file synchronization while adhering to the security policy?
- Configure a private endpoint for the file sub-resource of the storage account stsyncdata and ensure the on-premises server can resolve the private IP address.Answer
- BEnable the 'Allow trusted Microsoft services to access this storage account' bypass option on the storage account stsyncdata.
- CGenerate a Shared Access Signature (SAS) token on the storage account stsyncdata with a 365-day expiration and configure the Azure File Sync agent to authenticate using this token.
- DAssign the 'Storage File Data SMB Share Contributor' role in Microsoft Entra ID to the on-premises server's computer identity.
Answer
Configure a private endpoint for the file sub-resource of the storage account stsyncdata and ensure the on-premises server can resolve the private IP address.
Configuring a private endpoint for the file sub-resource of the storage account allows the on-premises sync agent to transfer files over a private IP address using VPN or ExpressRoute. This satisfies the 'Selected networks' firewall constraint without exposing the storage account's endpoints to the public internet.
Step-by-Step Solution
Key Concept
Secure network connectivity for Azure File Sync and Azure Files using private endpoints
Estimated Time:1m 30s