pnp / PnP-PowerShell

SharePoint PnP PowerShell CmdLets
https://pnp.github.io/powershell
Other
990 stars 663 forks source link

PnP Powershell in Docker? #2299

Open kkazala opened 4 years ago

kkazala commented 4 years ago

Category

Expected or Desired Behavior

Is it possible to use the PnP PowerShell in Docker? Is it supported at all?

Observed Behavior

I'm using mcr.microsoft.com/powershell:6.2.3-windowsservercore-1809 image with the SharePointPnPPowerShell2016 module, and I'm getting "Connect-PnPOnline : Method not found: 'System.Runtime.Remoting.ObjectHandle System.Activator.CreateInstance(System.String, System.Stri ng)'." when connecting to the local SP2016 farm from the container.

Am I missing dependencies? Or it's not meant to be used in Docker at all?

msft-github-bot commented 4 years ago

Thank you for reporting this issue. We will be triaging your incoming issue as soon as possible.

andrewconnell commented 4 years ago

This question should be posted to the PNP PowerShell project's repo...

ghost commented 4 years ago

Thank you for reporting this issue. We will be triaging your incoming issue as soon as possible.

kkazala commented 4 years ago

Thank you @andrewconnell for transferring my issue. I actually already reported my problem there, describing exact error and steps tp reproduce. Since there are 6 pages of issues pending triage, I decided to ask this question here, just to know whether it's supported at all Anyway, thx for your input Kinga