Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support for Powershell 6 (.net Core) missing #35

Open
chwilfing opened this issue Mar 31, 2019 · 1 comment
Open

Support for Powershell 6 (.net Core) missing #35

chwilfing opened this issue Mar 31, 2019 · 1 comment

Comments

@chwilfing
Copy link

Importing the module into a powershell 6.1 session throws an error due to dependency on System.Windows.Forms. Are there any plans or work underway to support pwsh.exe as a host?

thanks for your great work!

BG Christoph

Import-Module : Could not load file or assembly 'System.Windows.Forms, Culture=neutral, PublicKeyToken=null'. Das System kann die angegebene Datei nicht finden.
At line:1 char:1
+ Import-Module psmsgraph
+ ~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo          : InvalidOperation: (:) [Import-Module], FileNotFoundException
+ FullyQualifiedErrorId : FormatXmlUpdateException,Microsoft.PowerShell.Commands.ImportModuleCommand
@markekraus
Copy link
Owner

@chwilfing there are several hurdles to implementing this on .NET Core. At the core of it is the authentication methods. The device Auth flows (similar to that used by the Az modules) is not documented. Also, the module currently has a heavy reliance on DPAPI for storing tokens securely, that is not supported x-plat. Finally, i don't have an abundance of free time to work on this and graph is no linger an API I work with on a regular basis so i don't have business justification to work on it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants