Skip to content
KitploitKITPLOIT
ToolsBlog
Submit
ToolsBlog
Submit

Hacking, PenTest, and Cybersecurity Tools for Your Security Arsenal!

Kitploit is a directory of hacking, cybersecurity, and pentesting tools. Discover the latest project updates to find vulnerabilities, analyze systems, automate testing, and strengthen your security.

··Feeds·Contact·Privacy·© 2026 Kitploit

Tool Directory

Categories

View all categories
Loading categories
Azure-AccessPermissions | Kitploit
Tools/GitHubGitHub/csandker/azure-accesspermissions
Authentication & AuthorizationCloud Infrastructure SecurityReconnaissanceInformation GatheringPenetration TestingCloud SecurityIdentity & Access Management (IAM)Archived
GitHubcsandker/azure-accesspermissions

Azure-AccessPermissions

View Repository
110183 years agoReviewed by Kitploit

Most Popular

View all →

Discover the most used tools by our community.

Explore all tools

Browse our collection of tools

View all tools →
Share

Azure-AccessPermissions

Easy to use PowerShell script to enumerate access permissions in an Azure Active Directory environment.

Background details can be found in the accompanied blog posts:

  • Untangling Azure Active Directory Principals & Access Permissions
  • Untangling Azure Active Directory Permissions II: Privileged Access

Requirements

To run this script you'll need these two PowerShell modules:

  • Microsoft.Graph
  • AADInternals
  • AzureADPreview

All of these can be installed directly within PowerShell:

root@kitploit:~
PS:> Install-Module Microsoft.Graph
PS:> Install-Module AADInternals
PS:> Install-Module AzureADPreview

Usage

First time use

The script uses a browser-based Login UI to connect to Azure. If you run the tool for the first time you might experience the following error

root@kitploit:~
[*] Connecting to Microsoft Graph...
WARNING: WebBrowser control emulation not set for PowerShell or PowerShell ISE!
Would you like set the emulation to IE 11? Otherwise the login form may not work! (Y/N): Y
Emulation set. Restart PowerShell/ISE!

Error on first run

To solve this simply allow PowerShell to emulate the browser and rerun your command.

Example use

Import and run, no argumentes needed.

Note: On your first run you will likely have to authenticate twice (once Microsoft Graph and once against Azure AD Graph). I might wrap this into a single login in the future...

root@kitploit:~
PS:> Import-Module .\Azure-AccessPermissions.ps1

SampleOutput

SampleOutput

Download Tool