Skip to main content

Notifications

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.

  • arpit chouksey Profile Picture
    70 on at
    RE: I want to fetch data from CRM and create csv file in azure blob.

    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.

  • Suggested answer
    Pradeep Rai Profile Picture
    5,487 Super User 2025 Season 1 on at
    RE: I want to fetch data from CRM and create csv file in azure blob.

    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
    RE: I want to fetch data from CRM and create csv file in azure blob.

    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,487 Super User 2025 Season 1 on at
    RE: I want to fetch data from CRM and create csv file in azure blob.

    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.

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

🌸 Community Spring Festival 2025 Challenge 🌸

WIN Power Platform Community Conference 2025 tickets!

Jonas ”Jones” Melgaard – Community Spotlight

We are honored to recognize Jonas "Jones" Melgaard as our April 2025…

Kudos to the March Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 294,081 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 232,860 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,158 Moderator

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans