Description
With DLLPickle imported, I'm able to connect to graph from PS7 in Windows Terminal, but not with the VSCode integrated PS terminal
Expected Behavior
From VSCode PowerShell terminal, able to successfully connect to Graph
Current Behavior
Error message while importing Microsoft.Graph.Authentication about assembly with same name is already loaded
Possible Solution
I think it's a conflict with PowerShellEditorServices.Commands
Steps to Reproduce
VSCode for Windows with PowerShell extension installed
Default PowerShell version for extension is "PowerShell (x64)"
- open VSCode
- open PowerShell extension integrated terminal
- import-module dllpickle
- import module microsoft.graph.authentication
Context (Environment)
- Operating System and version as reported by
$PSVersionTable.OS: Microsoft Windows 10.0.26200
- PowerShell versions as reported by
$PSVersionTable.PSEdition: Core
- VSCode version: 1.114 and 1.115
- PowerShell extension: version 2025.4.0
- Microsoft.Graph version: 2.36.1
Description
With DLLPickle imported, I'm able to connect to graph from PS7 in Windows Terminal, but not with the VSCode integrated PS terminal
Expected Behavior
From VSCode PowerShell terminal, able to successfully connect to Graph
Current Behavior
Error message while importing Microsoft.Graph.Authentication about assembly with same name is already loaded
Possible Solution
I think it's a conflict with PowerShellEditorServices.Commands
Steps to Reproduce
VSCode for Windows with PowerShell extension installed
Default PowerShell version for extension is "PowerShell (x64)"
Context (Environment)
$PSVersionTable.OS: Microsoft Windows 10.0.26200$PSVersionTable.PSEdition: Core