AX 2012 Build process using AZURE DEVOPS

Deployment pipeline in AX is always been a challenge. But this has improved a lot over the years with AZURE DEVOPS.

This post details how to setup your deployment pipeline using Azure DevOps (Previously VSTS).

Using below process, we can build a modelstore for AX 2012 without a local Team foundation server and license cost.

Firstly we need a server with windows installed and a working AX environment.

Go to https://visualstudio.microsoft.com/


Click on Azure Devops, enter the required details, select Team foundation version control and create a project.

Goto Repos and create a new folder to store the code belongs to your custom model



To add code to azure repo, go to AX and enable the version control parameters and check in the model to move all the custom code to Azure.







Now under version control tab select Add model to version control, select the correct model and repository folder and click Ok to move all the custom model objects to Azure repo.




Now all the objects from your custom model are in Azure repository.

To modify any object, you will need to check out in you local AX environment and check it back in to update azure repo.  

All the changesets can be viewed from Azure DEVOPS web interface.




Next step is to create a build pipeline and a build template. The build template will be based on various apps available in the Market place. 

For build template creation. Click to see Build and release pipeline setup




Comments

  1. hi i am not able to view build pipleline link you provided.

    ReplyDelete
    Replies
    1. Hi Ramesh, It is working fine, can you try again.

      Delete
    2. hey Varun,

      The link isnt working and says no access. Can you provide the access.

      Delete
    3. Link Updated
      https://dynamicsavenue.blogspot.com/2019/07/ax-2012-devops-build-release-setup-and.html

      Delete
  2. when i am configuring i am getting the below error

    Team Foundation services are not available from server https://dev.azure.com/name.Technical information (for administrator): TF400813: The user '' is not authorized to access this resource.

    Is the any tool we need to install before configuring the tfs with Devops please reply.

    ReplyDelete
    Replies
    1. Hi, Which version of visual studio and AX you are on?

      Delete
    2. This comment has been removed by the author.

      Delete
    3. Hi Varun, I am also getting the same error "TF400813: The user '' is not authorized to access this resource.". I am on AX 2012 R3 RTM. Can you please help?

      Delete
  3. https://www.blogger.com/blogger.g?blogID=5979754821703876074#editor/target=post;postID=6428702528126528701;onPublishedMenu=allposts;onClosedMenu=allposts;postNum=0;src=postname not working

    ReplyDelete
    Replies
    1. Link updated

      https://dynamicsavenue.blogspot.com/2019/07/ax-2012-devops-build-release-setup-and.html

      Delete
  4. Link updated

    https://dynamicsavenue.blogspot.com/2019/07/ax-2012-devops-build-release-setup-and.html

    ReplyDelete
  5. Its very informative blog and useful article thank you for sharing with us , keep posting learn more

    Mulesoft Training in Hyderabad
    Mulesoft Online Training Hyderabad
    mulesoft online training in India

    ReplyDelete
  6. Thanks for the blog article.Thanks Again. Keep writing.
    azure online training
    azure training

    ReplyDelete

Post a Comment

Popular posts from this blog

AX 2012 DEVOPS Build, Release setup and configuration

What is Microsoft Power Platform?