-
Notifications
You must be signed in to change notification settings - Fork 29
DLL Mismatch with Az.Accounts #32
Comments
We've also encountered the exact same issue. Any update on this would be appreciated. |
We found that
How can we get them to interoperate? Thanks, |
Dependency assembly version conflict is inevitable in PowerShell 7 as modules are owned by different teams/companies. BTW, Azure PowerShell is working on dependency assembly isolation by using AssemblyLoadContext which should solve the conflict with other modules, the plan is to release within H2 2021. |
Hi everyone, |
Hmmm I think answering with "n" was working but it might have prompted twice. The third instance is just weird. |
Thanks @jasoth - Looks like new release is working properly for me. |
1:1 same story as @DarkLite1. Freshly installed module from the gallery. Any update for this? |
The new version of Az.Accounts is throwing up this error "WARNING: INITIALIZATION: Fallback context save mode to process because of error during checking token cache persistence: Could not load file or assembly 'Microsoft.Identity.Client, Version=4.23.0.0, Culture=neutral, PublicKeyToken=0a613f4dd989e8ae'. Could not find or load a specific file. (0x80131621)." when doing a connect-AzAccount.
When I look at what assemblies are loaded using [System.AppDomain]::CurrentDomain.GetAssemblies() | Where {$_.location -like "identity"} | FL I can see a previous DLL loaded from MSAL.PS PowerShell/Modules/MSAL.PS/4.21.0.1/Microsoft.Identity.Client.4.21.0/netcoreapp2.1/Microsoft.Identity.Client.dll
Is it possible to update the dependency or advise on how I can fix. I tried removing the modules and installing Az.Accounts first but that has not fixed it.
The text was updated successfully, but these errors were encountered: