Workspace job not pulling changes from Azure DevOps branch

I switched my VCS configuration from default to “develop” branch and it stopped working. The workspace doesn’t get triggered when I push changes and if I run it manually it is not pulling the last commits.

Here we see I did set the branch to “develop”.

And here my “develop” branch on ADO. The last two commits are not being pulled by the job.

image

And finally when the job runs it confirms the branch is “develop” but the last commit it is picking up is the old one.

Hi @evandropomatti

I faced the same problem and other weird behaviors using Terraform Cloud with Azure DevOps. I solved enabling the new domain name in Azure DevOps. Please check if you are using ‘dev.azure.com’ domain instead of ‘visualstudio.com’, as stated below:

Important: Terraform Cloud only supports Azure DevOps connections that use the dev.azure.com domain. If your Azure DevOps project uses the older visualstudio.com domain, you must migrate using the steps in the Microsoft documentation.

Terraform Documentation:

I recommend reading the documentation to understand what to expect after enabling the new domain name.

How to Switch existing organizations to use the new domain name URL:

My configuration:

image

I hope it helps.