Connect-AzAccount – how to avoid azure device authentication?
1.To login with the user account, try the command as below, make sure your account doesn’t enable the MFA(Multi-Factor Authentication). 2.You can also use a service principal to login, use the command as below. See a similar issue I answered here, it use the old AzureRM module, for Az, just change the last line. If … Read more