Bonjour,
je suis entrain d'essayer d'exécuter un script de création de fichier dans les "Inbox" des utilisateurs, mais j'ai un message d'erreur comme suit:
Exception calling "AutodiscoverUrl" with "1" argument(s): "Autodiscover blocked a potentially insecure redirection to
https://eu-mail.mercury.intra/autodiscover/autodiscover.xml. To allow Autodiscover to follow the redirection, use the
AutodiscoverUrl(string, AutodiscoverRedirectionUrlValidationCallback) overload."
At D:\Scripts\Alain\AddFoldersEWS.ps1:19 char:9
+ $exchService.AutodiscoverUrl($mailaddress)
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : NotSpecified: (:) [], MethodInvocationException
+ FullyQualifiedErrorId : AutodiscoverLocalException
Pouvez-vous SVP m'apportet votre support