转自《https://www.pbnet.ro/?p=834》

OK, so you notice that your AADSync scheduled job runs but no sync occurs between your on-prem AD and Azure AD.

Also, when manually running D:\Program Files\Microsoft Azure AD Sync\Bin\DirectorySyncClientCmd.exe nothing happens on the sync side.

When you verify your server’s application logs, you notice:

Failed while Purging Run History
Invalid namespace
at System.Management.ManagementException.ThrowWithExtendedInfo(ManagementStatus errorCode)
at System.Management.ManagementScope.InitializeGuts(Object o)
at System.Management.ManagementScope.Initialize()
at System.Management.ManagementObjectSearcher.Initialize()
at System.Management.ManagementObjectSearcher.Get()
at Microsoft.Azure.ActiveDirectory.Synchronization.DirectorySyncClientCmd.Program.PurgeRunHistory(TimeSpan purgeInterval)
at Microsoft.Azure.ActiveDirectory.Synchronization.Framework.ActionExecutor.Execute(Action action, String description)
at Microsoft.Azure.ActiveDirectory.Synchronization.DirectorySyncClientCmd.Program.Main(String[] args)

Root cause

This happens when the WMI object had unregistered itself which might be caused by another tool installed or uninstalled at the time when the problem started to occur.

Resolution:
To resolve the issue, run the commands below:
mofcomp “D:\Program Files\Microsoft Azure AD Sync\Bin\mmswmi.mof”
regsvr32 /s “D:\Program Files\Microsoft Azure AD Sync\Bin\mmswmi.dll”

net stop winmgmt /y

net start winmgmt
net start “IP Helper”
net start “User Access Logging Service”
net start “Microsoft Azure AD Sync”

D:\Program Files\Microsoft Azure AD Sync\Bin\DirectorySyncClientCmd.exe”

Now your AdSync scheduled task should run successfully (you can check that using MIISClient).

转载于:https://www.cnblogs.com/junjiany/p/10813246.html

[O365] Azure Active Directory Sync EVENT ID 906 FAILED While Purging Run History. Invalid Namespace相关推荐

  1. DirSync: List of attributes that are synced by the Azure Active Directory Sync Tool

    http://social.technet.microsoft.com/wiki/contents/articles/19901.dirsync-list-of-attributes-that-are ...

  2. 基于事件驱动架构构建微服务第19部分:使用 SignalR 和 Azure Active Directory 构建和保护实时通信...

    原文链接:https://logcorner.com/building-micro-services-through-event-driven-architecture-part19-building ...

  3. Azure Active Directory Connect深度解析

    AADC(Azure Active Directory Connect),这个是微软开发的第四代同步身份同步工具了,从最早的Directory Synchronization 一直到现在. 中小型的企 ...

  4. Blazor 应用如何使用 Azure Active Directory 认证登录

    点击上方蓝字 / 关注"汪宇杰博客" 原文:Azure Tips and Tricks 翻译:汪宇杰 使用 Azure Active Directory 保护您的应用程序 您可以使 ...

  5. azure 使用_如何使用Cloud Shell自动化Azure Active Directory(AAD)任务

    azure 使用 介绍 (Introduction) In the article How to create an Azure SQL Database using the Cloud Shell, ...

  6. azure云数据库_使用Azure Active Directory和Azure SQL数据库

    azure云数据库 介绍 (Introduction) By default, when someone creates an Azure SQL Server, an Administrator w ...

  7. SRV记录用来标识某台服务器使用了某个服务,常见于微软系统的目录管理——深入的话需要去折腾Azure Active Directory...

    SRV记录 SRV记录 什么情况下会用到SRV记录? [SRV记录用来标识某台服务器使用了某个服务,常见于微软系统的目录管理] SRV记录的添加方式 A.主机记录处格式为:服务的名字.协议的类型 例如 ...

  8. 基于事件驱动架构构建微服务第16部分:Azure Active Directory B2C

    原文链接: https://logcorner.com/building-micro-services-through-event-driven-architecture-part16-azure-a ...

  9. Microsoft Azure——Azure Active Directory

    Azure Active Directory 依赖说明:Spring Security 与 Azure Active Directory集成以进行身份验证. Azure Active Director ...

最新文章

  1. C# ASP.Net 设置外网访问
  2. 使用tracee编写规则追踪系统安全事件
  3. Theano 中文文档 0.9 - 7.1.2 NumPy新手
  4. 忍不住了, 和大家聊聊怎么写简历吧, 关于简历的深度思考
  5. IE7 绝对定位z-index问题
  6. Ubuntu - 新建管理员用户
  7. 新浪微博自动化运维平台实践
  8. “代码雨”纯HTML源码实现及效果
  9. 记一次戴尔灵越7000(7000-7591)的坑爹螺丝设计,中招了保修都没门
  10. Geos库在Windows上的编译
  11. 帮你正确理解“财富自由”
  12. win10连接校园网(wifi)开热点手机连接显示“已连接但无法访问互联网”解决办法
  13. 【基于物理的渲染(PBR)白皮书】(四)法线分布函数相关总结
  14. 海森堡bug_海森堡因超速而停下来警察说,你知道你要走多快,海森堡说
  15. KeyShot 11.1 现已推出
  16. 如何用python获取文献_[python]eutilities获取文献题录
  17. BILSTM原理介绍
  18. ELK之logstash
  19. 【Linux】计算机软硬件体系结构
  20. 深入学习 RTC时钟库 DS3231

热门文章

  1. java线程之线程通信控制
  2. 2017/06/23 linux软件管理构建本地源
  3. [iOS]服务器使用php时多图片上传AFNetworking的设置
  4. 给asterisk1.8.7添加menuselct选项
  5. 用Enterprise Library开发应用程序 --- Enterprise Library - January 2006 翻译 第二部分
  6. mysql数据库水平分割_数据库的水平分割和垂直分割
  7. 2021北京高考英语口试成绩查询,2021北京高考英语口语怎么考?2021英语增加口语考试是全国?...
  8. /opt/hbase/conf 中不能启动hbase_Hbase从入门到入坑
  9. 装备保障性验证知识图谱构建方法研究-学习笔记
  10. 分布式系统session一致性的问题