What is a one sentence summary of your feature request?
Modify the AzureAD scanning functionality in PingCastle to utilize Microsoft Graph permissions through an Azure application instead of requiring Global Admin permissions.
Please describe your idea in detail. What is your problem, why do you feel this idea is the best solution, etc.
Currently, the process of scanning AzureAD requires that the scanning account possesses Global Admin permissions. This approach not only raises security concerns—since Global Admin accounts have extensive permissions that could be exploited if compromised—but it also complicates the auditing and compliance processes required in many organizations. The need to provide elevated access to a scanning tool can deter users from implementing necessary security assessments.
By leveraging Microsoft Graph API permissions through an Azure application, PingCastle could simplify the scanning process and enhance security posture. Microsoft Graph provides a more granular approach to permissions, allowing for specific access rights tailored to the needs of the scanning functionality without the risks associated with Global Admin privileges. This change would facilitate a more secure, controlled environment while still obtaining the necessary information about the AzureAD environment.
How do you currently solve the challenges you have by not having this feature?
At present, organizations often must navigate the difficulties of granting Global Admin access to a scanning tool, frequently resulting in reluctance to use the tool or complicated security reviews and audits. This can lead to gaps in monitoring and vulnerability assessments within the AzureAD environment, as teams may avoid using the scanning tool to mitigate security risks. Implementing Microsoft Graph permissions would eliminate these issues, allowing for more secure, efficient scanning with reduced administrative burdens, ultimately strengthening the organization’s security framework while still enabling thorough assessments of the AzureAD environment.