aggregator-cli icon indicating copy to clipboard operation
aggregator-cli copied to clipboard

ResourceGroups Read permissions mandatory?

Open aldodfm opened this issue 3 years ago • 2 comments

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 avatar Apr 04 '22 10:04 aldodfm

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 avatar Apr 04 '22 15:04 giuliov

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[bot] avatar Aug 13 '22 08:08 stale[bot]