cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Helper I
Helper I

Cannot Trigger Off of a (Large) SharePoint Document Library

Hello,

 

I have a rather large document library (136,979 items) in SharePoint.  I was tasked to create a Flow that essentially sends out different e-mails depending on what is in the "Status" column.

 

This Flow does a few more things that are unimportant to this troubleshooting.  I was able to successfully create the logic and structure of the entire Flow in a "sandbox" document library in SharePoint using my personal Flow account.  Once I finished testing all the different features in my sandbox environment, I began to create the production-ready Flow on my company's service account.  I started by connecting Flow to the large production document library in SharePoint and quickly tested the connection but it did not work.  (I tested the connection by simply adding one e-mail step after the "When an Item is Created or Modified" trigger then I modified an item in the library but did not receive the e-mail)

 

The error is as follows:

{

"status": 400,

"message": "This operation requires Modified field to be indexed but current user does not have permissions to create it automatically.\r\nclientRequestId:..."

}

 

Upon seeing this error, I went into the document library's Settings > Indexed Columns then proceeded to index the "Modified" field. This did not fix the issue.

 

Is the document library perhaps too big?  I have been troubleshooting for several hours now but I'm unsure of where to go from here.  I was able to create everything just fine in a sandbox enviornment but when it came time to replicate it in the (much larger) production enviornment, I can't even get the initial connection established.

 

Thank you.

1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted
Dual Super User III
Dual Super User III

Re: Cannot Trigger Off of a (Large) SharePoint Document Library

Hi @BrennenLowe 

 

From the error statement it looks like there might be a permissions issue that is blocking you from tracking the modified field on the SP list. Can you confirm that you have enogh access to do so? Can you try this using an administrator access account?

 

Please note that the number of data content should not be a problem while connecting to the flow. 

 

You might want to test by creating a new item too. 

 

Hope this Helps!

If this reply has answered your question or solved your issue, please mark this question as answered. Answered questions helps users in the future who may have the same issue or question quickly find a resolution via search. If you liked my response, please consider giving it a thumbs up. THANKS!

View solution in original post

2 REPLIES 2
Highlighted
Dual Super User III
Dual Super User III

Re: Cannot Trigger Off of a (Large) SharePoint Document Library

Hi @BrennenLowe 

 

From the error statement it looks like there might be a permissions issue that is blocking you from tracking the modified field on the SP list. Can you confirm that you have enogh access to do so? Can you try this using an administrator access account?

 

Please note that the number of data content should not be a problem while connecting to the flow. 

 

You might want to test by creating a new item too. 

 

Hope this Helps!

If this reply has answered your question or solved your issue, please mark this question as answered. Answered questions helps users in the future who may have the same issue or question quickly find a resolution via search. If you liked my response, please consider giving it a thumbs up. THANKS!

View solution in original post

Highlighted
Helper I
Helper I

Re: Cannot Trigger Off of a (Large) SharePoint Document Library

Yashag,

 

I thought I had sufficient permissions, but apparently not.  Once I was given more permissions, the Flow triggered as expected.  Thank you!

Helpful resources

Announcements
secondImage

August 2020 CYST Winners!

Check out the winners of the recent 'Can You Solve These?' community challenge!

thirdImage

Experience what's new for Power Automate

Join us for an in-depth look at the new Power Automate features and capabilities at the free Microsoft Business Applications Launch Event.

firstImage

Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

thirdimage

Power Automate Community User Group Member Badge

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

Users online (3,651)