Azure / Azure/Azure-Spring-Apps

AuthorizationFailed need permission for 'Microsoft.AppPlatform/Spring/gateways/listEnvSecrets/action'

Open
#37 4 comments 0 reactions 1 assignee Claimed by @ninpan-ms View on GitHub
Bug Tracking
Dominant language
No language data
Stars
9
Forks
11
PR merge metrics
No merged PRs in 30d

Description

**Describe the bug**

```console
The client 'xxxx@vmware.com' with object id 'XXXXXX does not have authorization to perform action 'Microsoft.AppPlatform/Spring/gateways/listEnvSecrets/action' over scope '/subscriptions/xxxx/resourceGroups/rg-iac-asa-petclinic-mic-srv/providers/Microsoft.AppPlatform/Spring/asae-petcliasa/gateways/default' or the scope is invalid. If access was recently granted, please refresh your credentials. (Code: AuthorizationFailed)
```

**To Reproduce**
Steps to reproduce the behavior:
1. Create a guest User on the Tenant
2. At the ASA-E level, click on IAM
3. Add role 'Azure Spring Cloud Data Reader' to this user
4. Ask this guest user to connect to the portal
5. Ask this guest user to switch Directory to go your Tenant
6. Ask this guest user to click on the Azure Spring Cloud Gateway

**Expected behavior**
A clear and concise description of what you expected to happen.

A Built-in role should be created and documented

**Screenshots**
![ASA-E _ Spring Cloud Gateway Custom Role](https://user-images.githubusercontent.com/43554247/221932585-d46dc6d1-8097-461c-9ff6-0135bb096423.png)

**Additional context**
I had to create a custom Role and add permission 'Other: List environment variables secret for Microsoft Azure Spring Apps Spring Cloud Gateway '

**Can we contact you for additional details?**
Y

If yes, please send us your contact information to AzureSpringCloud-Talk@service.microsoft.com and include the issue number in the email title.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.