Skip to content

🪲 Bug report - Graph authentication issue with VSCode terminal #169

@dsolodow

Description

@dsolodow

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

Image

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)"

  1. open VSCode
  2. open PowerShell extension integrated terminal
  3. import-module dllpickle
  4. 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

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions