Integrated Powershell Hangs on Get-Credential
See original GitHub issueSystem Details
### VSCode version: 1.33.0 0dd516dd412d42323fc3464531b1c715d51c4c1a x64
### VSCode extensions:
DougFinke.vscode-PSStackoverflow@0.0.2
formulahendry.code-runner@0.9.8
ms-vscode.powershell@1.12.0
### PSES version: 1.12.0.0
### PowerShell version:
Name Value
---- -----
PSVersion 5.1.17763.316
PSEdition Desktop
PSCompatibleVersions {1.0, 2.0, 3.0, 4.0...}
BuildVersion 10.0.17763.316
CLRVersion 4.0.30319.42000
WSManStackVersion 3.0
PSRemotingProtocolVersion 2.3
SerializationVersion 1.1.0.1
System Details Output
Issue Description
I am experiencing a problem when I am running my script, everytime I do a Get-Credential to login to Office365, it will hang on me. Now I want to say this was working before but for some reason it is not working now. I can copy parts of my script and put it in a new file and run it, and it will work. I have even tried just copying the text to a new file and saving it as something different, but still the issue persists.
Expected Behaviour
– In Powershell ISE, it will ask me for credentials in a Credentiaol GUI window, In VSCode it will only ask for them in the terminal, but both are successful and work, well VSCode is successful when its not in my entire script.
Actual Behaviour
– In VSCode it asks me for my password in the terminal, but wont let me type it in and just hangs.
Attached Logs
EditorServices.log Start-EditorServices-EditorServices.log vscode-powershell.log
Issue Analytics
- State:
- Created 4 years ago
- Comments:11 (3 by maintainers)
Top GitHub Comments
Have you tried the preview extension? Works fine there for me on both 7.2 and 5.1
This issue has been marked as fixed. It has been automatically closed for housekeeping purposes.