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

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

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

Move sandbox database to VM

(3) ShareShare
ReportReport
Posted on by 115
If I want to move the data i have on the sandbox into my virtual machine is it as simple as exporting the data from LCS and then uploading it inside my VM through SSMS as shown in this tutorial:
https://community.dynamics.com/blogs/post/?postid=19efe83c-afab-437b-be79-341dcebf3f4a
  • Suggested answer
    Jonas "Jones" Melgaard Profile Picture
    5,016 Most Valuable Professional on at
    Hi,
    Partially, you should avoid using SSMS to import .bacpac files, and instead use SQLPackage. 
    D365FO.Toolbox contains a really good wrapper for it, that makes it easy to use: How To Import Bacpac Into Tier1 · d365collaborative/d365fo.tools Wiki (github.com)
  • CU03091226-0 Profile Picture
    115 on at
    Do we require a connection to the database if i want to create a deployment package? If i wan to create a deployable package from a VM which is not related to the same project which is on LCS, will there be any issues or is the deployment package not related to the database.
  • Verified answer
    Jonas "Jones" Melgaard Profile Picture
    5,016 Most Valuable Professional on at
    No, it's two separate systems. The deployable package is not related to the database.
     
    Just out of curiosity, what do want to do? Ideally, if it's not for demo or training, deployable packages should not be generated from a development VM but from Azure DevOps or GitHub.
     
     
     
     
     
  • CU03091226-0 Profile Picture
    115 on at
    You mean generating the deployment package from Azure DevOps through the pipelines correct? But how would you be able to do that from Github?
  • Jonas "Jones" Melgaard Profile Picture
    5,016 Most Valuable Professional on at
    Yes, exactly. I have used Azure DevOps for all of my (former) customers.
     
    It's possible to use GitHub using FSC-PS and I'm using it for some of my private projects. It's not supported by Microsoft so your mileage may vary .
     
  • CU03091226-0 Profile Picture
    115 on at
    Noted. Can you please explain a bit more why it is not ideal to generate the deployment packages from the VM?
  • Jonas "Jones" Melgaard Profile Picture
    5,016 Most Valuable Professional on at
    The problem for me / us is that we loose traceability of what comes into our systems, and how it was deployed. I.e. we cannot see the code that got compiled into the binary, the compiler that was used and what F&O artifacts was downloaded, the configuration of the build/deployment pipelines, logs of the build and so on. So It's a major risk factor. 

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Women in Power Builds Momentum

Expanding mentorship, skilling, and AI innovation

Congratulations to the August Top 10 Community Leaders

These are the community rock stars!

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

#1
Martin Dráb Profile Picture

Martin Dráb 555 Most Valuable Professional

#2
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 484 Super User 2026 Season 2

#3
CU10121822-0 Profile Picture

CU10121822-0 378

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans