cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Frequent Visitor

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
Highlighted
Super User III
Super User III

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
Highlighted
Community Support
Community Support

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.

Highlighted
Super User III
Super User III

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
Community Conference

Power Platform Community Conference

Check out the on demand sessions that are available now!

Power Platform ISV Studio

Power Platform ISV Studio

ISV Studio is designed to become the go-to Power Platform destination for ISV’s to monitor & manage published applications.

Upcoming Events

Experience what’s next for Power Automate

See the latest Power Automate innovations, updates, and demos from the Microsoft Business Applications Launch Event.

Users online (6,879)