Share via


cannot deploy an Azure marketplace solution with custom blade in a resource group contains existing resources

Question

Wednesday, May 8, 2019 8:29 PM

Why does a custom solution require a new or empty resource group?

The custom template does not require new resource group and the custom UI (createUiDefinition.json) has no limitation on the resource group neither.

("$schema": "https://schema.management.azure.com/schemas/0.1.2-preview/CreateUIDefinition.MultiVm.json#",

"handler": "Microsoft.Compute.MultiVm",

"version": "0.1.2-preview",

"parameters": {

"basics": [],

"steps": [

...)

Is there a way to remove this limitation and allow two custom solution instances to deploy in a same resource group?

Is it limited by default on Azure, or by anything specified in the custom template/blade?

In other words, do all custom marketplace solutions require empty resource groups?

Thanks.

All replies (4)

Monday, May 13, 2019 6:34 AM âś…Answered

Thank you for sharing the details. I reproduced it and I am seeing the same error on selecting existing resource group.
There are a few resources we have that require you to deploy to a empty Resource Group. This is because some of the resources might overlap with existing ones. Such as address spaces.

Not all Marketplace solutions require empty resource group.

There is a similar Stack overflow post on this: https://stackoverflow.com/questions/47504782/choosing-an-existing-resource-group-gives-error


Wednesday, May 8, 2019 10:41 PM

Please share if you have been following any document for deploying custom solution, so that I can try reproducing your scenario and assist you better.


Thursday, May 9, 2019 8:57 PM

The custom solution I am trying to deploy is "CloudLink SecureVM 6.8 Solution BYOL".

Thank you.


Monday, May 13, 2019 2:09 PM

Thank you for the answer. 

Just would like to try to solve it...

So for this specific solution, the problem is the network configuration? Is it possible to change the  CreateUiDefinition.json or the template to make sure there is no overlap? Any functions or constrains to use to make sure the variables are unique?