grahamr975 / EWS-Office365-Contact-Sync

Uses Exchange Web Services to synchronize a Global Address List in Office 365 to a user's mailbox
MIT License
94 stars 21 forks source link

Failed to fetch Global Address List Contacts from Office 365 Directory - Assembly "System.Net.Http, Version=4.2.0.0 #82

Closed fuegnera closed 1 year ago

fuegnera commented 1 year ago

Hi,

i just started to test the script and I ran into the following problem: can somebody help me? (I am not a programmer... i only followed the guide and have installed .net Framework 4.7.2 on the system)

AUSFÜHRLICH: Funktion "Disconnect-ExchangeOnline" wird importiert. AUSFÜHRLICH: Computed version info: 3.1.0 AUSFÜHRLICH: ModuleVersion: 3.1.0 PS>TerminatingError(Get-ConnectionContext): "Die Datei oder Assembly "System.Net.Http, Version=4.2.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" oder eine Abhängigkeit davon wurde nicht gefunden. Das System kann die angegebene Datei nicht finden." AUSFÜHRLICH: ConnectionContext Removed PS>TerminatingError(): "Die Datei oder Assembly "System.Net.Http, Version=4.2.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" oder eine Abhängigkeit davon wurde nicht gefunden. Das System kann die angegebene Datei nicht finden." PS>TerminatingError(Write-Log): "Der ausgeführte Befehl wurde beendet, da die Einstellungsvariable "ErrorActionPreference" oder ein allgemeiner Parameter auf "Stop" festgelegt ist: Failed to fetch Global Address List Contacts from Office 365 Directory."

TerminatingError(Write-Log): "Der ausgeführte Befehl wurde beendet, da die Einstellungsvariable "ErrorActionPreference" oder ein allgemeiner Parameter auf "Stop" festgelegt ist: Failed to fetch Global Address List Contacts from Office 365 Directory." TerminatingError(Write-Log): "Der ausgeführte Befehl wurde beendet, da die Einstellungsvariable "ErrorActionPreference" oder ein allgemeiner Parameter auf "Stop" festgelegt ist: Failed to fetch Global Address List Contacts from Office 365 Directory." TerminatingError(Write-Log): "Der ausgeführte Befehl wurde beendet, da die Einstellungsvariable "ErrorActionPreference" oder ein allgemeiner Parameter auf "Stop" festgelegt ist: Failed to fetch Global Address List Contacts from Office 365 Directory." Der ausgeführte Befehl wurde beendet, da die Einstellungsvariable "ErrorActionPreference" oder ein allgemeiner Parameter auf "Stop" festgelegt ist: Failed to fetch Global Address List Contacts from Office 365 Directory. Write-Log : Failed to fetch Global Address List Contacts from Office 365 Directory In Zeile:85 Zeichen:3

  • Write-Log -Level "FATAL" -Message "Failed to fetch Global Add ...
  • CategoryInfo : NotSpecified: (:) [Write-Error], WriteErrorException
  • FullyQualifiedErrorId : Microsoft.PowerShell.Commands.WriteErrorException,Write-Log
fuegnera commented 1 year ago

After Updating to .net 4.8 and a reboot the problem is solved.