Azure / Azure/Azure-Spring-Apps

Cannot assign identities to App in Standard consumption and dedicated plan

未关闭
#58 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
主要语言
没有语言数据
星标
9
派生
11
PR 合并指标
30 天内没有已合并 PR

描述

**Describe the bug**
Cannot assign system-assigned or user-assigned managed identities to App. Tried Azure CLI and Rest API. `az spring app identity assign` command failed with "Invalid arguments: The Properties must be provided."; `az spring app identity force-set` command succeeded but nothing changed -- no identities were added. Rest API returned 200 but nothing changed as well. My plan is "Standard consumption and dedicated". According to https://learn.microsoft.com/en-us/azure/spring-apps/enterprise/plan-comparison, it should support identities.

**To Reproduce**
Steps to reproduce the behavior:
1. Go to 'Azure Spring Apps' in Azure Portal.
2. Create a service in "Standard consumption and dedicated" plan.
3. Follow this [guide](https://learn.microsoft.com/en-us/azure/developer/java/spring-framework/deploy-passwordless-spring-database-app?toc=%2Fazure%2Fspring-apps%2Fconsumption-dedicated%2Ftoc.json&bc=%2Fazure%2Fspring-apps%2Fconsumption-dedicated%2Fbreadcrumb%2Ftoc.json&tabs=mysql)
4. You should fail at the step where you're to run command `az spring connection create`.
5. You will find you cannot assign any type of identities to the app, no matter what method you try.

**Expected behavior**
Expect to successfully follow the guide link in the step 3 above. Expect to succeed and see the change using CLI or Rest API.

**Screenshots**
If applicable, add screenshots to help explain your problem.
![image](https://github.com/user-attachments/assets/8599c421-7ae8-4f6b-b702-c09e3b121f3a)

**Additional context**
Add any other context about the problem here.

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

贡献指南

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

调研方向

首先,按照链接的无密码 Spring 数据库指南,在使用 Standard 消费计划和专用计划的 Azure Spring Apps 服务中重现该故障。比较 `az spring app identity assign`、`force-set` 和 REST API 的行为。当可以分配应用身份,并且可以通过 CLI、REST API 或门户看到该更改时,即表示完成。

由索引模型根据 Issue 内容生成。

评估

技术栈
azure, java, spring
领域
authentication, cloud
Issue 类型
缺陷
难度
4/5
预计耗时
3-5 天
活跃度
停滞
描述清晰度
基本清楚
新手友好度
25/100

把新 issue 发到你的邮箱

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