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

ResourceGroups Read permissions mandatory? #262

Open
aldodfm opened this issue Apr 4, 2022 · 2 comments
Open

ResourceGroups Read permissions mandatory? #262

aldodfm opened this issue Apr 4, 2022 · 2 comments
Labels
norepro Cannot be reproduced waiting issuer Waiting information or data from original issuer wontfix This will not be worked on

Comments

@aldodfm
Copy link

aldodfm commented Apr 4, 2022

Steps to reproduce

User with Contributor access to Resource group
Perform actions to create instances
2022-04-04_12h23_19

Expected behavior

Creation of Instance

Actual behavior

Error not permissions to read Resource groups in Subcription...

On documentations says:

CLI & Azure
The CLI scenario has two additional requirements:

an Azure Subscription
a Service Principal with, at least, Contributor permission on a Resource Group of the Subscription

@aldodfm aldodfm added the bug Something isn't working label Apr 4, 2022
@giuliov
Copy link
Member

giuliov commented Apr 4, 2022

The screenshot is blurry, so please confirm.

The first error is a list.instances with no further argument: Aggregator tries to list all the RG in the Subscription, so the error is expected. You must add a -g option to limit the scope to a single RG.

The second error is unexpected. The code simply calls IAzure.ResourceGroups.ContainAsync so should work fine with Contributor permissions.

@giuliov giuliov added waiting issuer Waiting information or data from original issuer norepro Cannot be reproduced and removed bug Something isn't working labels May 21, 2022
@stale
Copy link

stale bot commented Aug 13, 2022

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the wontfix This will not be worked on label Aug 13, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
norepro Cannot be reproduced waiting issuer Waiting information or data from original issuer wontfix This will not be worked on
Projects
None yet
Development

No branches or pull requests

2 participants