Open ComputerScienceSean opened 5 days ago
Hi,
Please open an issue with Azure PowerShell as the stack trace you shared shows its emanating from their code:
Microsoft.Azure.PowerShell.Cmdlets.Resources.MSGraph.Runtime.PowerShell
I'm going to guess you're probably right about the apostrophe in your name, so share that with them as well. As to why it's happening on start-up of the extension, I can only surmise you're loading the Azure PowerShell module in your profile, or having it installed has injected some startup sequence.
But the PowerShell extension for VS Code does not ship nor load the Azure PowerShell module.
Cheers!
This issue has been labeled as resolved, please verify the provided fix (or other reason).
Prerequisites
Summary
I am experiencing a problem when my Visual Studio Code PowerShell Extension Terminal starts.
I am receiving the following error:
The error prints itself multiple times when the PowerShell Extension terminal window opens up. It still allows me to run cmdlets, but I would like to understand the cause of this issue.
I am uncertain whether this issue presents itself since I have an apostrophe (') in my name, so I tried moving my OneDrive folder to another path without the apostrophe. This did not solve my issue.
In the regular PowerShell terminal (pwsh) I am not receiving this error.
PowerShell Version
Visual Studio Code Version
Extension Version
Steps to Reproduce
No code execution is required. The error occurs on startup of the terminal window of the PowerShell extension. Below is the full error.
Visuals
No response
Logs
No response