Search code examples
azureazure-rm-templateazure-marketplace

Choosing an existing resource group gives error


When I try to deploy my solution on MS azure using an existing resource group it gives me an error as follows:

"This resource group contains existing resources.Choose an empty resource group or create a new one".

Can someone point how can I fix the error in CreateUIdefination.json or something else I need to do.

enter image description here


Solution

  • According to the message, we can't create that resource to that resource group which contains existing resources, we should create a new resource group, or use an empty resource group.

    As 4c74356b41 said, by default, Azure not support to deploy managed application to resource group with resources.

    Please try to use an empty resource group to deploy it.