Norwayvladjoh/Need4Admin
A PowerShell script to audit privileged users in Microsoft Entra ID and Azure with detailed reporting
Featured achievements
The project's latest awards
#1 Repository of the month
#2 Repository of the month
#2 Repository of the month
Need4Admin - Privileged User Scanner v.1.0 (see releases for change log)
A PowerShell script to audit privileged users in Microsoft Entra ID and Azure with detailed reporting
Report Includes
- UPN
- Entra Active Roles
- Entra Eligible Roles
- Azure Active Roles
- Azure Eligible Roles
- Total roles
- Account status (Active/Disabled)
- Account type (Cloud/Hybrid)
- MFA Status (YES/NO)
- Last interactive and non-interactive sign in date and time
- Authentication methods registered
- Total Users Without MFA
- Total Entra Active Roles
- Total Azure Active Roles
- Total Azure Eligible Roles
- Total Hybrid Users
- Total Users
- Total Active Users
- Total users with registered phishing resistant authentication methods
- Highlights Global admin and Owner roles with red text
- Highlights users without MFA with red text
- Highlights Hybrid users with yellow text
- Highlights Disabled status with red text
- Highlights Enabled users with green text
- Highlights users with MFA with green text
- Highlights Cloud users with blue text
- Highlights phishing resistant authentication methods
- Highlights if role is assigned via PIM group
- Search function in html report
Features
- After script finishes running, it automatically opens an HTML Report in default browser
- HTML report columns are sortable and resizable
- Generates both .html and .csv files in the script's folder
Prerequisites
- PowerShell 5.1 or newer
The script will automatically:
- Check for required AZ and Graph modules
- Install missing modules as CurrentUser if needed
Issues running script?
Please remove all modules which script use in Documents folder WindowsPowershell/Modules ( for version 5.1) or in Powershell (for version 7+), empty recycle bin and re-run the script. If it doesn't help, please open an issue
Similar Projects
Discover other similar projects and AI models.
A list of Free Software network services and web applications which can be hosted on your own servers
PowerShell scripts for managing, reporting, and auditing Microsoft 365 tenants across Entra ID, Exchange, SharePoint, Teams, Intune, and more.
all-MiniLM-L6-v2 This is a sentence-transformers(https://www.SBERT.net) model: It maps sentences & paragraphs to a 384 dimensional dense vector space and can be used for tasks like clustering or semantic search. Usage (Sentence-Transformers) Using t...
A frontend Framework for single-page applications on top of REST/GraphQL APIs, using TypeScript, React and Material Design
Free admin dashboard template — vanilla JS, SCSS, Vite 8. No Bootstrap, no jQuery.
Free Bootstrap Admin & Dashboard Template Built for AI-Assisted Development