Jul 21 2024 07:42 PM
Q: Is Bicep supported when creating a transactable Azure Managed Application? Right now, I am only aware that ARM templates are supported. Also, have you encountered a way that PowerShell scripts can also be executed within a managed application? Are DevOps pipelines recommended or is there any other best practice?
A: Bicep are not supported directly. You can export the BICEP to ARM and use that inside the package.zip. For the second question, research ARM deployment scripts.... It allows to run scripts in ARM Templates. Link below: https://learn.microsoft.com/en-us/azure/azure-resource-manager/templates/deployment-script-template
You can also refer to this blog on using PowerShell in ARM Template:
https://techcommunity.microsoft.com/t5/azure-paas-blog/using-powershell-in-arm-template/ba-p/3277600