【问题标题】:Import contacts from GAL to users accounts in Office 365将 GAL 中的联系人导入 Office 365 中的用户帐户
【发布时间】:2017-10-30 21:59:37
【问题描述】:

我的组织迁移到 Office 365,用户应该在其文件夹联系人和电话上拥有所有 GAL 联系人。我尝试使用a Steve

但我有:

使用“1”参数调用“AutodiscoverUrl”的异常:“自动发现阻止了可能不安全的重定向到 h ttps://autodiscover-s.outlook.com/autodiscover/autodiscover.xml。要允许自动发现遵循重定向,请使用 t 他 AutodiscoverUrl(string, AutodiscoverRedirectionUrlValidationCallback) 重载。” 在 C:\PS\Import-MailboxContacts.ps1:159 char:9 + $service.AutodiscoverUrl($EmailAddress); + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + CategoryInfo : NotSpecified: (:) [], ParentContainsErrorRecordException + FullyQualifiedErrorId : AutodiscoverLocalException

任何想法如何添加联系人?

【问题讨论】:

  • 不清楚你在问什么或者你在做什么来得到那个错误。例如,我猜测您因为标签而使用了某种 Power Shell 脚本,但我不知道您的环境的拓扑结构,也不知道您针对哪个服务器(或类型/角色)运行脚本,也不知道你运行的脚本是什么。

标签: powershell office365 exchange-server


【解决方案1】:

在您引用的那个脚本中,您需要更改行

$service.AutodiscoverUrl($EmailAddress);

$service.AutodiscoverUrl($MailboxName,{$true})  

这实质上将允许重定向 Office365 所需的自动发现

【讨论】:

    猜你喜欢
    • 2013-11-08
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2012-04-16
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多