Azure / Azure/Azure-Spring-Apps

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

未关闭
#37 4 条评论 0 个 reaction 已指派 1 人 已被 @ninpan-ms 认领 在 GitHub 查看
Bug Tracking
主要语言
没有语言数据
星标
9
派生
11
PR 合并指标
30 天内没有已合并 PR

描述

**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.

贡献指南

这个仓库没有索引到贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。