IntuneRBAC

0.4.0

This script provides a comprehensive analysis of Microsoft Intune's Role-Based Access Control (RBAC) configuration. It generates an interactive HTML report that includes role details, assignments, scope tags, permissions, and security analysis to help administrators audit and manage their Intune RBAC setup.

Installation Options

Copy and Paste the following command to install this package using PowerShellGet More Info

Install-Script -Name IntuneRBAC

Copy and Paste the following command to install this package using Microsoft.PowerShell.PSResourceGet More Info

You can deploy this package directly to Azure Automation. Note that deploying packages with dependencies will deploy all the dependencies to Azure Automation. Learn More

Manually download the .nupkg file to your system's default download location. Note that the file won't be unpacked, and won't include any dependencies. Learn More

Owners

Copyright

Copyright (c) 2025 Ugur Koc | Microsoft MVP

Package Details

Author(s)

  • ugurk

Tags

Intune RBAC RoleBasedAccessControl ScopeTags Permissions

Functions

Get-RoleAssignments Get-RoleMembers Get-GroupMembers Get-ScopeTags Get-CategorizedPermissions Test-UnusedRole Get-OverlappingPermissions Get-RolesWithScopeTags Generate-PermissionsMatrixHtml Generate-RoleRelationshipDiagramHtml Optimize-HtmlSize

Dependencies

This script has no dependencies.

Release Notes

Version 0.4.0: Major update with performance improvements and new features:
- Added Dark Mode toggle with persistent preference storage
- Added Export to CSV functionality for roles, permissions matrix, and security analysis
- Added Global Search feature with highlighting and auto-expand for matching results
- Implemented parallel processing for faster group member lookups
- Added progress tracking with ETA calculations
- Optimized HTML generation using StringBuilder for better performance
- Added batch API request capability for improved efficiency
Version 0.3.3: Added missing Group.Read.All permission to fix 404 errors when accessing group information.
Version 0.3.2: Fixed infinite loop issue when groups are deleted or inaccessible. Added proper error handling for 404 errors.
Version 0.3.1: Fixed a issue with the version number in the HTML report.
Version 0.3.0: Added welcome banner, progress messages, and option to open HTML report after generation.
Version 0.2.3: Current version with RBAC health check functionality.
Version 0.2.2: Added interactive Role Relationship Diagram.
Version 0.2.1: Added comprehensive Permissions Matrix.
Version 0.2.0: Added security analysis for unused roles and overlapping permissions.
Version 0.1.0: Initial release with basic RBAC reporting capabilities.

FileList

Version History

Version Downloads Last updated
0.4.0 (current version) 27 6/13/2025
0.3.3 4 6/13/2025
0.3.2 15 6/6/2025
0.3.1 101 5/10/2025
0.3.0 6 5/10/2025
0.2.3 6 5/10/2025
Show more