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,...
Suggested Answer

I want to fetch data from CRM and create csv file in azure blob.

(0) ShareShare
ReportReport
Posted on by 70

Hello All,

I want to fetch data from CRM and create csv file in azure blob by MS flow but while fetching data from CRM  formatted value available only for Starting 5000 record. i want all data formatted value at a time . I tried do until loop for process 5000 record per batch but unable to combine data and create csv file with all data.

I have the same question (0)
  • Suggested answer
    Pradeep Rai Profile Picture
    5,489 Moderator on at

    Hi Arpit,

    Please refer below blog to get 5000+ records in MSFLOW/Power Automate.

    https://debajmecrm.com/how-to-query-more-than-5k-cds-records-using-fetchxml-in-powerautomate-microsoft-flow/

    Thanks,
    Pradeep.

    Please mark this as VERIFIED if it helps.

  • arpit chouksey Profile Picture
    70 on at

    Hello Pradeep,

    thanks for the reply.

    I am able to fetch record in 5000 record batch in do until loop but how I combine all data at a time and create one csv file because in loop. I am creating csv file so its taking only last fetched records not all records.

  • Suggested answer
    Pradeep Rai Profile Picture
    5,489 Moderator on at

    Hi Arpit,

    So, in above case we can use the concept of array and append array as described in below link:

    https://vblogs.in/create-an-array-using-append-to-array-variable-in-power-automate/

    Video Link:
    https://www.youtube.com/watch?v=VAfwiN-vARQ

    Thanks,
    Pradeep

  • arpit chouksey Profile Picture
    70 on at

    We tryed this but data format in CSV file not correct .all data show in single row of file.could you try this scenario may be I am doing some wrong.

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!

Meet the Microsoft Dynamics 365 Contact Center Champions

We are thrilled to have these Champions in our Community!

Congratulations to the April Top 10 Community Leaders

These are the community rock stars!

Leaderboard > Customer experience | Sales, Customer Insights, CRM

#1
Muhammad Shahzad Shafique Profile Picture

Muhammad Shahzad Sh... 69 Most Valuable Professional

#2
ManoVerse Profile Picture

ManoVerse 60 Super User 2026 Season 1

#3
11manish Profile Picture

11manish 43

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans