powershell icon indicating copy to clipboard operation
powershell copied to clipboard

[BUG] Connect-PnPOnline and PowerShell 7.2

Open patrick-blanc opened this issue 3 years ago • 1 comments

Reporting an Issue or Missing Feature

Bug in Connect-PnPOnline

Expected behavior

Connect to SharePoint successfully.

Actual behavior

Connect-PnPOnline showing error : Connect-PnPOnline: The type initializer for 'Microsoft.ApplicationInsights.Extensibility.Implementation.Tracing.CoreEventSource' threw an exception.

Steps to reproduce behavior

Use PowerShell 7.2.6 Use Connect-PnPOnline -Url ... -ClientId -CertificateBase64Encoded ... -CertificatePassword ... -Tenant ...

What is the version of the Cmdlet module you are running?

2.1.1

Which operating system/environment are you running PnP PowerShell on?

  • [x] Windows
  • [x] Azure Functions

patrick-blanc avatar May 30 '23 18:05 patrick-blanc

@patrick-blanc - Connect-PnPOnline is the first command to be run for anything, so I think we would have had more issues if it wasn't working. Closing now.

veronicageek avatar Jun 21 '23 20:06 veronicageek