You are using the AzCopy command-line tool to upload log files from an on-premises client computer to an Azure Blob storage container. The storage account has its firewall configured to allow access only from selected networks. When you execute the AzCopy upload command, the transfer fails, and you receive an HTTP 403 Forbidden error. Which action should you perform to resolve the upload failure?
- Add the public IP address of the on-premises client computer to the firewall configuration of the storage account.Cevap
- BEnable the 'Allow trusted Microsoft services to access this storage account' bypass setting on the storage account.
- CAssign the Storage Blob Data Contributor role to the identity used by AzCopy.
- DGenerate a new Shared Access Signature (SAS) token that has a longer expiration window.
Cevap
Add the public IP address of the on-premises client computer to the firewall configuration of the storage account.
The correct action is to add the public IP address of the client computer to the storage account firewall. This is because the HTTP 403 Forbidden error under a restricted network configuration indicates that the client machine is blocked from accessing the storage endpoint at the network layer.
Adım Adım Çözüm
Anahtar Kavram
Configuring network access and firewalls for Azure Storage accounts during data movement operations.
Tahmini Süre:1m 0s