I would upgrade to .net 4.8 and try again
https://dotnet.microsoft.com/en-us/download/dotnet-framework
Problem with connect-exchangeonline
Hi
I have tested Connect-ExchangeOnline on an integration platform and it works perfectly
But when I test the same command on my production platform I get the following error :
Connect-ExchangeOnline -Credential $MyCredential -Prefix "M365"
Impossible de charger le fichier ou l'assembly 'System.Net.Http, Version=4.2.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' ou une de ses dépendances. Le fichier spécifié est introuvable.
Au caractère C:\Program Files\WindowsPowerShell\Modules\ExchangeOnlineManagement\3.0.0\netFramework\ExchangeOnlineManagement.psm1:726 : 21
- throw $_.Exception.InnerException;
- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- CategoryInfo : OperationStopped: (:) [], FileNotFoundException
- FullyQualifiedErrorId : Impossible de charger le fichier ou l'assembly 'System.Net.Http, Version=4.2.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' ou une de ses dépendances. Le fichier spécifié est introuvable.
What's the problem on this platform ?
-
Andy David - MVP 152K Reputation points MVP
2022-10-05T11:49:02.61+00:00