Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

App registration - Insufficient privileges #96

Closed
lawndoc opened this issue Dec 19, 2024 · 1 comment
Closed

App registration - Insufficient privileges #96

lawndoc opened this issue Dec 19, 2024 · 1 comment

Comments

@lawndoc
Copy link

lawndoc commented Dec 19, 2024

I have an Azure app registration and am using the app ID and app secret in AzureHound's -a and -s flags, respectively.

./azurehound -a $(cat app_id) -s $(cat secret) --tenant "mytenant.onmicrosoft.com" list

The Azure app was originally created for use with FalconHound, and it has the following permissions in the Graph API:

  • PrivilegedAccess.Read.AzureAD
  • PrivilegedAccess.Read.AzureADGroup
  • PrivilegedAccess.Read.AzureResources
  • RoleAssignmentSchedule.Read.Directory
  • RoleEligibilitySchedule.Read.Directory
  • RoleManagement.Read.All
  • User.Read

When I use these credentials with AzureHound, I immediately get the following error message: Insufficient privileges to complete the operation.

I couldn't find detailed documentation on what permissions are needed by the service principal.

Are the above permissions insufficient for AzureHound? Or am I not using the app registration flags correctly?

@StephenHinck
Copy link
Contributor

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants