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

Community site session details

Session Id :
Small and medium business | Business Central, N...
Answered

OnPrem-to-SaaS Cloud Migration Tool

(1) ShareShare
ReportReport
Posted on by 4
Hi,

I am trying to run the Cloud Migration Tool.

However, I am getting the following error for a bespoke table:

"Could not get the target table count.;Some records failed to be copied, most likely due to mismatch in the source and destination table schemas.  Please make sure that fields in your on-premise table do not contain data longer than what can be fit into the cloud table fields."

I have checked the Field IDs, Data Types, field lengths (where appropriate) and Keys. These all match. I don't know what else to check?

I am concerned it might be beacuase the Field Names are different (they have had the company prefix added, so "My Field" is now called "ABC My Field"). Could it be this? I would have thought the ID, DataType and field lengths were the crucial factors?
 
What is more, I have just noticed, is that I have entries marked as 'successful', yet not a single record has been copied....

Is anyone able to help me with this query? Thanks.
Overview.JPG
TMS.jpg

Your file is currently under scan for potential threats. Please wait while we review it for any viruses or malicious content.

I have the same question (0)
  • Verified answer
    Mohana Yadav Profile Picture
    60,725 Super User 2025 Season 2 on at
    OnPrem-to-SaaS Cloud Migration Tool
    If we keep the same id (integer) value in enumextension then fine but generally we will create new enum extensions in 50000..99999 series so they dont match.
    we have to update them using SQL query.
  • MH-13111105-0 Profile Picture
    4 on at
    OnPrem-to-SaaS Cloud Migration Tool
    Thanks Mohana, for your reponse.
     
    One other thing.  Some fields on some tables are now enumerations in the target BC-version.  Previously these were Options.  Does the migration tool handle this?  I am hoping that it will handle the data, as if it were an Integer.
  • Verified answer
    Mohana Yadav Profile Picture
    60,725 Super User 2025 Season 2 on at
    OnPrem-to-SaaS Cloud Migration Tool
    Yes, fieldnames should match.
     

    For successful cloud migration and data upgrade, the on-premises source table objects and the corresponding online table objects must have the same definitions for the following properties:

    • Primary keys
    • Field names and data types
     

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…

Andrés Arias – Community Spotlight

We are honored to recognize Andrés Arias as our Community Spotlight honoree for…

Leaderboard > Small and medium business | Business Central, NAV, RMS

#1
Sumit Singh Profile Picture

Sumit Singh 2,857

#2
Sohail Ahmed Profile Picture

Sohail Ahmed 2,687 Super User 2025 Season 2

#3
Jeffrey Bulanadi Profile Picture

Jeffrey Bulanadi 2,203

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans