azure - Microsoft Azure AD Connect 配置代理错误 5

标签 azure virtual-machine virtual-desktop

我收到此错误。我要如何解决这个问题。某些配置已禁用且处于非事件状态。请帮我。谢谢。

连接 Microsoft Azure Active Directory Connect 配置代理配置时也是如此。它说这个错误。请查看图片。

enter image description here

enter image description here

enter image description here

enter image description here

最佳答案

配置代理云同步会跟踪您的配置状况并隔离任何不正常的组件。每当发送到目标系统的调用因无效凭据而持续失败时。

要解决此问题:

您可以清除隔离并重新启动配置作业,如下所示:

enter image description here

您可以通过选择状态来查看有关隔离的其他详细信息,并且错误代码消息也会显示。

要重新启动配置作业,点击您的域 -> 编辑云同步配置,然后重新启动同步

enter image description here

we encountered an unexpected error when registering the agent please try again

部署云配置代理时,您可能会收到一条错误消息。一般来说,代理无法执行 PowerShell 注册脚本是导致此问题的原因。

尝试改变PowerShell execution policies确保本地计算机和用户策略应为 RemoteSignedUndefined

如果错误仍然存​​在,您可以使用以下命令修复云同步服务帐户:

  • Install AADCloudSyncTool Connect-AADCloudSyncTools ,输入凭据
  • 运行Repair-AADCloudSyncToolsAccount

引用:

Azure AD Cloud Sync Highlights and Deployment (misconfig.io)

关于azure - Microsoft Azure AD Connect 配置代理错误 5,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/74958773/

相关文章:

html - Azure 自定义 404 页面

virtual-machine - 分支预测优化可以继承吗?

internet-explorer-8 - 在 Virtual Box VM 上安装 IE 8?

azure - Windows Azure 是 Multi-Tenancy 操作系统吗?

linux - 使虚拟桌面旋转的 unix shell 命令

azure - SQL表保存在哪里

Azure 资源管理器 API - 列出不包括属性的资源

c# - 如何为 Azure 存储表集表服务属性端点构建规范资源?