Starting from today, it’s possible to transfer a Dynamics 365 Business Central SaaS tenant to a different tenant without opening a support request to Microsoft. If you check the Admin Center, you will find a new Environment Transfer action:
One of the most important things every developer should handle is to clean up the environment when the environment (or a company) is copied. Especially if the environment is managed directly by a client and they can create new copies anytime. Similarly, for copied companies.
About a year ago I wrote an article on the new features that Microsoft introduced on Business Central Admin Center. This time, in this blog post, I will focus on Microsoft BC API for admin center, introduced with version 20. In this blog post I am going to present a PowerShell script that copies a Business Central Production environment into a Sandbox and deletes the sandbox created the day before. Moreover, I will look into adding Telemetry to these 2 operations.