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

Time out when Grant access to an item or file

Hi,

 

I'm reworking a SharePoint list to get better access control, earlier done by filtering in the list view with [Me] option.

Now I would like do it on item level by using the "Grant access..." command in conjunction with the item is saved, so far so good.

To implement the new solution I need to update the existing items with item level access, approx 2000 items.

I tried to that with below flow. But I get time out after approx 10 minutes. Checking in the SharePoint list approx 500 items been updated before the time out.

In the Get Items setting I have enabled Pagination and set threshold to 2000 and that is running fine. Finnish in approx 2 minutes.

It is in the next step the time out happens.

Any other options to change to avoid the time out?

Grant1.jpg

 
1 ACCEPTED SOLUTION

Accepted Solutions
Super User
Super User

Re: Time out when Grant access to an item or file

@powow 

An apply to each loop runs by default in a sequential manner.  Try turning con concurrency and experimenting with the degree of parallelism.  This will allow the loop to process items in a parallel fashion.  To do so go to the settings for the loop - see my screen shot below.

Concurrency.png

 

 

If I have answered your question, please mark your post as Solved.
If you like my response, please give it a Thumbs Up.

Scott

View solution in original post

2 REPLIES 2
Community Support Team
Community Support Team

Re: Time out when Grant access to an item or file

Hi @powow , 

 

Sorry for I couldn't see the attached flow currently.

I would reply here once I could see the flow and make a test.

 

Best regards,

Alice       

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

Super User
Super User

Re: Time out when Grant access to an item or file

@powow 

An apply to each loop runs by default in a sequential manner.  Try turning con concurrency and experimenting with the degree of parallelism.  This will allow the loop to process items in a parallel fashion.  To do so go to the settings for the loop - see my screen shot below.

Concurrency.png

 

 

If I have answered your question, please mark your post as Solved.
If you like my response, please give it a Thumbs Up.

Scott

View solution in original post

Helpful resources

Announcements
firstImage

New Ranks and Rank Icons in April

Read the announcement for more information!

firstImage

Better Together Contest Finalists Announced!

Congrats to the finalists of our ‘Better Together’-themed T-shirt design contest! Click for the top entries.

firstImage

New & Improved Power Automate Community Cookbook

We've updated and improved the layout and uploading format of the Power Automate Cookbook!

thirdimage

Power Automate Community User Group Member Badge

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

sixthImage

Community Summit North America

The top training and networking event across the globe for Microsoft Business Applications

Top Solution Authors
Users online (1,562)