-
-
Notifications
You must be signed in to change notification settings - Fork 21
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Could not load file or assembly 'System.Net.Http, Version=4.2.0.0 #92
Comments
Same Error
The old version stopped working some weeks ago, so we tried to update the script. |
Any chance to have this script work on PS 7 ? |
Hi all,
Here is the full log:
`...
VERBOSE: ModuleVersion: 3.2.0
PS>TerminatingError(Get-ConnectionContext): "Could not load file or assembly 'System.Net.Http, Version=4.2.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. The system cannot find the file specified."
VERBOSE: ConnectionContext Removed
PS>TerminatingError(): "Could not load file or assembly 'System.Net.Http, Version=4.2.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. The system cannot find the file specified."
PS>TerminatingError(Write-Log): "The running command stopped because the preference variable "ErrorActionPreference" or common parameter is set to Stop: Failed to fetch Global Address List Contacts from Office 365 Directory"
Windows PowerShell transcript end
End time: 20230831142326
**********************`
After Googling on this error, it seems to be a version conflict. See here for example.
I'm running the script on PowerShell 7.3.0 (Windows Server 2016). The .dll files are not blocked.
Thanks for any idea as I just don't know what I'm suppose to do now...
The text was updated successfully, but these errors were encountered: