Azure / Azure/azure-cli

issue:Using az cli copy vhd file from global azure storage account to China azure storage account return "One of the request inputs is out of range"

Open
#20,831 4 comments 0 reactions 1 assignee Claimed by @evelyn-ys View on GitHub
act-codegen-extensibility-squad customer-reported Service Attention Storage
Dominant language
Python
Stars
4.6k
Forks
3.5k
Avg merge
3d 2h
Merged PRs (30d)
60

Description

Scenario 1
cevatestp is a page blob Premium storage account on China Azure Cloud
evatests is a standard storage account on Global Azure Cloud
both of the 2 account has a container evatest
there is a test.vhd file in the container evatest at storage account evatests
When use az storage blob copy to copy test.vhd from evatests to cevatestp. get "One of the request inputs is out of range" error
az storage blob copy start --source-uri https://evatests.blob.core.windows.net/evatest/test.vhd --destination-container evatest --destination-blob test.vhd --account-key pGOwf3cPQ= --account-name cevatestp
One of the request inputs is out of range.
RequestId:3c3cbb99-501c-00a8-7640-fa9ab3000000
Time:2021-12-26T10:07:27.7856206Z
ErrorCode:OutOfRangeInput
Error:None
Screenshot:
![image](https://user-images.githubusercontent.com/25874794/147409673-14ebda80-5173-467f-9fc0-25b70fb57f54.png)

But when use the same script to copy it to a standard storage account on Azure China Cloud. it work ok.
Screenshot
![image](https://user-images.githubusercontent.com/25874794/147409730-7f45a587-923f-4eda-9008-ca90b35a56d0.png)

Please help check why it is failed when copy a vhd file from standard storage account on Global Azure Cloud to Premium storage account on China Azure Cloud

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.