Unable to Turn-On System Assigned Identity on a Container App

drkdoesmsdev 20 Reputation points
2024-04-25T08:55:00.1933333+00:00

I am trying to enable System Assigned identity on my container app. Upon doing so, I get the error:

'Failed to perform resource identity operation. Status: 'BadRequest'. Response: '{"error":{"code":"BadRequest","message":""}}'

This error is returned when using both the Azure Portal and Azure CLI.

Azure Container Apps
Azure Container Apps
An Azure service that provides a general-purpose, serverless container platform.
324 questions
0 comments No comments
{count} votes

Accepted answer
  1. Deepanshukatara-6769 6,715 Reputation points
    2024-04-25T10:17:37.3333333+00:00

    Hi,

    There will be one managed identity created per environment and that MI will be associated with all the container apps in that environment, so if you enabled System assigned identity at container app environment , you are not required to create it for the container apps under that same environment

    So if you already enabled at container app env level , it is not needed at container apps

    User's image

    Please check doc for ref https://video2.skills-academy.com/en-us/azure/container-apps/managed-identity?tabs=portal%2Cdotnet

    Kindly accept answer if it helps , Thanks!

    1 person found this answer helpful.

0 additional answers

Sort by: Most helpful