azure-search-openai-demo
azure-search-openai-demo copied to clipboard
Customer Managed Application Deployment via ARM Templates and Programmatic App Registration for Azure Marketplace
- [ ] bug report -> please search issues before submitting
- [x] feature request
- [x] documentation issue or request
- [ ] regression (a behavior that used to work and stopped in a new release)
I'd like to request a feature, or get some advice on enabling customer managed application deployments using ARM templates.
When creating a managed Azure Marketplace offer, it requires a deployment package consisting of an ARM template (mainTemplate.json) and a deployment UI definition (createUiDefinition.json). Defining the deployment with the Bicep files for Azure Marketplace is not allowed. What is the best approach to convert the current Bicep infrastructure deployment and App registration process to meet these requirements?
The current infrastructure setup uses a main bicep file which references many other bicep files across different folders. Do I need to manually combine all of these into one and convert to mainTemplate.json? Is there also a way to integrate the auth_init.py and auth_update.py scripts with the mainTemplate.json so that all of the provisioning and registration happens automatically for the customer in their Azure tenant?
The existing Bicep setup is quite complex and converting everything like this seems like a lot of work. I would greatly appreciate some guidance on what is the best way to approach this.