Sitemap

Post Message in MS Team when Code is Checked-in on Azure DevOps TFS

3 min readFeb 22, 2021

If you want to keep track of the Commits of any Critical Project and want to discuss with your Project Team Member regarding commits made on TFS. We can create a flow that will post the Commit details of that Critical Project on your Project Channel.

Step 1: Create a Team and a channel to post the Checked-in Details.

Here I have created a Team with the name “Project Team” and a separate channel “Azure DevOps” to post all the messages related to Development and DevOps.

Press enter or click to view image in full size

Step 2: Create a Cloud flow to post Message when someone commits any changes in Azure DevOps (TFS)

Search for Azure and select the triggering condition as “When code is checked in (TFVC)”

Press enter or click to view image in full size

Configure the Triggering block with Project for which you want to post a message to MS Team.

Press enter or click to view image in full size

If you want to track the commits of any specific user then you can set a user in Team Member otherwise it will post a message for all checked-in commits made by all Project Members present in Member.

Now, we will add Post a message (v3) block in Cloud flow.

Press enter or click to view image in full size

Make sure that you should select the right channel while configuring the post message block, after configuring your block it should look like the below screenshot:

Press enter or click to view image in full size

Save the Cloud flow and Test it by making commits from your Visual Studio or Azure DevOps from the browser.

Testing:

Here, I will make commit using Visual Studio:

Press enter or click to view image in full size

Result:

Press enter or click to view image in full size

--

--

Amit Prajapati
Amit Prajapati

Written by Amit Prajapati

I am Technical Consultant from Mumbai, India. I like to contribute my knowledge to the community and good social cause.

No responses yet