Skip to content

v1.1.0 - WAM Authentication & Enhanced Reliability

Choose a tag to compare

@Noble-Effeciency13 Noble-Effeciency13 released this 30 Jul 09:31
· 28 commits to main since this release

🚀 PIMActivation v1.1.0 - Major Authentication Improvements

This release introduces Windows Web Account Manager (WAM) authentication for significantly improved reliability and removes the dependency on MSAL.PS module.

✨ What's New

🔐 WAM Authentication

  • Windows Web Account Manager Integration: More reliable authentication experience on Windows 10/11
  • Direct MSAL.NET Calls: Better performance through Az.Accounts MSAL assemblies
  • Enhanced Token Management: Improved timeout handling and error recovery

🧹 Dependency Cleanup

  • Removed MSAL.PS Dependency: Eliminates authentication hanging issues
  • PowerShell 7+ Native: Fully optimized for modern PowerShell with no legacy fallbacks
  • Streamlined Assembly Loading: Better management from Az.Accounts module

🔧 Technical Improvements

  • Enhanced authentication context handling with direct MSAL.NET calls
  • Better assembly loading and management from Az.Accounts module
  • Enhanced error messages and troubleshooting information
  • Resolved authentication hanging issues with proper async/sync handling
  • Improved reliability of authentication prompts on Windows 10/11
  • Fixed role refresh timing issues after activation with retry logic

🙏 Credits

WAM implementation inspired by Trevor Jones' excellent blog post on WAM authentication in PowerShell.

📋 Requirements

  • Windows 10/11 or Windows Server 2016+
  • PowerShell 7+ (required for WAM support)
  • Az.Accounts 3.0+ (replaces MSAL.PS dependency)
  • Microsoft Graph PowerShell modules (auto-installed)

🔄 Breaking Changes

  • MSAL.PS module no longer required - now uses Az.Accounts for authentication
  • PowerShell 5.1 support removed - PowerShell 7+ is now mandatory

📦 Installation

# Update existing installation
Update-Module -Name PIMActivation

# Fresh installation
Install-Module -Name PIMActivation -Scope CurrentUser

🐛 Bug Fixes

For users experiencing authentication issues with v1.0.x, this release should resolve:

  • Authentication hanging or timeout issues
  • Unreliable authentication prompts
  • Token acquisition failures in authentication context scenarios

Full Changelog: v1.0.1...v1.1.0