Listen to this Post
Just released v0.1.0 of the EntraAuthenticationMetrics module with an eye on improving performance! This update now supports all Graph environments: Global, US Gov, US Gov DoD, China, and Germany. The module has been optimized for performance, especially when using the `-GroupId` parameter. Previously, the tool would query the `transitiveMembers` endpoint and then pass the results to the `Get-EAMUser` function. The new update selects the necessary properties directly from the endpoint, significantly boosting performance.
GitHub:
EntraAuthenticationMetrics on GitHub
Changelog:
You Should Know:
1. Install the Module:
Install-Module -Name EntraAuthenticationMetrics -Scope CurrentUser -Force
2. Import the Module:
Import-Module EntraAuthenticationMetrics
3. Get Authentication Metrics:
Get-EAMAuthenticationMetrics -GroupId "Your-Group-ID" -Environment "Global"
4. Visualize Authentication Methods:
Get-EAMAuthenticationMethods -GroupId "Your-Group-ID" | Format-Table -AutoSize
5. Check Performance Improvements:
Measure-Command { Get-EAMAuthenticationMetrics -GroupId "Your-Group-ID" }
6. Switch Graph Environments:
Set-EAMGraphEnvironment -Environment "USGov"
7. Export Metrics to CSV:
Get-EAMAuthenticationMetrics -GroupId "Your-Group-ID" | Export-Csv -Path "metrics.csv" -NoTypeInformation
8. Check Module Version:
Get-Module -Name EntraAuthenticationMetrics -ListAvailable | Select-Object Version
9. Update the Module:
Update-Module -Name EntraAuthenticationMetrics
10. Remove the Module:
Uninstall-Module -Name EntraAuthenticationMetrics
What Undercode Say:
The release of EntraAuthenticationMetrics v0.1.0 marks a significant step forward in managing and visualizing authentication metrics in Entra ID (formerly Azure AD). With support for multiple Graph environments and performance optimizations, this module is a must-have for IT professionals managing cloud identity and access. The ability to directly query endpoints and export data to CSV makes it a versatile tool for security audits and performance monitoring.
For further exploration, check out the GitHub repository and the changelog for detailed updates and improvements.
Related Commands:
- Linux:
curl -O https://raw.githubusercontent.com/thetolkienblackguy/EntraAuthenticationMetrics/main/README.md
Windows:
Invoke-WebRequest -Uri "https://github.com/thetolkienblackguy/EntraAuthenticationMetrics/archive/main.zip" -OutFile "EntraAuthenticationMetrics.zip"
Azure CLI:
az login --environment AzureUSGovernment
PowerShell:
Connect-AzureAD -AzureEnvironmentName AzureUSGovernment
This module is a game-changer for organizations looking to enhance their authentication security and performance.
References:
Reported By: Gabe Delaney – Hackers Feeds
Extra Hub: Undercode MoN
Basic Verification: Pass ✅