SlideShare a Scribd company logo
Optimizing cloud flows:
Techniques for maximum
efficiency
Tomasz Poszytek
Power Platform Architect, MVP,
MCT
 Expert in automation, over 12 years
of experience
 Independent consultant,
freelancer
 Power Platform enthusiast
 Speaker, organizer
of conferences
 Photographer
 Traveler
tomasz@poszytek.eu
aka.ms/poszytek
@TomaszPoszytek
/in/TomaszPoszytek
Agenda
1. License types
2. Performance profiles
3. Limits
4. Results of exhausting the limits
5. Why to optimize cloud flows
6. How to find „bad flows”
7. How to optimize cloud flow and make them more
performant
Licenses&Limits
License types
Performance profiles
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
- Microsoft Power Apps for Developer
Medium - Power Apps triggered flows, manual flows, child flows, Power Apps Plan 2, Power Apps per user
plan
- Power Automate Plan 2, Power Automate Premium (previously Power Automate per user),
- Power Automate Premium plans (previously 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 Process plan, Power Automate per flow plan
Unlimited Extended - Pay-as-you-go flows, Dynamics in context flows running under service principal
Limits - authoring
Name Limit Notes
Actions per workflow 500 Flows with a large number of actions might encounter
performance issues while you edit them, even if they have fewer
than 500. Consider using child flows to reduce the number of
actions in a single flow or if you need more than 500.
Allowed nesting depth for actions 8 Add child flows if you need more than eight levels of nesting.
Switch scope cases limit 25
Variables per workflow 250
Length of action or trigger name 80 characters
Characters per expression 8,192
Length of description 256 characters
Maximum size of trackedProperties 16,000 characters
Number of flows owned by a single
user
600 Use flows under solutions if you need more than 600.
Limits – concurrency and others
Name Limit
Concurrent runs - Unlimited for flows with Concurrency Control turned off
- 1 to 100 when Concurrency Control is turned on (defaults to 25)
Waiting runs - Not applicable when Concurrency Control is off
- 10 plus the degree of parallelism (1-100) when Concurrency Control is on
Apply to each array item - 5,000 for Low, 100,000 for all others
Apply to each concurrency - 1 is the default limit. You can change the default to a value between 1 and 50 inclusively.
Split on items - 5,000 for Low without trigger concurrency
- 100,000 for all others without trigger concurrency
- 100 with trigger concurrency
Until iterations - Default: 60
- Maximum: 5,000
Paginated items - 5,000 for Low, 100,000 for all others
A request
All API requests to connectors, process advisor analysis, HTTP
actions, and built-in actions from initializing variables to a
simple compose action. Both succeeded and failed actions
count towards these limits. Additionally, retries and other
requests from pagination count as action executions.
Limits – requests
Name Transition period limit
Power platform requests per 5 minutes 100,000
Power platform requests per 24 hours 10,000 for Low;
200,000 for Medium;
500,000 for High;
10,000,000 for Unlimited Extended
Concurrent outbound calls 500 for Low; 2,500 for all others
Every organisation is now in a transition period!
Transition period will end once Power Platform
request usage information is in GA (still tba).
Limits – requests during and after
transition period
License name PPR official limit per 24 hours PPR transition period limit per 24
hours
Power Automate Premium 40k per user 200k per cloud flow
Power Automate Process 250k per license 500k per license
Power Automate Hosted Process 250k per license 500k per license
Power Automate Per-user plan (legacy) 40k per user 200k per cloud flow
Power Automate Per-flow plan (legacy) 250k per license 500k per license
Power Automate Free 6k per user 10k per cloud flow
Office 365 6k per user 10k per cloud flow
Power Apps Premium 40k per user 200k per cloud flow
Dynamics 365 professional 40k per user 200k per cloud flow
Dynamics 365 Enterprise applications 40k per user 200k per cloud flow
Dynamics 365 Team member 6k per user 10k per cloud flow
Limits – additional info
• 100,000 – max number of requests per 5 minutes,
• 1,000,000 – additional cloud flow actions limit per user/24h
(during tranistion period only!)
• Medium profile – is used by manual flows during transition
period.
Limits – connectors!
Remember, that apart from the Power Automate limits
mentioned earlier, each connector has its own limits, which
when exceeded, will result in throttling – calls to such
endpoint will end up with 429 response code.
Usually, the limit is around 100 requests per 60 seconds.
Limits are exceeded. Now what?
• No clear information is provided…
• Processes subsequent actions will slow down
• Actions may be throttled
• Eventually, process that exceeds limits for consecutive 14
days will be turned off
Agenda
1. License types
2. Performance profiles
3. Limits
4. Results of exhausting the limits
5. Why to optimize cloud flows
6. How to find „bad flows”
7. How to optimize cloud flow and make them more
performant
Why to optimize?
Optimizing Power Automate cloud flows: Techniques for maximum efficiency
Looking for non-performant flows
As a maker
• Performance alert e-mails
• Process mining
• Automation center
As an admin
• Requests reports: Licensed
users, Flows, Non-licensed
users
• Automation center
Agenda
1. License types
2. Performance profiles
3. Limits
4. Results of exhausting the limits
5. Why to optimize cloud flows
6. How to find „bad flows”
7. How to optimize cloud flow and make them more
performant
Tips&Tricks to build
performant flows
The least performant approaches, and how to correct them
Tips&Tricks to build performant flows
Nested loops
(but not nested as
well )
Solutions:
• Data operations
• Concurrency control
• Odata filter
Tips&Tricks to build performant flows
Processes
triggered for each
change
Solutions:
• Trigger conditions
• Odata filter
Tips&Tricks to build performant flows
Retrieving all items Solutions:
• Odata filter
• Views filter
• Data operations (as the last
option)
Tips&Tricks to build performant flows
Nested conditions Solutions:
• Compose action and
conditions evaluated as an
expression
• More complex condition on
a single level
Tips&Tricks to build performant flows
Variables Solutions:
• Compose action if a value
does not to be updated
during instance run
• Object variable (if many
variables have to be used)
Tips&Tricks to build performant flows
Executing parallel
logic in a sequence
Solutions:
• Parallel branch
• Child flows
Tips&Tricks to build performant flows
Overuse of actions Solutions:
• Parallel branch
• Child flows
Tips&Tricks to build performant flows
Repeated logic Solutions:
• Child flows
Finally! Demos!
THANK YOU!
https://aka.ms/
poszytek

More Related Content

PPTX
Scale Your Load Balancer from 0 to 1 million TPS on Azure
PPTX
SolarWinds Scalability for the Enterprise
PDF
Spark Development Lifecycle at Workday - ApacheCon 2020
PDF
Apache Spark Development Lifecycle @ Workday - ApacheCon 2020
PDF
[Collinge] Office 365 Enterprise Network Connectivity Using Published Office ...
PDF
Cut your costs: Deactivate inactive users & reduce sap license fees. [Webinar]
PDF
Flopsar tesacom-technical-introduction v1a-eng
PPTX
Ground Breakers Romania: Oracle Autonomous Database
Scale Your Load Balancer from 0 to 1 million TPS on Azure
SolarWinds Scalability for the Enterprise
Spark Development Lifecycle at Workday - ApacheCon 2020
Apache Spark Development Lifecycle @ Workday - ApacheCon 2020
[Collinge] Office 365 Enterprise Network Connectivity Using Published Office ...
Cut your costs: Deactivate inactive users & reduce sap license fees. [Webinar]
Flopsar tesacom-technical-introduction v1a-eng
Ground Breakers Romania: Oracle Autonomous Database

Similar to Optimizing Power Automate cloud flows: Techniques for maximum efficiency (20)

PPTX
Toronto ACE Sept 2022.pptx
PDF
Event-Driven Applications Done Right - Pulsar Summit SF 2022
PDF
Real-time Stream Processing using Apache Apex
PDF
Introduction to Apache Apex - CoDS 2016
PDF
Goal driven performance optimization (Пётр Зайцев)
PDF
제3회난공불락 오픈소스 인프라세미나 - MySQL Performance
PDF
Netflix keystone streaming data pipeline @scale in the cloud-dbtb-2016
PDF
Oracle super cluster for oracle e business suite
PDF
Netherlands Tech Tour 02 - MySQL Fabric
PPTX
Apache Pulsar: Why Unified Messaging and Streaming Is the Future - Pulsar Sum...
PPTX
IBM Information on Demand 2013 - Session 2839 - Using IBM PureData System fo...
PPTX
RightScale User Conference / Fall / 2010 - Morning Sessions
PPTX
Rate limits and all about
PDF
Serverless on AWS : Understanding the hard parts at Froscon 2019
PPT
SWsoft Hosting Solutions for SaaS
PDF
Enterprise manager 13c
PPT
Model based transaction-aware cloud resources management case study and met...
PDF
Deep Dive Into Apache Spark Multi-User Performance Michael Feiman, Mikhail Ge...
PDF
Power-Automate-Virtual-Training-Day_Automate-Your-Business-Processes(Official...
PDF
OOW16 - Getting Optimal Performance from Oracle E-Business Suite [CON6711]
Toronto ACE Sept 2022.pptx
Event-Driven Applications Done Right - Pulsar Summit SF 2022
Real-time Stream Processing using Apache Apex
Introduction to Apache Apex - CoDS 2016
Goal driven performance optimization (Пётр Зайцев)
제3회난공불락 오픈소스 인프라세미나 - MySQL Performance
Netflix keystone streaming data pipeline @scale in the cloud-dbtb-2016
Oracle super cluster for oracle e business suite
Netherlands Tech Tour 02 - MySQL Fabric
Apache Pulsar: Why Unified Messaging and Streaming Is the Future - Pulsar Sum...
IBM Information on Demand 2013 - Session 2839 - Using IBM PureData System fo...
RightScale User Conference / Fall / 2010 - Morning Sessions
Rate limits and all about
Serverless on AWS : Understanding the hard parts at Froscon 2019
SWsoft Hosting Solutions for SaaS
Enterprise manager 13c
Model based transaction-aware cloud resources management case study and met...
Deep Dive Into Apache Spark Multi-User Performance Michael Feiman, Mikhail Ge...
Power-Automate-Virtual-Training-Day_Automate-Your-Business-Processes(Official...
OOW16 - Getting Optimal Performance from Oracle E-Business Suite [CON6711]
Ad

More from Tomasz Poszytek (20)

PPTX
Power Platform ALM fundamentals - MPPC23
PDF
TomaszPoszytek_ALM-Fundamentals_SS2023.pdf
PPTX
Automation Summit 2023 - TPoszytek - Debugging-error handling-cloud flows
PDF
Dataverse for Teams, Tomasz Poszytek, M365 California 2021
PPTX
Boost user experience is your processes with Adaptive Cards - SPS Cologne
PDF
Automation Saturday - Boost UX in business processes with Adaptive Cards
PDF
Introduction to UI flows - Office 365 Nashville 2020
PDF
[DW&EU] Citizen Development: The missing pieces of the puzzle
PDF
[PU&D] - The ultimate guide to UX design in PowerApps apps
PDF
[DW&EU] - Bridging the Gap - Connecting IT and the Business to drive successf...
PDF
[PU&D] - Become a flow/Power Automate hero in 2020 with
PPTX
[DW&EU] - The Cloud in my handbag
PDF
[DW&EU] - Private Channels in Microsoft Teams - Deep Dive
PPTX
[PU&D] - Securing IT Against Modern Threats with Microsoft Cloud Security Tools
PPTX
[DW&EU] - Microsoft Forms - The Hidden Gem of O365
PDF
[PU&D] - Create your personal Assistant with Microsoft Bot Framework Composer
PDF
[DW&EU] - Case study: Office 365 user adoption roadmap step by step
PPTX
[PU&D] - The road to Microsoft Teams from SharePoint
PDF
[PU&D] - Power Platform Unchained
PPTX
[PU&D] - Power Platform only for Citizen Developers?
Power Platform ALM fundamentals - MPPC23
TomaszPoszytek_ALM-Fundamentals_SS2023.pdf
Automation Summit 2023 - TPoszytek - Debugging-error handling-cloud flows
Dataverse for Teams, Tomasz Poszytek, M365 California 2021
Boost user experience is your processes with Adaptive Cards - SPS Cologne
Automation Saturday - Boost UX in business processes with Adaptive Cards
Introduction to UI flows - Office 365 Nashville 2020
[DW&EU] Citizen Development: The missing pieces of the puzzle
[PU&D] - The ultimate guide to UX design in PowerApps apps
[DW&EU] - Bridging the Gap - Connecting IT and the Business to drive successf...
[PU&D] - Become a flow/Power Automate hero in 2020 with
[DW&EU] - The Cloud in my handbag
[DW&EU] - Private Channels in Microsoft Teams - Deep Dive
[PU&D] - Securing IT Against Modern Threats with Microsoft Cloud Security Tools
[DW&EU] - Microsoft Forms - The Hidden Gem of O365
[PU&D] - Create your personal Assistant with Microsoft Bot Framework Composer
[DW&EU] - Case study: Office 365 user adoption roadmap step by step
[PU&D] - The road to Microsoft Teams from SharePoint
[PU&D] - Power Platform Unchained
[PU&D] - Power Platform only for Citizen Developers?
Ad

Recently uploaded (20)

PDF
Assigned Numbers - 2025 - Bluetooth® Document
PPTX
TechTalks-8-2019-Service-Management-ITIL-Refresh-ITIL-4-Framework-Supports-Ou...
PDF
Encapsulation theory and applications.pdf
PDF
Encapsulation_ Review paper, used for researhc scholars
PDF
Mushroom cultivation and it's methods.pdf
PDF
Enhancing emotion recognition model for a student engagement use case through...
PDF
NewMind AI Weekly Chronicles - August'25-Week II
PDF
7 ChatGPT Prompts to Help You Define Your Ideal Customer Profile.pdf
PDF
gpt5_lecture_notes_comprehensive_20250812015547.pdf
PDF
WOOl fibre morphology and structure.pdf for textiles
PDF
Profit Center Accounting in SAP S/4HANA, S4F28 Col11
PPTX
Group 1 Presentation -Planning and Decision Making .pptx
PDF
MIND Revenue Release Quarter 2 2025 Press Release
PDF
Getting Started with Data Integration: FME Form 101
PDF
Microsoft Solutions Partner Drive Digital Transformation with D365.pdf
PPTX
Programs and apps: productivity, graphics, security and other tools
PPTX
cloud_computing_Infrastucture_as_cloud_p
PDF
Unlocking AI with Model Context Protocol (MCP)
PPTX
1. Introduction to Computer Programming.pptx
PPTX
SOPHOS-XG Firewall Administrator PPT.pptx
Assigned Numbers - 2025 - Bluetooth® Document
TechTalks-8-2019-Service-Management-ITIL-Refresh-ITIL-4-Framework-Supports-Ou...
Encapsulation theory and applications.pdf
Encapsulation_ Review paper, used for researhc scholars
Mushroom cultivation and it's methods.pdf
Enhancing emotion recognition model for a student engagement use case through...
NewMind AI Weekly Chronicles - August'25-Week II
7 ChatGPT Prompts to Help You Define Your Ideal Customer Profile.pdf
gpt5_lecture_notes_comprehensive_20250812015547.pdf
WOOl fibre morphology and structure.pdf for textiles
Profit Center Accounting in SAP S/4HANA, S4F28 Col11
Group 1 Presentation -Planning and Decision Making .pptx
MIND Revenue Release Quarter 2 2025 Press Release
Getting Started with Data Integration: FME Form 101
Microsoft Solutions Partner Drive Digital Transformation with D365.pdf
Programs and apps: productivity, graphics, security and other tools
cloud_computing_Infrastucture_as_cloud_p
Unlocking AI with Model Context Protocol (MCP)
1. Introduction to Computer Programming.pptx
SOPHOS-XG Firewall Administrator PPT.pptx

Optimizing Power Automate cloud flows: Techniques for maximum efficiency

  • 1. Optimizing cloud flows: Techniques for maximum efficiency
  • 2. Tomasz Poszytek Power Platform Architect, MVP, MCT  Expert in automation, over 12 years of experience  Independent consultant, freelancer  Power Platform enthusiast  Speaker, organizer of conferences  Photographer  Traveler tomasz@poszytek.eu aka.ms/poszytek @TomaszPoszytek /in/TomaszPoszytek
  • 3. Agenda 1. License types 2. Performance profiles 3. Limits 4. Results of exhausting the limits 5. Why to optimize cloud flows 6. How to find „bad flows” 7. How to optimize cloud flow and make them more performant
  • 6. Performance profiles 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 - Microsoft Power Apps for Developer Medium - Power Apps triggered flows, manual flows, child flows, Power Apps Plan 2, Power Apps per user plan - Power Automate Plan 2, Power Automate Premium (previously Power Automate per user), - Power Automate Premium plans (previously 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 Process plan, Power Automate per flow plan Unlimited Extended - Pay-as-you-go flows, Dynamics in context flows running under service principal
  • 7. Limits - authoring Name Limit Notes Actions per workflow 500 Flows with a large number of actions might encounter performance issues while you edit them, even if they have fewer than 500. Consider using child flows to reduce the number of actions in a single flow or if you need more than 500. Allowed nesting depth for actions 8 Add child flows if you need more than eight levels of nesting. Switch scope cases limit 25 Variables per workflow 250 Length of action or trigger name 80 characters Characters per expression 8,192 Length of description 256 characters Maximum size of trackedProperties 16,000 characters Number of flows owned by a single user 600 Use flows under solutions if you need more than 600.
  • 8. Limits – concurrency and others Name Limit Concurrent runs - Unlimited for flows with Concurrency Control turned off - 1 to 100 when Concurrency Control is turned on (defaults to 25) Waiting runs - Not applicable when Concurrency Control is off - 10 plus the degree of parallelism (1-100) when Concurrency Control is on Apply to each array item - 5,000 for Low, 100,000 for all others Apply to each concurrency - 1 is the default limit. You can change the default to a value between 1 and 50 inclusively. Split on items - 5,000 for Low without trigger concurrency - 100,000 for all others without trigger concurrency - 100 with trigger concurrency Until iterations - Default: 60 - Maximum: 5,000 Paginated items - 5,000 for Low, 100,000 for all others
  • 9. A request All API requests to connectors, process advisor analysis, HTTP actions, and built-in actions from initializing variables to a simple compose action. Both succeeded and failed actions count towards these limits. Additionally, retries and other requests from pagination count as action executions.
  • 10. Limits – requests Name Transition period limit Power platform requests per 5 minutes 100,000 Power platform requests per 24 hours 10,000 for Low; 200,000 for Medium; 500,000 for High; 10,000,000 for Unlimited Extended Concurrent outbound calls 500 for Low; 2,500 for all others Every organisation is now in a transition period! Transition period will end once Power Platform request usage information is in GA (still tba).
  • 11. Limits – requests during and after transition period License name PPR official limit per 24 hours PPR transition period limit per 24 hours Power Automate Premium 40k per user 200k per cloud flow Power Automate Process 250k per license 500k per license Power Automate Hosted Process 250k per license 500k per license Power Automate Per-user plan (legacy) 40k per user 200k per cloud flow Power Automate Per-flow plan (legacy) 250k per license 500k per license Power Automate Free 6k per user 10k per cloud flow Office 365 6k per user 10k per cloud flow Power Apps Premium 40k per user 200k per cloud flow Dynamics 365 professional 40k per user 200k per cloud flow Dynamics 365 Enterprise applications 40k per user 200k per cloud flow Dynamics 365 Team member 6k per user 10k per cloud flow
  • 12. Limits – additional info • 100,000 – max number of requests per 5 minutes, • 1,000,000 – additional cloud flow actions limit per user/24h (during tranistion period only!) • Medium profile – is used by manual flows during transition period.
  • 13. Limits – connectors! Remember, that apart from the Power Automate limits mentioned earlier, each connector has its own limits, which when exceeded, will result in throttling – calls to such endpoint will end up with 429 response code. Usually, the limit is around 100 requests per 60 seconds.
  • 14. Limits are exceeded. Now what? • No clear information is provided… • Processes subsequent actions will slow down • Actions may be throttled • Eventually, process that exceeds limits for consecutive 14 days will be turned off
  • 15. Agenda 1. License types 2. Performance profiles 3. Limits 4. Results of exhausting the limits 5. Why to optimize cloud flows 6. How to find „bad flows” 7. How to optimize cloud flow and make them more performant
  • 18. Looking for non-performant flows As a maker • Performance alert e-mails • Process mining • Automation center As an admin • Requests reports: Licensed users, Flows, Non-licensed users • Automation center
  • 19. Agenda 1. License types 2. Performance profiles 3. Limits 4. Results of exhausting the limits 5. Why to optimize cloud flows 6. How to find „bad flows” 7. How to optimize cloud flow and make them more performant
  • 20. Tips&Tricks to build performant flows The least performant approaches, and how to correct them
  • 21. Tips&Tricks to build performant flows Nested loops (but not nested as well ) Solutions: • Data operations • Concurrency control • Odata filter
  • 22. Tips&Tricks to build performant flows Processes triggered for each change Solutions: • Trigger conditions • Odata filter
  • 23. Tips&Tricks to build performant flows Retrieving all items Solutions: • Odata filter • Views filter • Data operations (as the last option)
  • 24. Tips&Tricks to build performant flows Nested conditions Solutions: • Compose action and conditions evaluated as an expression • More complex condition on a single level
  • 25. Tips&Tricks to build performant flows Variables Solutions: • Compose action if a value does not to be updated during instance run • Object variable (if many variables have to be used)
  • 26. Tips&Tricks to build performant flows Executing parallel logic in a sequence Solutions: • Parallel branch • Child flows
  • 27. Tips&Tricks to build performant flows Overuse of actions Solutions: • Parallel branch • Child flows
  • 28. Tips&Tricks to build performant flows Repeated logic Solutions: • Child flows

Editor's Notes

  • #5: Licensing guide: https://go.microsoft.com/fwlink/p/?linkid=2085130
  • #6: https://learn.microsoft.com/en-us/power-automate/limits-and-config#performance-profiles
  • #7: https://learn.microsoft.com/en-us/power-automate/limits-and-config#flow-definition-limits
  • #8: https://learn.microsoft.com/en-us/power-automate/limits-and-config#duration-limits
  • #9: https://learn.microsoft.com/en-us/power-platform/admin/power-automate-licensing/faqs#what-counts-as-power-platform-request
  • #10: https://learn.microsoft.com/en-us/power-platform-release-plan/2022wave1/power-platform-governance-administration/power-platform-request-consumption-entitlement-report
  • #11: https://learn.microsoft.com/en-us/power-platform/admin/api-request-limits-allocations#request-limits-in-power-automate
  • #14: https://learn.microsoft.com/en-us/power-platform/admin/api-request-limits-allocations#what-happens-if-a-licensed-or-non-licensed-user-exceeds-limits https://learn.microsoft.com/en-us/power-automate/limits-and-config#retention-limits https://learn.microsoft.com/en-us/power-automate/limits-and-config#throughput-limits https://learn.microsoft.com/en-us/power-platform/admin/power-automate-licensing/faqs#what-happens-when-my-flow-runs-too-many-actions
  • #18: https://learn.microsoft.com/en-us/power-platform/admin/power-automate-licensing/faqs#whose-power-platform-request-limits-are-used-by-the-cloud-flow