-
Notifications
You must be signed in to change notification settings - Fork 3.9k
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
Unable to connect to Azure from Powershell [Windows 10] #14861
Comments
Thanks for reporting. We have fixed couple issue in Az.Accounts for authentication. Please try the latest version of Az.Accounts 2.2.8 and try Connect-AzAccount again after restart powershell. |
After installing version 2.2.8 of Az.Accounts module and restarting powershell, the following was the result (no change)
The issue is still persisting... |
Issue is still present, any assistance would be appreciated |
It seems your environment has special setting. Please reference #13691 . The similar issue is not resolved yet. I have created an issue to MSAL https://github.com/AzureAD/microsoft-authentication-library-for-dotnet/issues/2594. Please watch it and add additional information if required. |
@Atavuli - are you using a regular (non-virtual) Win10 machine? Does this happen if you start in non-admin mode? Does this happen on some machines but not others? |
I have a similar issue with Powershell 5.1, Az module version 2.28, on windows 10 whether running as either administrator or user. The only way I've managed to get it to work is by using Powershell ISE. From ISE a login screen pops up when the command is executed and I can authenticate without issue. From the standard Powershell console (same version, 5.1) I get:
The |
I am still facing this issue, tried all the suggestions given on every portal, nothing helps. If anybody fixed this, please advise. |
I was able to connect using the "Windows PowerShell ISE" interface...don't know what is the difference in the authentication process |
Description
Unable to connect to Azure from Powershell using Connect-AzAccount. Windows 10
Steps to reproduce
Opening Powershell in Administrator Mode:
Environment data
Module versions
Debug output
Error output
The text was updated successfully, but these errors were encountered: