PowerShell Gallery
CI
License: MIT
PowerShell module for Microsoft Graph–backed reports: Intune Enrollment Flows, Intune Anomalies, Entra Admin Roles, M365 License Assignment, and Custom Security Attributes. Connects to Microsoft Graph and generates interactive HTML reports.
This module is maintained by Roy Klooster (RK Solutions).
- Repository: https://github.com/royklo/RKSolutions-Module
- PowerShell Gallery: https://www.powershellgallery.com/packages/RKSolutions
RKSolutions-Module/
├── README.md # This file
├── LICENSE # MIT
├── CONTRIBUTING.md # How to contribute, fork & PR
├── .gitignore
├── .github/
│ ├── ISSUE_TEMPLATE/ # Bug report, feature request
│ ├── PULL_REQUEST_TEMPLATE.md
│ └── workflows/ # build-and-test.yml, trigger-publish.yml
├── docs/
│ ├── CMDLET-REFERENCE.md # Parameters and example output
│ └── PERMISSIONS.md # Microsoft Graph permissions per cmdlet
├── CHANGELOG.md # Release history
├── module/ # Script module (see module/README.md)
│ ├── RKSolutions.psd1
│ ├── RKSolutions.psm1
│ ├── README.md
│ ├── Public/ # Exported cmdlets
│ └── Private/ # Helpers
└── Tests/
└── Consistency.Tests.ps1 # Pester tests
- PowerShell 7.0 or higher (Windows, macOS, Linux)
- Microsoft.Graph.Authentication (and other Graph modules as required by the cmdlets)
- Microsoft Graph permissions: App registration in Azure AD / Entra ID with the scopes required by the cmdlets you use. See Graph permissions (full list) for a per-cmdlet breakdown.
Install-Module -Name RKSolutions -Scope CurrentUsergit clone https://github.com/royklo/RKSolutions-Module.git
cd RKSolutions-Module
Import-Module ./module/RKSolutions.psd1 -ForceAlways run Import-Module from the repository root and use ./module/RKSolutions.psd1.
# Connect to Microsoft Graph (default scopes cover all reports)
Connect-RKGraph
# Generate reports (examples)
Get-IntuneEnrollmentFlowsReport -AssignmentOverviewOnly
Get-IntuneAnomaliesReport
Get-EntraAdminRolesReport
Get-M365LicenseAssignmentReport
Get-CustomSecurityAttributesReport
# Disconnect when done
Disconnect-RKGraph| Cmdlet | Description |
|---|---|
| Connect-RKGraph | Establishes a Microsoft Graph session for report cmdlets. |
| Disconnect-RKGraph | Disconnects and clears the Graph session. |
| Get-IntuneEnrollmentFlowsReport | Generates Intune assignment overview and/or device visualization report. |
| Get-IntuneAnomaliesReport | Generates Intune anomalies report. |
| Get-EntraAdminRolesReport | Generates Entra admin roles report. |
| Get-M365LicenseAssignmentReport | Generates M365 license assignment report. |
| Get-CustomSecurityAttributesReport | Generates Custom Security Attributes report across users, devices, and apps. |
For full parameter details and examples, see Cmdlet Reference.
We welcome contributions: fork the repo, make your changes, and open a pull request. See CONTRIBUTING.md for the workflow and how to report bugs.
MIT — Copyright (c) Roy Klooster - RK Solutions.