-
Notifications
You must be signed in to change notification settings - Fork 215
Closed
Labels
Description
On the installation page, it states
The Microsoft Graph PowerShell SDK is published on the PowerShell Gallery. You can install the SDK in PowerShell Core or Windows PowerShell using the following command.
However I get this error when I try to run Connect-MgGraph in PowerShell Core (various combinations of flags were tried, including using ClientId and Certificate):
> Connect-MgGraph
Connect-MgGraph: Could not load file or assembly 'System.IdentityModel.Tokens.Jwt, Version=5.6.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35'. Could not find or load a specific file. (0x80131621)
It appears to work fine in PowerShell 5 both using Device Code Flow and Client Credentials (certificate).
Does something else need to be installed for it to work on PowerShell Core, and if so, can the documentation be updated to reflect that?
AB#8837