Per the Active Roles Release Notes and listed prerequisites, the
Az.Accounts PowerShell module must be installed on the Active Roles host.
The required version is 2.5.3, as any newer version is incompatible with the Active Roles Azure Join process.
To install Az.Accounts 2.5.3, run the following cmdlet:
- Install-Module -Name Az.Accounts -RequiredVersion 2.5.3 -Force -AllowClobber
If a different version of Az.Accounts is installed, run the following cmdlets to resolve:
- Uninstall-Module -Name Az.Accounts
- Install-Module -Name Az.Accounts -RequiredVersion 2.5.3 -Force -AllowClobber