Skip to content

vladjoh/Need4Admin

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 

Repository files navigation

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

need4adminv 1 0

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

image

About

A PowerShell script to audit privileged users in Microsoft Entra ID and Azure with detailed reporting

Topics

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors