Can a container app sit in a different resource group to its managed environment

Megan Stock 0 Reputation points
2025-04-23T13:26:34.8166667+00:00

I want to create a resource group that has my shared resources such as app analytics and managed environment. Then create another resource group that the container app that will reference the managed environment. However it cant seem to find the managed environment but it is looking in the correct place. The two resource groups are under the same azure subscription, and have the same service principal. Is this possible? and if so, how would you do it in bicep?

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

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.