Assembly Load Context (ALC) conflicts with multiple MSAL versions in PowerShell modules

8/10 High

PowerShell modules like AZ and MS Graph each include their own versions of MSAL, causing assembly load context conflicts when users load multiple modules in the same session. This results in silent failures or misleading error messages as the runtime continues using whichever MSAL version was loaded first, rather than the expected version.

Category
compatibility
Workaround
hack
Stage
deploy
Freshness
persistent
Scope
framework
Upstream
open
Recurring
Yes
Buyer Type
team
Maintainer
slow

Sources

Collection History

Query: “What are the most common pain points with MSAL for developers in 2025?4/7/2026

These modules have incorporated their own versions of MSAL, leading to potential conflicts when users attempt to work with multiple modules in the same session... users encounter silent failures or misleading error messages.

Created: 4/7/2026Updated: 4/7/2026