An administrator is setting up Azure File Sync. The administrator configures a storage account to restrict network access using a firewall. To allow the Azure File Sync service to access the Azure file share inside this secured storage account, which setting should the administrator enable on the storage account's firewalls and virtual networks configuration?
- Allow trusted Microsoft services to access this storage accountAnswer
- BConfigure a Shared Access Signature (SAS) token with no expiration date for authentication
- CAssign the Storage Blob Data Owner RBAC role to the Storage Sync Service
- DConfigure the server endpoint to use a static public IP address that is explicitly allowed by the firewall
Answer
Allow trusted Microsoft services to access this storage account
Allowing trusted Microsoft services to access the storage account is the correct configuration. Azure File Sync is a trusted Microsoft service, and enabling this setting allows the service to bypass storage account firewalls to access the Azure file share.
Step-by-Step Solution
Key Concept
Configuring storage account firewall exceptions for Azure File Sync