You need to enable JavaScript to run this app.
优惠活动
大模型
产品
解决方案
定价
更多

通过Azure Windows VM托管身份访问存储账户时上传下载报错求助

问题排查:Azure Windows虚拟机托管身份访问存储账户上传/下载报错

我尝试通过Azure Windows虚拟机访问Azure存储账户,已遵循微软官方文档完成几乎所有步骤,成功生成JWT访问令牌,但执行文件上传/下载命令时出现错误,错误信息:InvalidAuthenticationInfoAuthentication information is not given in the correct format。

生成JWT令牌所用命令:

$response = Invoke-WebRequest -Uri 'http://169.254.169.254/metadata/identity/oauth2/token?api-version=2018-02-01&resource=https://adlsrg.blob.core.windows.net/' -Method GET -Headers @{Metadata="true"}
$content = $response.Content | ConvertFrom-Json
$AccessToken = $content.access_token

请帮我排查通过虚拟机托管身份进行文件上传/下载的命令是否存在错误。

内容的提问来源于stack exchange,提问作者Venkatesh

相关产品推荐
方舟 Agent Plan

超全模态模型 × Harness 升级,最新支持 Deepseek-V4.1-Flash、GLM-5.3 系列、Doubao-Seedream-5.0-pro、Kimi-K3 (部分), 限时 9.9 元起

最近更新时间:2026.08.07 23:40:40