-
Notifications
You must be signed in to change notification settings - Fork 517
Closed
Labels
Area-Extension TerminalIssue-BugA bug to squash.A bug to squash.Resolution-ExternalWill close automatically.Will close automatically.
Description
Prerequisites
- I have written a descriptive issue title.
- I have searched all open and closed issues to ensure it has not already been reported.
- I have read the troubleshooting guide.
- I am sure this issue is with the extension itself and does not reproduce in a standalone PowerShell instance.
- I have verified that I am using the latest version of Visual Studio Code and the PowerShell extension.
- If this is a security issue, I have read the security issue reporting guidance.
Summary
I can't connect to Exchange Online from VS Code terminal.
Running command "connect-exchangeonline" I get the following error:
OperationStopped: Could not load file or assembly 'Microsoft.Identity.Client, Version=4.44.0.0, Culture=neutral, PublicKeyToken=03ae'.
The issue does not reproduce in standalone PowerShell terminal.
PowerShell Version
Name Value
---- -----
PSVersion 7.3.1
PSEdition Core
GitCommitId 7.3.1
OS Darwin 22.1.0 Darwin Kernel Version 22.1.0: Sun Oct 9 20:14:54 PDT 2022; root:xnu-8792.41.9~2/RELEASE_X86_64
Platform Unix
PSCompatibleVersions {1.0, 2.0, 3.0, 4.0…}
PSRemotingProtocolVersion 2.3
SerializationVersion 1.1.0.1
WSManStackVersion 3.0
Visual Studio Code Version
Version: 1.74.3
Commit: 97dec172d3256f8ca4bfb2143f3f76b503ca0534
Date: 2023-01-09T17:07:18.579Z (1 wk ago)
Electron: 19.1.8
Chromium: 102.0.5005.167
Node.js: 16.14.2
V8: 10.2.154.15-electron.0
OS: Darwin x64 22.1.0
Sandboxed: No
Extension Version
The term 'code' is not recognized as a name of a cmdlet, function, script file, or executable program.
Steps to Reproduce
- Start terminal
- Run: sudo pwsh
- Run: Install-Module -Name ExchangeOnlineManagement
- Start VS Code
- Run: import-module ExchangeOnlineManagement
- Run: connect-exchangeOnline
Visuals
No response
Logs
No response
Metadata
Metadata
Assignees
Labels
Area-Extension TerminalIssue-BugA bug to squash.A bug to squash.Resolution-ExternalWill close automatically.Will close automatically.