WVD AdminUsername Change NotAllowed (不允许更改用户名)

问题描述 投票:0回答:1

在Windows虚拟桌面中从受管映像部署时得到一个奇怪的错误。

错误。

\"message\":\"Atleastoneresourcedeploymentoperationfailed.Pleaselistdeploymentoperationsfordetails.Pleaseseehttps://aka.ms/DeployOperationsforusagedetails.\"\"details\":[\r\n{\r\n\"code\":\"Conflict\"\"message\":\"{\"error\":{\"code\":\"PropertyChangeNotAllowed\",\"message\":\"Changingproperty'adminUsername'isnotallowed.\",\"target\":\"adminUsername\

知道我哪里出错了吗?先谢谢你:)

azure arm-template windows-virtual-desktop
1个回答
1
投票

正如评论中提到的,请确保你使用的用户名是正确的。

你可以参考这个 github问题 了解更多详情。

这可能是因为本地用户名是 "admin",Azure 不允许这样做。命令将使用的名称可以在 az vm create -h 中找到。

© www.soinside.com 2019 - 2024. All rights reserved.