【问题标题】:Can we sync users' photos from AzureAD to AD DS?我们可以将用户的照片从 AzureAD 同步到 AD DS 吗?
【发布时间】:2017-10-17 05:22:58
【问题描述】:

我想知道如何将用户个人资料照片同步回我们的本地 Active Directory。我们目前使用 Azure AD Connect(最新版本)。 目前这可能吗?如果没有,还有其他好的解决方案吗?提前致谢!

【问题讨论】:

    标签: azure azure-active-directory


    【解决方案1】:

    我们目前使用 Azure AD Connect(最新版本)。这是目前 可能吗?

    目前,Azure AD Connect 不支持从 Azure Active Directory 同步到本地 AD DS。如果此功能对您很重要,您可以在this Custom Feedback Forum 中投票。

    如果没有,还有其他好的解决方案吗?

    您可以使用这些 powershell 脚本来执行此操作,但会花费大量时间。

    Connect-AzureAD
    $photo = Get-AzureADUserThumbnailPhoto -ObjectId <String>
    
    Set-aduser -identity <ADUser> -replace @{thumbnailPhoto=([byte[]](($photo).PictureData))}
    

    this document 中查看有关Get-AzureADUserThumbnailPhoto 的更多详细信息。 在this document 中查看有关Set-aduser 的更多详细信息。

    希望这会有所帮助!

    【讨论】:

    • 感谢您的回复。虽然反馈看起来毫无用处……
    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2016-01-18
    • 1970-01-01
    相关资源
    最近更新 更多