Azure Subscription Based on Environment


I have had a hunt though the forums but don’t seem to have found an answer (I’m sure its there somewhere). We have 3 environments with different subscriptions and web app names per environment. I’m trying to keep my deployment steps as tidy as possible but don’t seem to be able to specify a by environment way of doing it. Is the only option to have each step three times? Or is there a better way?


SO after posting this I had a though, use custom expression with scoped variables per environment? Any other way?

Hi Ryan,

Thanks for reaching out. custom expression with scoped variables per environment is the recommended approach.

Let me know if that works,