Azure VM资源部署失败: "The system is not authoritative for the specified account"

标签 azure azure-virtual-machine rdp

我已经使用 Azure VM 几个星期了:(Windows 10、Visual Studio Developer VM),但几个小时以来一直无法登录。

机器报告为正在运行,RDP 找到机器并显示登录框,但登录失败:(您的凭据无效)

VM可以重新启动,但出现同样的错误。 启动诊断显示 Windows 10“海滩洞穴”图像

尝试重置密码会在事件日志中出现错误:

Failed to reset password At lease one resource deployment operation failed. Please list deployment operations for details. see https://aka.ms/arm-debug for usage details.

然后部署操作出现此错误:

Deployment failed Deployment to resource group 'MY_AZURE_GROUP' failed. Additional details from the underlying API that may be helpful. At least one deployment operation failed. Please list deployment operations for details.

然后这个错误扩展为:

状态:冲突 配置状态:失败

类型:Microsoft.Compute/virtualMachines/extensions

状态消息:

{
  "status": "Failed",
  "error": {
    "code": "ResourceDeploymentFailure",
    "message": "The resource operation completed with terminal provisioning state 'Failed'.",
    "details": [
      {
        "code": "VMExtensionProvisioningError",
        "message": "VM has reported a failure when processing extension 'enablevmaccess'. Error message: \"Cannot update Remote Desktop Connection settings for built-in Administrator account. Error: The system is not authoritative for the specified account and therefore cannot complete the operation. Please retry the operation using the provider associated with this account. If this is an online provider please use the provider's online site.\r\n\"."
      }
    ]
  }
}

然后我尝试重新部署虚拟机:这给出了这个错误 无法重新部署虚拟机“MY_AZURE_VM”。错误:虚拟机在处理扩展“enablevmaccess”时报告失败。错误消息:“无法更新内置管理员帐户的远程桌面连接设置。错误:系统对指定帐户没有权限,因此无法完成操作。请使用关联的提供商重试该操作使用此帐户。如果这是在线提供商,请使用该提供商的在线网站。

消息“系统对指定帐户没有权限”暗示某处权限失败。

这是什么意思 - 我该如何解决它?

最佳答案

事实证明答案并不明显,而且仍然有点令人困惑。

第一次使用时,Cortana 要求提供一个 Microsoft 帐户 - 所以我提供了一个我很少使用的帐户的详细信息(我们称之为 r [email protected] )在后台 Windows 更改了我的 MY_AZURE_VM\MyLogin (我唯一的登录名 - 以及该 VM 上的管理员用户)到 Microsoft 帐户 [email protected] !

现在我使用该 Microsoft 帐户登录 - 一切都很好。

如果我查看计算机管理用户 - MyLogin 仍然存在 - 作为系统上的唯一用户 - 但如果我尝试将其添加到组中,检查名称会将其转换为 [email protected]

关于Azure VM资源部署失败: "The system is not authoritative for the specified account",我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/39034354/

相关文章:

python - 属性错误: 'BlockBlobService' object has no attribute 'create_block_blob_from_path'

azure - 如何使用 Graph API 将用户添加到 Azure Active Directory

azure-virtual-machine - 从外部应用程序将文件上传到 azure 虚拟机的任何方式

azure - Azure 是否可以通过 REST API 从 VM 获取文件?

c# - 使用 MSTSCLib 登录远程桌面

azure - 从 Azure 获取 'An existing connection was forcibly closed by the remote host.'

Azure API 管理 - 注册过程中的其他字段

powershell - 在 Azure VM 上使用 Powershell 下载不稳定的文件

c# - 以编程方式断开远程桌面 session

c++ - WIndows服务在远程桌面运行桌面程序