Connect-AzAccount should emit actionable message if non-first tenant needs MFA #14717
Labels
Accounts
Issues in Az.Accounts except authentication related
Milestone
Description
When user has multiple tenants and first tenant doesn't need MFA but non-first tenant needs MFA, currently Connect-AzAccount doesn't provide actionable message to end user:
We should provide actionable message to end user like:
However the proposed fix needs some change in Azure.Identity to expose underlying MSAL exception, log one issue Azure/azure-sdk-for-net#20218 to track this request.
The text was updated successfully, but these errors were encountered: