Skip to content

Az.Account 3.0.0 - Connect-AzAccount WAM - Always fails when typing password for first time #25023

Open
@mbsnl

Description

@mbsnl

Description

Using Module Az.Account 3.0.0 and then CmdLet Connect-AzAccount, the new WAM gives a Popup towards the AD FederationServer but this ALWAYS fails when typing the correct password for first time. There is no error, just automatically the same Popup again on the AD FederationServer asking for the password which (when you have this in the same Popup for the 2nd time) works correct and passes on in the next screen of the popup to MFA.

Issue script & Debug output

Connect-AzAccount -TenantId [GUID] -SubscriptionId [GUID]
Skipped due to sensitive information.

Environment data

Name                           Value
----                           -----
PSVersion                      7.4.2
PSEdition                      Core
GitCommitId                    7.4.2
OS                             Microsoft Windows 10.0.22621
Platform                       Win32NT
PSCompatibleVersions           {1.0, 2.0, 3.0, 4.0…}
PSRemotingProtocolVersion      2.3
SerializationVersion           1.1.0.1
WSManStackVersion              3.0

Module versions

Name                            Version
----                            -------
Az.Accounts                     3.0.0
CimCmdlets                      7.0.0.0
Microsoft.PowerShell.Management 7.0.0.0
Microsoft.PowerShell.Utility    7.0.0.0
PSReadLine                      2.2.6

Error output

Message        : This command cannot find a matching alias because an alias with the name 'Edit-ProfileFile' does not exist.
StackTrace     :
Exception      : System.Management.Automation.ItemNotFoundException
InvocationInfo : {Get-Alias}

Metadata

Metadata

Assignees

No one assigned

    Labels

    AccountsIssues in Az.Accounts except authentication relatedWAMWeb Account ManagerbugThis issue requires a change to an existing behavior in the product in order to be resolved.customer-reported

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions