Warning: file_get_contents(/data/phpspider/zhask/data//catemap/0/azure/11.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181

Warning: file_get_contents(/data/phpspider/zhask/data//catemap/5/fortran/2.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Azure 不允许WVD管理员用户名更改_Azure_Arm Template_Windows Virtual Desktop - Fatal编程技术网

Azure 不允许WVD管理员用户名更改

Azure 不允许WVD管理员用户名更改,azure,arm-template,windows-virtual-desktop,Azure,Arm Template,Windows Virtual Desktop,从Windows虚拟桌面中的托管映像部署时出现奇怪错误 错误: \"message\":\"Atleastoneresourcedeploymentoperationfailed.Pleaselistdeploymentoperationsfordetails.Pleaseseehttps://aka.ms/DeployOperationsforusagedetails.\"\"details\":[\r\n{\r\n\"code\":\"Conflict\"\"message\":\"{\"e

从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\

知道我哪里出错了吗?提前感谢:

如评论中所述,请确保您使用的用户名正确

有关更多详细信息,请参阅此

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


如果您想管理Azure资源,您需要拥有订阅所有者角色。@Sajeetharan感谢您提供的信息,我是RDS所有者,使用servicePrincipal进行部署,该servicePrincipal具有RDS所有者角色、订阅参与者和全局管理员,还有什么需要分配的吗?