Closed dineshreddy007 closed 4 years ago
We will check this question.
Thanks for reporting the issue. Please use below cmdlets as workaround. We'll address issue in Nov 17 release, thanks.
Connect-AzAccount -UseDeviceAuthentication
Set-AzContext -Subscription *** -Tenant ***
Close the issue as it has been addressed in Az.Accounts 2.2.0 which will be released on Nov 17.
Description
UseDeviceAuthentication flag for Connect-AzAccount command does not work when TenantId parameter is passed because it throws an error on the PowerShell window. In Az.Accounts 1.9.5 it is working fine. Issue started from Az.Accounts version 2.1.0
Steps to reproduce
For Az.Account 2.1.2, try to log in using the following command:
Environment data
Module versions
Debug output
Error output