Connect-AzAccount with -Tenant parameter unable to authenticate #19471
Labels
Authentication
Azure PS Team
bug
This issue requires a change to an existing behavior in the product in order to be resolved.
Milestone
Description
Expected Result
When running command
Connect-AzAccount -SubscriptionId abc-123 -Tenant domain.onmicrosoft.com
, Az PowerShell should authenticate into specified subscription ID.Issue
After update to Az PowerShell module version 8.3.0 getting error below:
It seems the tenant ID queried for tenant domain is not correct.
Issue script & Debug output
Environment data
Module versions
Error output
The text was updated successfully, but these errors were encountered: