Skip to main content

MSDYN365BC - How Do I Replicate Data From on-Prem to SaaS?

Hi Readers,

As Microsoft Dynamics 365 Business Central on-prem being in the market for quite a while, some customers started requesting switching to SaaS.

With this being said, I Heard rumors in the community like -

  • There is no way to upgrade data to SaaS from on-Prem.
  • The only way that customers can move to SaaS is via Re-implementation.
  • Replication Tool never works. These Replication tools look good in Microsoft  Slides but they never work.
Customer & Partners - I am not against Re-implementation but I want this decision from customer to Re-implement or Upgrade. I am writing this article to break the myth that no upgrade path to Business Central SaaS.

So let's start steps for Replication to Business Central SaaS.

** Screenshot used in this article is from an Actual Customer Data Replication Process so Company names and other details are highlighted in Black. These Screenshots are from the Business central 14 Version.

Maybe there are you have questions while reading this article. In the end there are some questions are answered.

Pre-Requisites - 
  • You can replicate data to SaaS from Business Central 15 as of today 11/04/2019. 
  • There should not be any changes in Base AL Code while trying to Replicate to SaaS.
  • All Customization should be as AL Extensions.
  • Log in to Business central SaaS Tenant, and install all extensions that you have in on-prem.
1. Navigate to Assisted Setup and Set up Intelligent Cloud.


2. Accept warning and privacy notice and Click Next.


3. Choose Product from where you want to replicate "Dynamics 365 Business Central".


4. Define your on-prem SQL Environment and Specify SQL connection String and Click Next.


5. Next Download the Self Hosted Integration Runtime (SHIR).


6. Install Microsoft Integration Runtime Setup.


7. Register Integration using Authentication key, Do not use Proxy and New Integration Runtime.


8. Once the setup is completed system will show all details as shown below.


9. Next is to select Companies on-prem which you want to replicate to SaaS.


10. Next is to schedule Data Replication. You can schedule Recurrence and time when replication should start.


11. Once Done Click Finish.


12. Next Search for Intelligent Cloud Management using Tell me feature.


13. The window should us that replication is scheduled.


14. It will run as scheduled. If you want to run replication now Select Run Replication Now.


15. The system will confirm the Replication is triggered.


16. You can check replication progress on the same page.



17. Factbox on-page will also show how may Tables are successfully Replicated and how many failed.


18. You can select Table Failed Factbox and see the cause of issues. 


19. It will show all warnings that are causing table replication failures as shown above.

20. Based on Database Size Replication can be completed anytime between 30 minutes to Days or weeks.

Q&A?

If you have more questions other than listed below, please specify them as a comment to this article. I will try to answer all these questions to the best of my knowledge.

Question 1 - Can users work in on-prem and SaaS at the same time?

No, and you as partners should not share SaaS Login details to end-users until the replication process is complete. Any data changes done in SaaS will not be replicated data to on-prem. Replication is one way to keep users out until the Replication process is complete.

Question 2 - Why Replication Tables Failed?

The Only reason that Replication Table failure is because there is a mismatch in extension installed is different in on-prem and on-SaaS. But no worries if there is a table on-saas but not on-prem that means there will be no data on-prem which will not require replication. 

The other reason (if you see the base table being failed) that means Intelligent cloud is not set up properly. Refer to the FAQ reference article below.

Question 3 - How to Resolve Replication Table Failed?

Check Extension are the same in on-prem and on-SaaS. If there is an Intelligent cloud setup refer to the article below.

Question 4 - What is not Replicated To SaaS?

During the data replication process, Business Central does not replicate most system tables, users, and permissions. Users need to be created again, Permission need to re-setup and custom object permission should be part of the extension.

Question 5 -  How much database size is supported for the Replication Process?


Data replication for the initial release will have a limit of 150GB. There are no restrictions on the type of data that can be replicated.


Reference Articles- 
I hope this article helps you to clear out confusion about moving to SaaS. I would be waiting to hear your feedback as comments to this article.

Stay Tuned for more.

Regards,
Saurav Dhyani

Comments

  1. Hello Saurav

    I have successfully created connection to the self hosted node to the cloud service but system is giving error "Failure to prepare the systems for replication"

    Please provide your Email Id so I can send you the screenshot about this error.

    Thank you

    ReplyDelete
    Replies
    1. Did you tried troubleshoot issue using -
      https://community.dynamics.com/business/b/businesscentraldevitpro/posts/troubleshooting-the-intelligent-cloud

      Delete

Post a Comment

Popular posts from this blog

VIEW SERVER STATE permission on SQL Server?

Hi all, Sometime While trying to Login into a database we face an error message as shown below. --------------------------- Microsoft Dynamics NAV Classic --------------------------- You cannot start Microsoft Dynamics NAV Classic because you do not have the VIEW SERVER STATE permission on SQL Server. Contact your system administrator. --------------------------- OK    ---------------------------

RTC Report It is not possible to instantiate the Visual Studio bridge.

Hi all, As a Navision developers I have Multiple Versions of Navision running in single Machine. As discussed Earlier in the post how to run multiple Version of RTC in single machine. So my machine have following details for RTC Versions - NAV 2009 R2    - is installed. NAV 2009 SP1  - is copied at C:\Program Files (x86)\Microsoft Dynamics NAV\60\NAV 6.0 SP1 IN\ NAV 2009         - is copied at C:\Program Files (x86)\Microsoft Dynamics NAV\60\NAV 6.0 IN\ This approach has been working great for execution of Classic and RTC Clients. However, after installing Dynamics NAV 2009 R2, if i tried to view the Layout for an NAV 2009 SP1 Report i was getting the following error: ---------------------------  Microsoft Dynamics NAV Classic  ---------------------------  It is not possible to instantiate  the Visual Studio bridge.  ---------------------------  OK    --------------------------- After searchi...

NAV 2013 R2 - Cumulative update 12 Released.

Hi all, Please find below the details of  Cumulative Update 12 released for Microsoft Dynamics NAV 2013 R2. Title - Cumulative Update 12 for Microsoft Dynamics NAV 2013 R2 Build No. - 38053 Release Date - October, 2014 Local Version Included - AU, AT, BE, CH, DE, DK, ES, FI, FR, IS, IT, NA, NL, NO, NZ, SE, UK, RU Download Link Note: Implementing this cumulative update will require a database conversion unless you have already implemented update rollup 5.