function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion

Azure DevOps and SFDX

Is it possible to run Azure DevOps pipelines using Salesforce DX? Presumably the sfdx cli needs to be installed, but unsure of a starting point.

I've seen a video leveraging ANT scripts, but nothing so far with sfdx.

Ajay K DubediAjay K Dubedi
Hi AndrewTaylor

You can use Azure directly from Visual Studio Code through extensions.
Using either the Azure CLI or the Azure App Service extension, you can have your application running in Azure in minutes.

Visual Studio Code Marketplace:
There are many VS Code extensions on the Marketplace that make it easy to build and host applications on Azure.

- Azure CLI tools
- Azure app service
- Azure cosmos DB
- Azure Storage
- Azure function 
- Azure Account 
- Docker
- Azure Resource Manager Tools

There is also a Node Pack for Azure extension pack which bundles useful Azure extensions for Node.js developers into a single installation.

I hope you find the above solution helpful. If it does, please mark as Best Answer to help others too.

Ajay Dubedi
Hanh LuuHanh Luu
Hi all, 
Does anyone know where can I find a sample of YAML file for Salesforce depoyment pipeline on Azure DevOps? thanks in advace. 
Please look into for Azure Pipelines extension for Salesforce DX and Sample pipelines
Leanbridge TechnologiesLeanbridge Technologies
Azure DevOps and SFDX
See : Azure DevOps ( with Salesforce - YouTube (
We have 3 CI/CDs going to SF. Each first has a Build box that runs unit test, and then a manual Azure task deploys to a Test box with no unit tests run. Then, we have a few Azure tasks that execute other types of tests.
DevOps Training 9DevOps Training 9
@Ajay K Dubedi Bro Thanks for Sharing The Inforamtion 

Regards :
Amol Bhalerao 7Amol Bhalerao 7
Hello Guys,

Here is a step by step guide to setup the automated deployment process using SFDX and Azure devops.
Turn your autopilot mode on !!
Hamas JamdasHamas Jamdas
Hi, this is an interesting topic, I also want to note that Ergonized is now very popular in using their services for Salesforce. So you can also learn about them Since this industry is now very popular.
Rohit RadhakrishnanRohit Radhakrishnan
Hi, I've this blog for getting started with Azure and Salesforce.

For the requirement in the ask here, include the "trigger" function in your pipeline (yml file). 
For Eg:
- master

The above two lines could trigger you pipeline if there is a push to you repo's master branch. There are various comnbinations of triggers with branches include & exclude options available.  (

Now using sfdx if you have a push to the repo where the pipeline (yml file) exists, you can trigger the pipeline.

Mark as best answer if this helps.

Himanshu Mishra 2Himanshu Mishra 2
Thank you for the solution!

Jirong HuJirong Hu
We are starting Salesforce Devops. Is there a DevOps subforum here? To start with, my first question is if all Salesforce orgs/repos are on cloud, how can they connect to our on premise Enterprise GitHub? Based on my experience with Azure pipeline, it will be petty hard to get connection back into our inhouse GitHub for our organization.
Jaun MarkJaun Mark
Azure DevOps is a cloud-based set of tools used by developers to create, manage, and deploy software applications. Azure DevOps includes a set of collaboration tools, such as Brownfield Ag.

For more visit!