我有一个问题,在下面的序列中发生了以下事件(并且使用testing帐户进行了第二次validation,示例中的O365 tennant是mydomain.onmicrosoft.com):
We detected a duplicate UserPrincipalName conflict on the value [email protected]. All attribute values need to be unique across objects. To resolve this conflict, first determine which object should be using the conflicting value. Then, update or remove the conflicting value from the other object(s). This error was detected on 9/7/17 12:32 PM. We detected a duplicate UserPrincipalName conflict on the value [email protected]. All attribute values need to be unique across objects. To resolve this conflict, first determine which object should be using the conflicting value. Then, update or remove the conflicting value from the other object(s). This error was detected on 9/7/17 12:32 PM. 这些清单是:
UserPrincipalName: [email protected] Status:Unlicensed Last DirSync time: Source anchor: Source of authority:Cloud Created on:9/7/17 3:49 PM UserPrincipalName: [email protected] (Modified automatically) Status:Unlicensed Last DirSync time:9/7/17 4:32 PM Source anchor:+fWWJ+utoUS9xeB2ofeKew== Source of authority:On-premises Active Directory Created on:9/7/17 4:02 PM Proxy addresses:
按照https://support.microsoft.com/zh-cn/help/2641663/how-to-use-smtp-matching-to-match-on-premises-user-accounts-to-office
我已经按照这里的细节设置了用户configuration文件下的本地AD帐户电子邮件地址[email protected],将UPN设置为mydomain.com,并且在服务器的属性选项卡下添加了代理地址SMTP:[email protected]。用户,但仍然得到相同的错误。
任何想法请如何我可以链接列出[email protected] (AD帐户) [email protected] (Office 365邮箱)?
此问题可能是由于您没有将您的域添加到Office 365所造成的 。
首先,我们知道Office 365使用基于云的用户authentication服务Azure Active Directory来pipe理用户。 每个Azure AD目录都以domainname.onmicrosoft.com的forms提供了一个初始域名。 初始域名不能更改或删除,但您也可以将您的公司域名添加到Azure AD。
例如,您的组织可能有其他域名用于做生意,用户使用您的公司域名login。 将自定义域名添加到Azure AD允许您在用户熟悉的目录中分配用户名,例如“[email protected]”。 而不是“alice @ .onmicrosoft.com”。 这个过程很简单:
您可以在此处添加您的域在Office 365门户中:
如果您计划将本地Windows Server AD与Azure AD联合,则当您运行Azure AD Connect工具以同步您的本地Active Directorycheckbox时,您需要select我计划将此域configuration为单点login目录。 您还需要注册与向导中的Azure AD Domain步骤中的本地目录联合select的相同的域名。 您可以在这些说明中看到向导中的步骤。 如果您没有Azure AD Connect工具,可以在此处下载 。
有关如何将域和用户添加到Office 365的更多信息,请参阅此官方文档 。
从技术上讲,如果Azure AD Connect安装正确,则不应该使用无效的(corp.mydomain.com)UPN同步用户。 你总有一天会告诉我你是如何强迫这件事发生的。 您是否也在Office 365中授权corp.mydomain.com?
但是,现在,内部部署用户通过Anchor / ImmutableID绑定到云用户。
Set-MsolUser -UserPrincipalName <clouduserUPN> -ImmutableID $null删除云用户的ImmutableID: Set-MsolUser -UserPrincipalName <clouduserUPN> -ImmutableID $null 如果在步骤1中无法删除内部部署AD帐户,请在Azure AD Connect和Sync中筛选本地用户。 这将删除Office 365中的用户帐户,因此您可以执行第2步。然后在最终同步之前删除filter。