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

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Customer experience | Sales, Customer Insights,...
Answered

Is it possible to loop through all Accounts using MS Flow?

(0) ShareShare
ReportReport
Posted on by 5

Whenever a user triggers an event in opportunity, I would like a Flow to loop through all accounts and attach ones with certain attributes.

Is this even possible? If so any help would be greatly appreciated.

Thanks all.

I have the same question (0)
  • Verified answer
    meelamri Profile Picture
    13,216 User Group Leader on at

    Yes you can, you don't need to loop through all account. You can filter with odata querry. Refer to this screenshot. My example is only for guidance. 

    1452.flow1.png

    flow2.png

    flow3.png

  • Suggested answer
    Aric Levin - MVP Profile Picture
    30,190 Moderator on at

    Yes, is is possible. Create a new flow and use the Common Data Service (current environment) connector. The old Dynamics 365 and common data service connectors are old and have not been updated recently. Most likely this connector will replace the other two in the near future.

    After the trigger use the List Records action to retrieve all the account records, and then use the Apply to all Control.

    You can add any data manipulation after.

    pastedimage1580915529934v1.png

    Hope this helps.

  • ABL_Dub Profile Picture
    5 on at

    Thanks a million. This worked for me!

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…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > Customer experience | Sales, Customer Insights, CRM

#1
Tom_Gioielli Profile Picture

Tom_Gioielli 73 Super User 2025 Season 2

#2
Gerardo Rentería García Profile Picture

Gerardo Rentería Ga... 43 Most Valuable Professional

#3
Daniyal Khaleel Profile Picture

Daniyal Khaleel 32 Most Valuable Professional

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans