Open
Description
Description
The execution of the cmdlet Connect_PartnerCenter is successful.
Then the execution of the cmdlet Connect-AzAccount fails with the module could not be loaded due to the following error: [Assembly with same name is already loaded]
Or the execution of the cmdlet Connect-AzAccount is successful.
And then the execution of the cmdlet Connect_PartnerCenter fails with the module could not be loaded due to the following error: [Assembly with same name is already loaded]
Script or Debug output
Environment data
Name Value
---- -----
PSVersion 7.4.6
PSEdition Core
GitCommitId 7.4.6
OS Microsoft Windows 10.0.22631
Platform Win32NT
PSCompatibleVersions {1.0, 2.0, 3.0, 4.0…}
PSRemotingProtocolVersion 2.3
SerializationVersion 1.1.0.1
WSManStackVersion 3.0
Module versions
ModuleType Version PreRelease Name ExportedCommands
---------- ------- ---------- ---- ----------------
Script 4.0.2 Az.Accounts {Add-AzEnvironment, Clear-AzConfig, Clear-AzConte…
Script 3.0.10 PartnerCenter {Add-PartnerCustomerCartLineItem, Add-PartnerCusto
Error output
Resolve-AzError: The 'Resolve-AzError' command was found in the module 'Az.Accounts', but the module could not be loaded due to the following error: [Assembly with same name is already loaded]
For more information, run 'Import-Module Az.Accounts'.