Can you deploy Blueprints to several subscriptions through Azure Devops pipelines?

Callender, Fitzgerald 21 Reputation points
2022-06-23T19:17:42.547+00:00

I have a simple azure blueprint that creates a resource group, application insights, and a query pack through a nested template. Is it possible for me to deploy this blueprint as code to several different subscriptions using an Azure Devops Pipeline?

If so, how would I go about this?

Azure Blueprints
Azure Blueprints
An Azure service that provides templates for quick, repeatable creation of fully governed cloud subscriptions.
70 questions
0 comments No comments
{count} votes

Accepted answer
  1. tbgangav-MSFT 10,386 Reputation points
    2022-06-24T04:18:01.09+00:00

    Hi @Callender, Fitzgerald ,

    Azure DevOps is currently not supported in this Microsoft Q&A platform. These are the products that are currently supported in this Microsoft Q&A platform. You may ask Azure DevOps related questions in this developer community / via this Azure DevOps services support.

    However, to help provide insights from Azure Blueprints standpoint, you may deploy using any one of the below approaches.

    1. As mentioned here, you can use pipelines to integrate your CI/CD process with most Azure services in which currently Azure Blueprint is not listed. However, using ARM templates related pipeline and using Blueprint related ARM templates you may be able to deploy it.
    2. As mentioned here, you may directly deploy using ARM templates as well i.e., using New-AzSubscriptionDeployment / New-AzDeployment Az PowerShell cmdlet so you may try this Az PowerShell approach from Azure Devops.
    3. As mentioned here, Blueprint deployment is triggered by assigning a blueprint to a subscription (New-AzBlueprintAssignment) or updating an existing assignment (Set-AzBlueprintAssignment) so you may try this Az PowerShell approach from Azure Devops.
    4. If you want to manage your blueprints as code via CI/CD or release pipeline then check this document for the steps and recommendations.
    0 comments No comments

0 additional answers

Sort by: Most helpful