Question

Difficulty: MediumManage Data Movement using AzCopy and Storage Explorer

An administrator plans to copy files from an on-premises Linux server to a blob container named archives in an Azure storage account named stmigration2026. The storage account has its firewall configured to 'Enabled from selected virtual networks and IP addresses'. The administrator intends to use AzCopy and authenticate using a Microsoft Entra ID user account. Which two configuration steps must you perform to ensure the transfer succeeds? (Select two.)

  1. Add the public IP address of the on-premises Linux server to the firewall settings of the storage account.Answer
  2. Assign the Storage Blob Data Contributor role to the Microsoft Entra ID user account.Answer
  3. C
    Assign the Contributor role to the Microsoft Entra ID user account at the storage account scope.
  4. D
    Enable the 'Allow trusted Microsoft services to access this storage account' firewall bypass option.

Answer

To successfully transfer data using AzCopy with Microsoft Entra ID authentication to a firewall-secured storage account, you must add the public IP address of the on-premises Linux server to the storage firewall and assign the Storage Blob Data Contributor role to the Microsoft Entra ID user account.
To complete the upload, both network connectivity and data authorization must be resolved. Adding the public IP address of the on-premises Linux server to the storage firewall allows the AzCopy client to connect. Assigning the Storage Blob Data Contributor role to the Microsoft Entra ID user account provides the necessary data plane permissions to upload blobs.

Step-by-Step Solution

1
Configure Network Access
The public IP address of the on-premises Linux server is added to the storage firewall configuration.
Since the storage account has its firewall set to selected networks, network access must be allowed for the client machine running AzCopy.
2
Configure Data Plane Permissions
The Storage Blob Data Contributor role is assigned to the Microsoft Entra ID account used to authenticate the AzCopy session.
Control plane roles like Contributor or Owner are insufficient for reading or writing data blobs. An explicit data plane role like Storage Blob Data Contributor is needed for authorization.

Key Concept

Authorizing AzCopy data transfers using Microsoft Entra ID and Storage Firewalls
Rate this question