Microsoft Flow 中的限制和配置Limits and configuration in Microsoft Flow

本主题介绍流的当前限制和配置详细信息。This topic contains information about the current limits and configuration details for flows.

请求限制Request limits

这些是单个传出请求的限制。These are limits for a single outgoing request.

超时Timeout

名称Name 限制Limit
同步调用请求超时Request Timeout for synchronous calls 120 秒120 Seconds
异步调用请求超时Request Timeout for Async calls 可配置。Configurable. 最长为 30 天。Max is 30 days.

消息大小Message size

名称Name 限制Limit 说明Notes
消息大小Message size 100 MB100 MB 并非所有 API 都支持整整 100 MB。Not all APIs support the full 100MB.
表达式计算限制Expression evaluation limit 131072 个字符131,072 characters @concat()@base64()string 不能超过此限制。@concat(), @base64(), string can't exceed this limit.

重试策略Retry policy

名称Name 限制Limit
重试尝试次数Retry attempts 9090 默认值为 4。The default is 4. 若要更改默认值,请使用操作设置To change the default use action settings
重试最大延迟Retry max delay 1 天1 day
重试最小延迟Retry min delay 5 秒5 seconds

运行持续时间和保留期Run duration and retention

这些是单个流运行的限制。These are the limits for a single flow run.

名称Name 限制Limit 说明Notes
运行持续时间Run duration 30 天30 days 提供的工作流包含未完成的步骤,例如审批。Includes workflows with pending steps like approvals. 30 天后,任何挂起步骤都会超时。将从审批中心删除超时审批。After 30 days, any pending steps time-out. Timed-out approvals are removed from the approvals center. 如果有人尝试批准超时请求,则会收到错误消息。If someone attemps to approve a timed-out request, they’ll receive an error message.
存储保留期Storage retention 30 天30 days 这是从运行开始时间算起。This is from the run start time.
最小重复间隔Min recurrence interval 1 分钟1 minute
最大重复间隔Max recurrence interval 500 天500 days
运行历史记录最长保留期Max run history retention 28 天(按照 GDPR 规则)。28 days, per GDPR rules.

循环和拆分限制Looping and debatching limits

这些是单个流运行的限制。These are limits for a single flow run.

名称Name 限制Limit 说明Notes
应用到每一个项Apply to each items 100,000100,000 100,000 仅适用于高级计划。100,000 is only available for the premium plans. 否则,不能超过 5,000。Otherwise, you are limited to 5,000. 可以使用筛选操作,根据需要筛选较大的数组。You can use the filter action to filter larger arrays as needed.
Until 迭代次数Until iterations 50005,000
SplitOn 项数SplitOn items 100,000100,000 例如,应用到每个项,限制为 5,000,除非使用的是高级计划。Like Apply to each, the limit is 5,000 unless you are on a premium plan.
应用到每一个并行Apply to each Parallelism 5050 默认情况下,循环按顺序运行(并行度基本上为 1)。By default, loops run in sequence (essentially, parallelism is 1). 可以配置的最大并行度为 50。You can configure up to 50 in parallel.
以 5 分钟为频率执行的操作数Actions executions per 5 minutes 100,000100,000 此外,可以根据需要跨多个流分配工作负载。Also, you can distribute a workload across more than one flow as needed.
操作并发传出调用Actions concurrent outgoing calls ~2,500~2,500 根据需要减少并发请求数或减少持续时间。Reduce the number of concurrent requests or reduce the duration as needed.

定义限制Definition limits

这些是单个流的限制。These are limits for a single flow.

名称Name 限制Limit 说明Notes
每个工作流的操作个数Actions per workflow 250250 可以添加嵌套工作流,根据需要对此进行扩展。You can add nested workflows to extend this as needed.
允许的操作嵌套深度Allowed action nesting depth 55 可以添加嵌套工作流,根据需要对此进行扩展。You can add nested workflows to extend this as needed.
每个表达式的最大字符数Max characters per expression 81928,192
action/trigger 名称限制action/trigger name limit 8080
description 长度限制description length limit 256256

Sharepoint 限制SharePoint limits

在将 Microsoft SharePoint 与 Microsoft Flow 和 PowerApps 配合使用时,存在使用方式上的限制There are limitations on how you can use Microsoft SharePoint with Microsoft Flow and PowerApps.

IP 地址配置IP address configuration

发送 Microsoft Flow 请求时,所使用的 IP 地址取决于包含流的环境所在的区域The IP address from which Microsoft Flow requests are sent depends on the region where the environment that contains the flow is located. 我们当前未发布可用于流方案的 FQDN。We don't currently publish FQDNs available for flow scenarios.

逻辑应用服务Logic App Service

从流中进行的调用直接通过 Azure 逻辑应用服务。Calls made from a flow go directly through the Azure Logic App service. 举例说来,HTTP 或 HTTP + OpenAPI 就是此类调用。Some examples of these calls include HTTP or HTTP + OpenAPI. 此类调用来自以下 IP 地址:These calls come from the following IP addresses:

区域Region 出站 IPOutbound IP
亚洲Asia 168.63.200.173,13.75.89.159,23.97.68.172,13.75.94.173,40.83.127.19,52.175.33.254,52.163.93.214,52.187.65.81,52.187.65.155,13.76.133.155,52.163.228.93,52.163.230.166168.63.200.173, 13.75.89.159, 23.97.68.172, 13.75.94.173, 40.83.127.19, 52.175.33.254, 52.163.93.214, 52.187.65.81, 52.187.65.155, 13.76.133.155, 52.163.228.93, 52.163.230.166
澳大利亚Australia 13.75.153.66,104.210.89.222,104.210.89.244,13.75.149.4,104.210.91.55,104.210.90.241,13.73.115.153,40.115.78.70,40.115.78.237,13.73.114.207,13.77.3.139,13.70.159.20513.75.153.66, 104.210.89.222, 104.210.89.244, 13.75.149.4, 104.210.91.55, 104.210.90.241, 13.73.115.153, 40.115.78.70, 40.115.78.237, 13.73.114.207, 13.77.3.139, 13.70.159.205
加拿大Canada 52.233.29.92, 52.228.39.241, 52.228.39.244, 52.232.128.155, 52.229.120.45, 52.229.126.2552.233.29.92, 52.228.39.241, 52.228.39.244, 52.232.128.155, 52.229.120.45, 52.229.126.25
欧洲Europe 13.79.173.49,52.169.218.253,52.169.220.174,40.113.12.95,52.178.165.215,52.178.166.21,13.95.155.53,52.174.54.218,52.174.49.6,40.68.222.65,40.68.209.23,13.95.147.6513.79.173.49, 52.169.218.253, 52.169.220.174, 40.113.12.95, 52.178.165.215, 52.178.166.21, 13.95.155.53, 52.174.54.218, 52.174.49.6, 40.68.222.65, 40.68.209.23, 13.95.147.65
印度India 52.172.157.194,52.172.184.192,52.172.191.194,52.172.154.168,52.172.186.159,52.172.185.79,52.172.9.47,52.172.49.43,52.172.51.140,52.172.50.24,52.172.55.231,52.172.52.052.172.157.194, 52.172.184.192, 52.172.191.194, 52.172.154.168, 52.172.186.159, 52.172.185.79, 52.172.9.47, 52.172.49.43, 52.172.51.140, 52.172.50.24, 52.172.55.231, 52.172.52.0
日本Japan 13.71.146.140,13.78.84.187,13.78.62.130,13.71.158.3,13.73.4.207,13.71.158.120,40.74.140.173,40.74.81.13,40.74.85.215,40.74.140.4,104.214.137.243,138.91.26.4513.71.146.140, 13.78.84.187, 13.78.62.130, 13.71.158.3, 13.73.4.207, 13.71.158.120, 40.74.140.173, 40.74.81.13, 40.74.85.215, 40.74.140.4, 104.214.137.243, 138.91.26.45
美国United States 137.135.106.54,40.117.99.79,40.117.100.228,13.92.98.111,40.121.91.41,40.114.82.191,52.160.90.237,138.91.188.137,13.91.252.184,52.160.92.112,40.118.244.241,40.118.241.243137.135.106.54, 40.117.99.79, 40.117.100.228, 13.92.98.111, 40.121.91.41, 40.114.82.191, 52.160.90.237, 138.91.188.137, 13.91.252.184, 52.160.92.112, 40.118.244.241, 40.118.241.243

服务Services

重要

如果现有配置,请在 2018 年 9 月 1 日前尽早更新,使其包括并匹配此列表中你的流所在区域的 IP 地址。If you have existing configurations, please update them as soon as possible before September 1, 2018 so they include and match the IP addresses in this list for the regions where your flows exist.

从通过流连接的 API(例如 SQL API 或 SharePoint API)进行的调用将来自下面指定的 IP 地址:Calls made from an API connected through a flow (for example, the SQL API or the SharePoint API) will come from the IP address specified below:

区域Region 出站 IPOutbound IP
亚洲Asia 13.75.36.64 - 13.75.36.79,13.67.8.240 - 13.67.8.255,52.175.23.169,52.187.68.19,52.163.91.227,52.163.89.40,52.163.89.65,52.163.95.29,52.187.53.78,13.75.89.9,13.75.91.198,13.75.92.202,13.75.92.124,23.97.72.25013.75.36.64 - 13.75.36.79, 13.67.8.240 - 13.67.8.255, 52.175.23.169, 52.187.68.19, 52.163.91.227, 52.163.89.40, 52.163.89.65, 52.163.95.29, 52.187.53.78, 13.75.89.9, 13.75.91.198, 13.75.92.202, 13.75.92.124, 23.97.72.250
澳大利亚Australia 13.70.72.192 - 13.70.72.207,13.72.243.10,13.77.50.240 - 13.77.50.255,13.70.136.174,13.77.7.172,13.70.191.49,13.70.189.7,13.70.187.251,13.70.188.38,13.70.82.210,13.73.203.158,13.73.207.42,13.73.205.35,13.70.88.2313.70.72.192 - 13.70.72.207, 13.72.243.10, 13.77.50.240 - 13.77.50.255, 13.70.136.174, 13.77.7.172, 13.70.191.49, 13.70.189.7, 13.70.187.251, 13.70.188.38, 13.70.82.210, 13.73.203.158, 13.73.207.42, 13.73.205.35, 13.70.88.23
巴西Brazil 191.233.203.192 - 191.233.203.207,104.214.19.48 - 104.214.19.63,13.65.86.57,104.41.59.51191.233.203.192 - 191.233.203.207, 104.214.19.48 - 104.214.19.63, 13.65.86.57, 104.41.59.51
加拿大Canada 13.71.170.208 - 13.71.170.223,13.71.170.224 - 13.71.170.239,52.237.24.126,40.69.106.240 - 40.69.106.255,52.242.35.152,52.233.30.222,52.233.30.148,52.233.30.199,52.233.29.254,52.232.130.205,52.229.126.118,52.229.126.28,52.229.123.56,52.229.123.161,52.233.27.6813.71.170.208 - 13.71.170.223, 13.71.170.224 - 13.71.170.239, 52.237.24.126, 40.69.106.240 - 40.69.106.255, 52.242.35.152, 52.233.30.222, 52.233.30.148, 52.233.30.199, 52.233.29.254, 52.232.130.205, 52.229.126.118, 52.229.126.28, 52.229.123.56, 52.229.123.161, 52.233.27.68
欧洲Europe 13.69.227.208 - 13.69.227.223,52.178.150.68,13.69.64.208 - 13.69.64.223,52.174.88.118,52.166.241.149,52.166.244.232,52.166.245.173,52.166.243.169,52.178.37.42,40.69.45.126,40.69.45.11,40.69.45.93,40.69.42.254,52.164.249.26,137.117.161.18113.69.227.208 - 13.69.227.223, 52.178.150.68, 13.69.64.208 - 13.69.64.223, 52.174.88.118, 52.166.241.149, 52.166.244.232, 52.166.245.173, 52.166.243.169, 52.178.37.42, 40.69.45.126, 40.69.45.11, 40.69.45.93, 40.69.42.254, 52.164.249.26, 137.117.161.181
印度India 104.211.81.192 - 104.211.81.207,52.172.211.12,40.78.194.240 - 40.78.194.255,13.71.125.22,104.211.146.224 - 104.211.146.239,104.211.189.218,52.172.54.172,52.172.55.107,52.172.55.84,52.172.51.70,52.172.49.180,52.172.158.185,52.172.159.100,52.172.158.2,52.172.155.245,52.172.153.107104.211.81.192 - 104.211.81.207, 52.172.211.12, 40.78.194.240 - 40.78.194.255, 13.71.125.22, 104.211.146.224 - 104.211.146.239, 104.211.189.218, 52.172.54.172, 52.172.55.107, 52.172.55.84, 52.172.51.70, 52.172.49.180, 52.172.158.185, 52.172.159.100, 52.172.158.2, 52.172.155.245, 52.172.153.107
日本Japan 13.78.108.0 - 13.78.108.15,13.71.153.19,40.74.100.224 - 40.74.100.239,104.215.61.248,104.214.137.186,104.214.139.29,104.214.140.23,104.214.138.174,104.214.151.229,13.78.85.193,13.78.84.73,13.78.85.200,13.78.86.229,13.78.121.15113.78.108.0 - 13.78.108.15, 13.71.153.19, 40.74.100.224 - 40.74.100.239, 104.215.61.248, 104.214.137.186, 104.214.139.29, 104.214.140.23, 104.214.138.174, 104.214.151.229, 13.78.85.193, 13.78.84.73, 13.78.85.200, 13.78.86.229, 13.78.121.151
英国United Kingdom 51.140.148.0 - 51.140.148.15,51.140.80.51,51.140.211.0 - 51.140.211.15,51.141.47.10551.140.148.0 - 51.140.148.15, 51.140.80.51, 51.140.211.0 - 51.140.211.15, 51.141.47.105
美国United States 13.89.171.80 - 13.89.171.95,52.173.245.164,40.71.11.80 - 40.71.11.95,40.71.249.205,40.70.146.208 - 40.70.146.223,52.232.188.154,52.162.107.160 - 52.162.107.175,52.162.242.161,40.112.243.160 - 40.112.243.175,104.42.122.49,104.43.232.28,104.43.232.242,104.43.235.249,104.43.234.211,40.78.144.221,52.160.93.247,52.160.91.66,52.160.92.131,52.160.95.100,13.93.159.171,40.117.101.91,40.117.98.246,40.117.101.120,40.117.100.191,23.96.11.21613.89.171.80 - 13.89.171.95, 52.173.245.164, 40.71.11.80 - 40.71.11.95, 40.71.249.205, 40.70.146.208 - 40.70.146.223, 52.232.188.154, 52.162.107.160 - 52.162.107.175, 52.162.242.161, 40.112.243.160 - 40.112.243.175, 104.42.122.49, 104.43.232.28, 104.43.232.242, 104.43.235.249, 104.43.234.211, 40.78.144.221, 52.160.93.247, 52.160.91.66, 52.160.92.131, 52.160.95.100, 13.93.159.171, 40.117.101.91, 40.117.98.246, 40.117.101.120, 40.117.100.191, 23.96.11.216
美国(提前体验)United States (Early Access) 13.71.195.32 - 13.71.195.47,52.161.102.22,13.66.140.128 - 13.66.140.143,52.183.78.157,52.161.26.191,52.161.27.42,52.161.29.40,52.161.26.33,52.161.31.35,13.66.213.240,13.66.214.51,13.66.210.166,13.66.213.29,13.66.208.2413.71.195.32 - 13.71.195.47, 52.161.102.22, 13.66.140.128 - 13.66.140.143, 52.183.78.157, 52.161.26.191, 52.161.27.42, 52.161.29.40, 52.161.26.33, 52.161.31.35, 13.66.213.240, 13.66.214.51, 13.66.210.166, 13.66.213.29, 13.66.208.24

例如,如果必须为 Azure SQL 数据库的 IP 地址授权,则应使用这些地址。For example, if you must authorize IP addresses for your Azure SQL database, you should use these addresses.

下表列出了 Microsoft Flow 连接到的服务。The following table lists the services to which Microsoft Flow connects. 确保所有这些服务均未在网络上被屏蔽。Ensure none of these services are blocked on your network.

Domains 协议Protocols 使用Uses
management.azure.commanagement.azure.com httpshttps 对 Azure 资源管理器的访问权限。Access to the Azure Resource Manager.
login.microsoft.comlogin.microsoft.com
login.windows.netlogin.windows.net
login.microsoftonline.comlogin.microsoftonline.com
secure.aadcdn.microsoftonline-p.comsecure.aadcdn.microsoftonline-p.com
httpshttps 对 Active Directory 身份验证库 (ADAL) 的访问权限。Access to Active Directory Authentication Library (ADAL).
graph.microsoft.comgraph.microsoft.com
graph.windows.netgraph.windows.net
httpshttps 对 Azure AD Graph API 的访问权限- 获取个人资料照片等用户信息。Access to Azure AD Graph API - for getting user information such as a profile photo.
*.azure-apim.net*.azure-apim.net httpshttps 对连接器运行时的访问权限。Access to the Runtime for Connectors.
*.flow.microsoft.com*.flow.microsoft.com httpshttps 对 Microsoft Flow 网站的访问权限。Access to the Microsoft Flow site.
*.powerapps.com*.powerapps.com httpshttps 对 PowerApps 网站的访问权限。Access to the PowerApps site.
psux.azureedge.netpsux.azureedge.net httpshttps 对 Microsoft Flow CDN 的访问权限。Access to the Microsoft Flow CDN.
nps.onyx.azure.netnps.onyx.azure.net httpshttps 访问 NPS(净推荐值)。Access to NPS (Net Promoter Score).