Skip to content

Connect-MgGraph: Could not load file or assembly 'Microsoft.Identity.Client, Version=4.23.0.0, Culture=neutral, PublicKeyToken=0a613f4dd989e8ae'. Could not find or load a specific file. (0x80131621) when az.keyvault is imported #532

@larsmaes

Description

@larsmaes

Reproduction Steps:

install-module az.keyvault
install-module microsoft.graph

import-module az.keyvault

connect-mggraph

Connect-MgGraph: Could not load file or assembly 'Microsoft.Identity.Client, Version=4.23.0.0, Culture=neutral, PublicKeyToken=0a613f4dd989e8ae'. Could not find or load a specific file. (0x80131621)

Versions:

Script     2.2.4                 Az.Accounts                         {Add-AzEnvironment, Clear-AzContext, Clear-AzDefa…
Script     3.3.1                 az.keyvault                         {Add-AzKeyVaultCertificate, Add-AzKeyVaultCertifi…
Script     1.3.0                 Microsoft.Graph.Authentication      {Add-MgEnvironment, Connect-MgGraph, Disconnect-M…

get-host

Name             : ConsoleHost
Version          : 7.1.1
InstanceId       : eb501ccc-8eef-499b-ac95-086ddc7ea61c
UI               : System.Management.Automation.Internal.Host.InternalHostUserInterface
CurrentCulture   : nl-NL
CurrentUICulture : nl-NL
PrivateData      : Microsoft.PowerShell.ConsoleHost+ConsoleColorProxy
DebuggerEnabled  : True
IsRunspacePushed : False
Runspace         : System.Management.Automation.Runspaces.LocalRunspace

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions