Skip to content

v2.0.0 Azure Resources & Parallel Processing Engine

Choose a tag to compare

@Noble-Effeciency13 Noble-Effeciency13 released this 05 Jan 07:02
· 12 commits to main since this release

🚀 PIMActivation v2.0.0 - Azure Resources & Parallel Processing Engine

🌟 Major Release Highlights

This comprehensive v2.0.0 release transforms PIMActivation into a high-performance, enterprise-ready PIM activation solution with Azure Resources support and a powerful parallel processing engine. Experience faster role enumeration, cross-subscription Azure management, and enhanced user experience across your entire Microsoft identity ecosystem.

✨ What's New

🔷 Complete Azure Resources Support

  • Cross-Subscription Management: Automatic enumeration across all accessible Azure subscriptions
  • Full Scope Support: Subscription, resource group, and individual resource-level PIM roles
  • Smart Resource Display: Azure roles with [Azure] prefix and portal-aligned resource/scope columns
  • Inheritance Detection: Distinguishes between direct assignments and inherited roles from higher scopes

⚡ Parallel Processing Engine

  • Lightning Performance: Concurrent execution for Azure subscriptions, Entra policies, and Group policies
  • Real-Time Progress: Visual feedback with emoji indicators (✅, ❌) and completion timing
  • Smart Throttling: Default 10 concurrent operations, configurable up to 50 for optimal performance
  • Thread-Safe Operations: ConcurrentBag and ConcurrentDictionary ensure safe parallel execution
  • Flexible Control: Optional DisableParallelProcessing for troubleshooting scenarios

🎯 Enhanced User Experience

  • Select All Button: Quick bulk selection for efficient role management
  • Enhanced Progress Visibility: No more "black box" processing - see exactly what's happening
  • Default Fast Performance: Optimal performance out-of-the-box without configuration
  • Informative Feedback: Detailed verbose output explains processing decisions and timing

🏗️ Modular Architecture

  • Individual Function Files: Complete restructuring for enhanced maintainability
  • Organized Structure: Logical organization into Public, Private, UI, and RoleManagement folders
  • Better Development Workflow: Improved collaborative development and testing capabilities
  • Enhanced Module Loading: Robust dependency management and function initialization
  • Strengthened Folder Structure: Added sub-folders for enhanced visability, maintainability and overall structure

📊 Performance Impact

Before v2.0.0: Sequential processing, basic progress feedback
After v2.0.0: Parallel processing across all operations, dual authentication contexts, real-time metrics

Users will experience:

  • Dramatic Speed Improvements for multi-subscription environments
  • Enhanced Scalability with larger numbers of roles and policies
  • Better Resource Utilization through intelligent concurrent operations
  • Professional User Experience with detailed progress tracking

💻 Usage Examples

Lightning-Fast Default Performance

# All features enabled with optimal parallel performance
Start-PIMActivation -IncludeAzureResources

# See the parallel processing in action
$VerbosePreference = 'Continue'
Start-PIMActivation -IncludeAzureResources -Verbose

Performance Customization

# Increase concurrency for very large environments
Start-PIMActivation -IncludeAzureResources -ThrottleLimit 20

# Sequential processing for troubleshooting
Start-PIMActivation -IncludeAzureResources -DisableParallelProcessing

# Custom app registration with parallel processing
Start-PIMActivation -ClientId "<appId>" -TenantId "<tenantId>" -IncludeAzureResources

🔧 Technical Specifications

Enhanced Requirements

  • PowerShell 7.0+: Required for parallel processing engine
  • Windows 10/11: Recommended for optimal authentication experience
  • Microsoft Graph Modules: Auto-installed (existing requirements preserved)
  • Azure Modules: Az.Accounts 5.1.0+ and Az.Resources 6.0.0+ (auto-installed)

Permissions (Unchanged)

  • Standard PIM permissions for Entra ID and Groups
  • Azure RBAC Reader or higher for subscription-level resource roles
  • No additional permissions required for new features

🚨 Breaking Changes

  • Module Structure: Functions moved to individual files (no public API impact)
  • New Parameter: DisableParallelProcessing switch added (parallel processing enabled by default)

Migration: No action required - all existing usage patterns continue to work with improved performance.

🎉 Preserved Features

All v1.2.x capabilities are fully preserved and enhanced:

  • 85% API Call Reduction: Batch operations and intelligent caching
  • Advanced Duplicate Role Handling: Group attribution and MemberType classification
  • Authentication Context Support: Conditional Access and MFA handling
  • Custom App Registration: ClientId/TenantId parameter support
  • Policy Compliance: Automatic requirement detection and handling

📦 Installation & Upgrade

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

# Upgrade existing installation
Update-Module -Name PIMActivation

# Verify new version
Get-Module -Name PIMActivation -ListAvailable

🔗 Resources

🙏 Acknowledgments

This release represents a major architectural advancement made possible by modern PowerShell 7+ capabilities and extensive community feedback. The parallel processing implementation delivers enterprise-grade performance while maintaining the intuitive user experience that makes PIM management accessible to all administrators.


Download: PowerShell Gallery - PIMActivation v2.0.0
Previous Release: v1.2.6 Changelog