Azure / Azure/Azure-Spring-Apps

Cannot assign identities to App in Standard consumption and dedicated plan

Aperta
#58 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub
Lingua principale
Nessun dato sulla lingua
Stelle
9
Fork
11
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

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

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Direzione di ricerca

Inizia riproducendo il problema in un servizio Azure Spring Apps usando il piano Standard a consumo e il piano dedicato, seguendo la guida collegata ai database Spring senza password. Confronta il comportamento di `az spring app identity assign`, `force-set` e della REST API. Il lavoro è completato quando è possibile assegnare un’identità dell’app e la modifica è visibile tramite la CLI, la REST API o il portale.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Valutazione

Stack tecnologico
azure, java, spring
Ambito
authentication, cloud
Tipo di issue
Bug
Difficoltà
4/5
Tempo stimato
3-5 giorni
Stato di attività
Ferma
Chiarezza
Abbastanza chiara
Idoneità per principianti
25/100

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.