web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Finance | Project Operations, Human Resources, ...
Answered

Download Latest Version TFC to LCS Dev VM - PU37

(0) ShareShare
ReportReport
Posted on by 550

Hello,

we are some developer with our own Dev Boxes on Hyper-V. After Code Changes we commit the code to our LCS Build Server.

We have an other DEV VM on LCS at our Customer Project which is also connect to Source Control.

Actual we connect every moring via RDP to this Environment and manually download the latest Code Version, do a model Build and synchronize Database.

Now I want to implement an automatic process.

For Build the Model I found this entry and it works for me:

https://community.dynamics.com/365/financeandoperations/f/dynamics-365-for-finance-and-operations-forum/380566/how-to-build-the-d365fo-model-using-powershell-script

My problem is to get the latest Version of Source Code from Source Control.

Some Time ago I found this: https://docs.microsoft.com/en-us/azure/devops/repos/tfvc/get-command?view=azure-devops But therefore I have to start the CMD as Admin and that doesn't work on LCS Hosted Environment.

Does anyone have an idea or an other working way for me?

I have the same question (0)
  • Sergei Minozhenko Profile Picture
    23,093 on at

    Hi Stefan,

    What is the purpose of this DEV VM in LCS? Is it a test environment or you use it for debugging as well? How you build code manually as it requires admin access as well?

  • Suggested answer
    nmaenpaa Profile Picture
    101,160 Moderator on at

    If it's a test system, you could apply the deployable package from the build process automatically.

    If it's a dev system, yes you might need Admin access to do what you described. You have admin access in Cloud hosted environments deployed from LCS. The only dev system where you don't have admin access is the Microsoft managed Tier 1, which is anyway not very suitable for development. And it's much more expensive than a Cloud hosted system. In this case I recommend you to set up Cloud hosted dev systems in your own Azure subscription.

  • Stefan Wojtas Profile Picture
    550 on at

    Hello,

    we use this Envorinment for debugging. We have acces to Visual Studio and can manually download the Code.

    The VM is an Microsoft managed Tier1 Environment.

  • Verified answer
    nmaenpaa Profile Picture
    101,160 Moderator on at

    Then the recommendation is clear - use a Cloud hosted system where you have full admin privileges and can set up the required automations.

  • Stefan Wojtas Profile Picture
    550 on at

    Thank you for your fast replay.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > Finance | Project Operations, Human Resources, AX, GP, SL

#1
Martin Dráb Profile Picture

Martin Dráb 611 Most Valuable Professional

#2
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 529 Super User 2025 Season 2

#3
Sohaib Cheema Profile Picture

Sohaib Cheema 285 User Group Leader

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans