DACPAC deployment via AZ CLI?

Machado, Lou 1 Reputation point
2021-08-30T19:30:14.293+00:00

As far as I've been able to research there doesn't seem to be any support for deploying DB schema within the AZ CLI. I have SQLPackage available on our deployment agent and I can invoke it via a command line call. It just feels like there should be a way to do it via az sql db or something similar. Anyone have experience with that?

Azure SQL Database
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Alberto Morillo 33,176 Reputation points MVP
    2021-08-30T20:56:50.767+00:00

    You can use PowerShell scripts for that purpose as explained here.

    You can also use Azure DevOps Pipelines as explained here.

    0 comments No comments