@Gabriele Ghesla Thanks for reaching out. Managed identity is only available for Basic, Standard, and Enterprise tiers of Azure Spring Apps.
Managed identity is not supported on consumption plan.
Please let me know in case of further queries, I would be happy to assist you.
Please 'Accept as answer' and ‘Upvote’ if it helped so that it can help others in the community looking for help on similar topics.