在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\
知道我哪里出错了吗?先谢谢你:)
正如评论中提到的,请确保你使用的用户名是正确的。
你可以参考这个 github问题 了解更多详情。
这可能是因为本地用户名是 "admin",Azure 不允许这样做。命令将使用的名称可以在 az vm create -h 中找到。