Skip to content

0.5.0 cmdlets referencing microsoft.graph.authentication version 0.2.0.0 #189

Closed

Description

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

Activity

  1. NikCharlebois commented on May 4, 2020

    @NikCharlebois
    Contributor

    Looks like it works with PowerShell 7.0.

  2. peombwa commented on May 4, 2020

    @peombwa
    Member

    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.

  3. ghost removed on May 4, 2020
  4. peombwa commented on May 7, 2020

    @peombwa
    Member

    This has now been fixed by 0.5.1. Run Update-Module Microsoft.Graph​​​​​​​ to get the latest modules.

  5. MichaelLaMontagne commented on May 7, 2020

    @MichaelLaMontagne
    Author

    Confirmed resolution.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions