Friday, October 12, 2018

Steps To Configure TFS/VSTS workspace In Development Environment ( VM ) For Microsoft Dynamics 365 for Operations


Hi Guys,


I would like to describe steps to configure TFS/VSTS workspaces in Development environment in Local VM as Microsoft Dynamics 365 for Operations has changed the development model significantly and all the developments done in Visual studio now on.

This blog post will be useful the one who try to configure in house development environment VM with customer TFS.

It is very important to make sure we have the work space mapped correctly for everything to work properly.

Note:- We consider that Hyper V has been configured and you are able to login to D365 VM.

Steps to configure TFS/VSTS workspaces in Development environment

1. Firstly as soon as you setup change the system name with meaning full name then restart the VM to reflect the change.
2. You must be an administrator on the instance to start development, To provision your own credentials as an administrator, run the admin user provisioning tool that is provided on the desktop, and provide your email address (Azure AD credentials) in the tool.
From the desktop, run the admin user provisioning tool as an administrator (right-click the icon, and then click Run as administrator).
Enter your email address, and then click Submit
3. Then launch the Visual studio and make sure its licensed.
4. Click on Team > Manage Connections.
5. In Team Explorer Click on Manage connections > Connect to Team Project
6. In Connect to Team Foundation Server, click on Severs to Add new servers, then in Add/Remove Team foundation server form click on Add and enter TSF server name and click on Okay.

7. Once you close the form “Add/Remove Team foundation server” then click on connect as shown below.
8. Once you click on Connect then go Team Explorer click on “Configure workspace” then click on “Advanced”
9. In Edit workspace form, update source control folder and local folder, then click on okay.
One with VSTS location where projects will get save and another with Dev server metadata which will point to our Local server AOS metadata.
10. Once you click on connect then below pop up comes to download latest code from TSF server, click “Yes” to download the same. 
11. It will take some 30 -40 min of time to get all the latest codes.
12. We can also see the message saying “The workspace was mapped successfully“

Now System is ready to open Source Control Explorer and open solution in Solution Explore 

Hope this helps, I will come-up with another interesting blog.


No comments:

Post a Comment