Unable to process template language expressions for action 'Apply_to_each' at line '0' and column '0': 'The number of foreach items limit exceeded for action 'Apply_to_each': maximum '5000' and actual '10970'.'.
Likely it is an issue with your license. See the below docs article for more details, but as we understand it Flows with a "Low" performance profile are limited to 5000 apply to each loops:
Performance profile Plans
Low | - Free - Microsoft 365 plans - Power Apps Plan 1, Per App plans - Power Automate Plan 1 - All license trials Dynamics 365 Team Member |
Medium | - Power Apps triggered flows, child flows, Power Apps Plan 2, Power Apps per user plan - Power Automate Plan 2, Power Automate per user, Power Automate per user with Attended RPA plans Dynamics 365 Enterprise plans, Dynamics 365 Professional plans - Dynamics 365 non-licensed users, application users, users with special free licenses |
High | - Power Automate per flow plan |
Name Limit Notes
Apply to each array items | 5,000 for Low, 100,000 for all others | This limit describes the highest number of array items that a "apply to each" loop can process. To filter larger arrays, you can use the query action. |
Docs: Limits and configuration - Power Automate | Microsoft Docs
I read that as well. Any workarounds ?
The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.
Learn to digitize and optimize business processes and connect all your applications to share data in real time.
User | Count |
---|---|
12 | |
10 | |
10 | |
9 | |
6 |
User | Count |
---|---|
26 | |
20 | |
12 | |
10 | |
7 |