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 :
Customer experience | Sales, Customer Insights,...
Unanswered

Is there a way to fetch fixed number of records using Data Migration Utility Tool?

(0) ShareShare
ReportReport
Posted on by 10

I'm trying to migrate records to a test environment using Microsoft's Data Migration Utility Tool. I only want a few thousand records from each table. I tried using the "top="x"" within the FetchXML but I'm getting an error because the tool uses paging. Is there a way to only migrate over a  fixed number of records using this tool?

I have the same question (0)
  • Deepan Raj Profile Picture
    25 on at

    Hi Chris Higgins

    I have solution for your problem

    step 1 please check your fetch xml query 

    SELECT TOP 4 autonumber(column)
    FROM request(table)
    where controlnumber(column) is not Null

     i have used this query i have limited the number of records 

    the problem is in your records you need a autonumber or specific column that specifics a column count 
    pease check and use sql for cds to generate fetch xml and use in data migration tool

    thank you

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Congratulations to our 2025 Community Spotlights

Thanks to all of our 2025 Community Spotlight stars!

Leaderboard > Customer experience | Sales, Customer Insights, CRM

#1
ManoVerse Profile Picture

ManoVerse 118 Super User 2026 Season 1

#2
Jimmy Passeti Profile Picture

Jimmy Passeti 46 Most Valuable Professional

#3
NeerajPawar Profile Picture

NeerajPawar 41

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans