my organization move to Office 365 and users should have all GAL contacts on their folder contacts and phones. I try to use a Steve!
But I've got:
Exception calling "AutodiscoverUrl" with "1" argument(s): "Autodiscover blocked a potentially insecure redirection to h ttps://autodiscover-s.outlook.com/autodiscover/autodiscover.xml. To allow Autodiscover to follow the redirection, use t he AutodiscoverUrl(string, AutodiscoverRedirectionUrlValidationCallback) overload." At C:\PS\Import-MailboxContacts.ps1:159 char:9 + $service.AutodiscoverUrl($EmailAddress); + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + CategoryInfo : NotSpecified: (:) [], ParentContainsErrorRecordException + FullyQualifiedErrorId : AutodiscoverLocalException
Any ideas how I can add contacts?