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
If Connecting to MSGraph then connecting to ExchangeOnline, error OperationStopped: Could not load file or assembly 'Microsoft.Identity.Client, Version=4.44.0.0. #4982
Labels
Comments
chrisclosacr
added
Issue-Bug
A bug to squash.
Needs: Triage
Maintainer attention needed!
labels
Apr 26, 2024
@chrisclosacr do you have any other modules loaded? |
SydneyhSmith
added
Needs: Author Feedback
Please give us the requested feedback!
and removed
Needs: Triage
Maintainer attention needed!
labels
May 7, 2024
Just a fresh launch in the PS Extension:
Get-Module
ModuleType Version PreRelease Name ExportedCommands
---------- ------- ---------- ---- ----------------
Manifest 7.0.0.0 Microsoft.PowerShell.Management {Add-Content, Clear-Content, Clear-Item, Clear-ItemProperty…}
Manifest 7.0.0.0 Microsoft.PowerShell.Security {ConvertFrom-SecureString, ConvertTo-SecureString, Get-Acl, Get-AuthenticodeSignature…}
Manifest 7.0.0.0 Microsoft.PowerShell.Utility {Add-Member, Add-Type, Clear-Variable, Compare-Object…}
Script 0.2.0 PowerShellEditorServices.Commands {Clear-Host, ConvertFrom-ScriptExtent, ConvertTo-ScriptExtent, Find-Ast…}
Script 2.4.0 beta0 PSReadLine {Get-PSReadLineKeyHandler, Get-PSReadLineOption, Remove-PSReadLineKeyHandler, Set-PSReadLineKeyHandler…}
Chris Clos
IT Infrastructure Architect, Cloud Services
100 Ottawa Ave Sw
Grand Rapids, MI, 49503
Email: ***@***.***
Phone: 6165411323
This email, including any attachments or subsequent replies thereto or forwards thereof, (a) may include confidential, proprietary or other protected information; (b) is sent based upon a reasonable expectation of privacy; and (c) is not intended for unauthorized persons. If you are not the intended recipient of this email, you must not use, disclose or disseminate it or any information contained herein, including attachments. If you are not the intended recipient of this email, please immediately notify its sender and permanently delete it, including any attachments or replies thereto or any forwards, copies or portions thereof. Any unauthorized review, use, disclosure or distribution of this email is prohibited and may be a violation of law or regulation. It is the responsibility of the recipient of this email to take steps to protect against viruses and to ensure that this email (and any attachments hereto) does not adversely affect any computer system into which it is received or in which it is opened.
…________________________________
From: Sydney Smith ***@***.***>
Sent: Tuesday, May 7, 2024 2:14 PM
To: PowerShell/vscode-powershell ***@***.***>
Cc: Chris Clos ***@***.***>; Mention ***@***.***>
Subject: Re: [PowerShell/vscode-powershell] If Connecting to MSGraph then connecting to ExchangeOnline, error OperationStopped: Could not load file or assembly 'Microsoft.Identity.Client, Version=4.44.0.0. (Issue #4982)
@chrisclosacr<https://github.com/chrisclosacr> do you have any other modules loaded? gmo
—
Reply to this email directly, view it on GitHub<#4982 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/A2BLM5GYYO2S4ITSCFWGHHTZBEKZ7AVCNFSM6AAAAABG2WGC2SVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDAOJZGAZTCMZWHE>.
You are receiving this because you were mentioned.Message ID: ***@***.***>
|
github-actions
bot
added
Needs: Maintainer Attention
Maintainer attention needed!
and removed
Needs: Author Feedback
Please give us the requested feedback!
labels
May 7, 2024
Thanks @chrisclosacr might be due to the way PSSA loads modules in the editor |
SydneyhSmith
added
Area-Script Analysis
and removed
Needs: Maintainer Attention
Maintainer attention needed!
labels
May 15, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Prerequisites
Summary
I get the following error when trying to Connect-ExchangeOnline after doing a Connect-MgGraph. This Only happens in the Powershell Extension, I'm able to use this with pwsh.exe directly or MS Terminal without the error:
OperationStopped: Could not load file or assembly 'Microsoft.Identity.Client, Version=4.44.0.0, Culture=neutral, PublicKeyToken='.
PowerShell Version
Visual Studio Code Version
Extension Version
Steps to Reproduce
Connect-MgGraph -Scopes 'User.Read.All'
Connect-ExchangeOnline
Visuals
20240426-PSError-ConnectExchangeOnline-stepsrecording.zip
Logs
No response
The text was updated successfully, but these errors were encountered: