Replies: 1 comment
-
Same issue.... though I had working -UseWebLogin code that broke with The type initializer for 'Microsoft.SharePoint.Client.ClientContextExtensions' threw an exception ... I tried switching to -Interactive and got same error as OP. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I am using Powershell v7.1.3 and I was working perfectly fine with PnP.Powershell v1.4 loaded, I was able to modernize SPOnline sites etc yesterday. I came to my Powershell console today and Connect-PnPOnline reponds with Could not load file or assembly 'Microsoft.Extensions.DependencyInjection, Version=2.2.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60'. The system cannot find the file specified.
I tried Register-PnPManagementShellAccess and that just freezes with no response, and I have to crash out of Powershell.
Any thoughts what might be happening here?
Beta Was this translation helpful? Give feedback.
All reactions