I am stuck with an issue where I want to deploy an Azure function and the code with Azure Resource Group but it seems this isn't supported? I followed the steps here and edited it to include an Azure Function project instead of the web app https://docs.microsoft.com/en-us/azure/azure-resource-manager/templates/create-visual-studio-deployment-project#deploy-code-with-your-infrastructure
We are wanting to list an app in the market place that will deploy an Azure function into the customer's environment (and not our own) - hence assuming this needs to be a 'managed app' and needs the ARM/ARG template