-
Notifications
You must be signed in to change notification settings - Fork 513
Add-AzureRmAccount hangs PowerShell Editor Services #178
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add-AzureRmAccount hangs PowerShell Editor Services #178
Comments
Hmm, I can't repro this. I was able to add an account using that cmdlet and then use F8 to run something else afterward:
I'm also able to get IntelliSense etc after running it. Have you tried this in a fresh VS Code session? There may be some specific set of steps needed to make it happen. |
I experience the same issue.
Reproduces without extensions: Yes Steps to Reproduce:
The expected behavior is that a login prompt window should be opened (seen in the post above by @vikram-pendli ) @daviwil please just let me know if you need any more info. I was first just so happy when I switched to VS Code for developing my Azure PowerShell Script, but now i can't test them inside VS Code :( |
Gaaah, I just found out what the issue is! The login prompt window is opened behind all other open windows. And since it does not show up in task bar, you only see it if you minimize all other windows or if you use Alt+Tab... So, this does is likely not a VS Code issue (or is it?), but an Azure PowerShell module issue. I found answer here (after searching closed issues as well): microsoft/vscode#28470 |
@jwikman yep. This is either a vscode or electron issue. I opened it on vscode since they closed the last one: I'm going to close this issue since Add-AzureRmAccount isn't hanging. Let's watch the bug I created for the dialog showing behind vscode. |
Using version 0.6.0 of the PowerShell extension,
Add-AzureRmAccount
appears, but it hangs VS Code. I can't run any other commands with F8.Cheers,
Trevor Sullivan
Microsoft MVP: Cloud & Data Center Management
https://trevorsullivan.net
https://twitter.com/pcgeek86
The text was updated successfully, but these errors were encountered: