Open aldodfm opened 2 years ago
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.
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.
Steps to reproduce
User with Contributor access to Resource group Perform actions to create instances![2022-04-04_12h23_19](https://user-images.githubusercontent.com/907559/161525416-3ad85d09-322c-49a5-bf32-7badd2b7a479.png)
Expected behavior
Actual behavior
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