meCoding
Results
comments of
meCoding
I also faced issues with . $PSCommandPath.Replace('.Tests.ps1', '.ps1'). I noticed that the replace function is actually case-sensitive.
Same problem here. It started when Az.Accounts was updated to 2.6.0. Running Connect-AzAccount in PS7 in VSCode terminal works, also running the command in PowerShell 5.1 (outside of VSCode) works.