LeastPrivilegedMSGraph

3.0.0

Analyzes Microsoft Graph permissions and provides least privileged recommendations

Minimum PowerShell version

7.4

Installation Options

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

Install-Module -Name LeastPrivilegedMSGraph

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

Install-PSResource -Name LeastPrivilegedMSGraph

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

(c) Morten Mynster. All rights reserved.

Package Details

Author(s)

  • Morten Mynster

Tags

MicrosoftGraph GraphAPI Permissions Security Audit

Functions

Assert-LPMSGraph Export-LPMSPermissionAnalysisReport Get-LPMSAppActivityData Get-LPMSAppRoleAssignment Get-LPMSAppThrottlingData Get-LPMSPermissionAnalysis Initialize-LPMSLogAnalyticsApi Invoke-LPMSGraphScan

Dependencies

Release Notes

## [3.0.0] - 2026-04-03

### Changed
- BREAKING CHANGE: Renamed Export-PermissionAnalysisReport to Export-LPMPermissionAnalysisReport to create a more consistent naming convention across the module.
- BREAKING CHANGE: Renamed Get-AppActivityData to Get-LPMSAppActivityData to create a more consistent naming convention across the module.
- BREAKING CHANGE: Renamed Get-AppRoleAssignment to Get-LPMSAppRoleAssignment to create a more consistent naming convention across the module.
- BREAKING CHANGE: Renamed Get-AppThrottlingData to Get-LPMSAppThrottlingData to create a more consistent naming convention across the module.
- BREAKING CHANGE: Renamed Get-PermissionAnalysis to Get-LPMSPermissionAnalysis to create a more consistent naming convention across the module.
- BREAKING CHANGE: Renamed Initialize-LogAnalyticsApi to Initialize-LPMSLogAnalyticsApi to create a more consistent naming convention across the module.

### Acknowledgments
Constantin Hager - Thanks for taking the initiative to uniform the module to follow a consistent naming convention

FileList

Version History

Version Downloads Last updated
3.0.0 (current version) 13 4/3/2026
2.0.0 485 2/24/2026
1.1.0 27 12/19/2025
1.0.0 8 12/15/2025
0.1.2-preview 17 11/26/2025
0.1.1-preview 4 11/26/2025
Show more