You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
0.5.0 cmdlets referencing microsoft.graph.authentication version 0.2.0.0 #189
installed latest version on PSGallery 0.5.0 via Install-Module Microsoft.Graph -Repository PSGallery -force. Able to use connect-graph but running get-mguser or other cmdlets returns:
"Get-MgUser : Could not load file or assembly 'Microsoft.Graph.Authentication, Version=0.2.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. The system cannot find the file specified."
Reacted by Josh King, Dave Schafer, Nik Charlebois, Kirk Munro, Nicola Suter and Balázs Orbán
We've tacked this issue to a hard dependency issue with PowerShell 5.1. As Edwin Gomez (@nickgmicrosoft) said, it works with PowerShell 7.0. We are currently working on a fix on our end to address this.
Activity
NikCharlebois commentedon May 4, 2020
Looks like it works with PowerShell 7.0.
peombwa commentedon May 4, 2020
We've tacked this issue to a hard dependency issue with PowerShell 5.1. As Edwin Gomez (@nickgmicrosoft) said, it works with PowerShell 7.0. We are currently working on a fix on our end to address this.
peombwa commentedon May 7, 2020
This has now been fixed by 0.5.1. Run
Update-Module Microsoft.Graphto get the latest modules.MichaelLaMontagne commentedon May 7, 2020
Confirmed resolution.