We run azure app services with 30-50 tenants. I don’t understand how we’re meant to model this with the Azure Web App targets. Creating 50 targets and then tying each one to a tenant is possible but seems like a duplication of effort. We can use scripting to dynamically create targets and then delete them after deployment (and it seems this is what is recommended for a multitenant setup) but it seems like the “Deploy an Azure Web App” should allow this out of the box, the way the IIS step has built-in capability of creating AppPools and Sites dynamically and configuring things like bindings, ssl settings, etc.
In short, I’m trying to undertstand why the Azure Account or App Service Plan does not stand in as the “Deployment Target”, roughly equivalent to a server in a non-PaaS world. Then any number of apps could be deployed into the single Deployment Target.
In the multitenant scenario should we be using the azure web app step or is there another recommended way to set this up?