我正在使用具有基本 URL 的 Azure 政府帐户portal.azure.us
。我正在尝试azcopy
在我的 macOS 上使用可执行文件并运行命令./azcopy login --tenant-id=<tenant ID>
。我 100% 确定我使用的租户 ID 是正确的。但是,我收到以下错误:
Failed to perform login command:
failed to login with tenantID "XXXX", Azure directory endpoint "https://login.microsoftonline.com", autorest/adal/devicetoken: -REDACTED- occurred while handling response from the Device Endpoint: Error HTTP status != 200
这是因为我没有正确登录 Azure 政府帐户吗?我怎样才能让这个命令运行?