cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
AlanAttwater
Level: Powered On

Flow with Azure function "timeout was reached"

I have an Azure Function that runs a Powershell script that provisions a new sub site and applies a template to it (https://github.com/SharePoint/PnP-PowerShell/blob/master/Documentation/ApplyPnPProvisioningTemplate....). When I run this function directly in Azure functions tool, it runs successfully in about 5 minutes.

 

 

flow-failed.PNGI have created a new flow with a HTTP action that calls the Azure Function that is triggered on a Sharepoint list. When the Flow is triggered, it runs the Azure Function, but because the function doesn't return anything for a few minutes, the request times out (see image). It also continues to execute the HTTP request 5 more times every 2 minutes, triggering the Azure Function each time.

 

My Question is, can I increase the timeout length of the HTPP request, or is there a way to not wait for a response and just assume it runs successfully?

1 ACCEPTED SOLUTION

Accepted Solutions
Community Support Team
Community Support Team

Re: Flow with Azure function "timeout was reached"

Hi @AlanAttwater,

 

I think this is caused by the Microsoft Flow currently limitation, see:

Limits and configuration in Microsoft Flow

Request Timeout is set with 90 Seconds.

Regards

Community Support Team _ Michael Shao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

2 REPLIES 2
Community Support Team
Community Support Team

Re: Flow with Azure function "timeout was reached"

Hi @AlanAttwater,

 

I think this is caused by the Microsoft Flow currently limitation, see:

Limits and configuration in Microsoft Flow

Request Timeout is set with 90 Seconds.

Regards

Community Support Team _ Michael Shao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

Highlighted
Meneghino
Level 10

Re: Flow with Azure function "timeout was reached"

Hi @v-micsh-msft

Thank you for clarifying the issue, I couldn't figure out if the problem was with PowerApps or with Flow.

Is there a suggested work-around?  I have a stored procedure in Azure SQL DB that takes 17 minutes, and it is being called an additoinal 4 times at 2 minute intervals.  Please see screenshot below.

__.JPG

Helpful resources

Announcements
thirdimage

Power Automate Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

firstImage

Incoming: New and improved badges!

We've given our badges an overhaul and also added some brand new ones!

fifthimage

Microsoft Learn

Learn how to build the business apps that you need.

sixthImage

Power Platform World Tour

Find out where you can attend!

seventhimage

Webinars & Video Gallery

Watch & learn from the Power Automate Community Video Gallery!

Users Online
Currently online: 424 members 6,014 guests
Please welcome our newest community members: