Azure / Azure/Azure-Spring-Apps

Cannot assign identities to App in Standard consumption and dedicated plan

Đang mở
#58 0 bình luận 0 reaction 0 người được giao Xem trên GitHub
Ngôn ngữ chính
Không có dữ liệu ngôn ngữ
Star
9
Fork
11
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Mô tả

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

Hướng dẫn đóng góp

Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này

Hướng nghiên cứu

Bắt đầu bằng cách tái hiện lỗi trong một dịch vụ Azure Spring Apps sử dụng gói Standard consumption và dedicated, làm theo hướng dẫn cơ sở dữ liệu Spring không mật khẩu được liên kết. So sánh hành vi của `az spring app identity assign`, `force-set` và REST API. Được xem là hoàn tất khi có thể gán danh tính ứng dụng và thay đổi này hiển thị qua CLI, REST API hoặc portal.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Đánh giá

Công nghệ
azure, java, spring
Lĩnh vực
authentication, cloud
Loại issue
Lỗi
Độ khó
4/5
Thời gian dự kiến
3-5 ngày
Mức độ hoạt động
Đình trệ
Độ rõ ràng
Khá rõ ràng
Mức phù hợp với người mới
25/100

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.