I’ve upgraded to the latest version 2.4.1 and now getting the following error when trying to run Connect-PnpOnline
[error] The type initializer for ‘Microsoft.ApplicationInsights.Extensibility.TelemetryConfiguration’ threw an exception.
P.S. This is the newer Install-Module -Name “PnP.PowerShell” module.