Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Automate - Using Flows
Answered

The attempted operation is prohibited because it exceeds the list view threshold.

(0) ShareShare
ReportReport
Posted on by

Hi 

 

There is [Get items] from share point action in my Flow which failed due to below error.

The list of share point has 5000+ items, but if I remove Order By from below action, the error will not happen.

Is there any other action to replace order by of Get Items?

 

[The attempted operation is prohibited because it exceeds the list view threshold.]

キャプチャ.PNG

  • ericwhitley Profile Picture
    137 on at
    Re: The attempted operation is prohibited because it exceeds the list view threshold.

    Indexing the column you sort on and enabling Pagination helps but if the list is too large you also have to specify a Filter Query. If you want all items returned you can use something that will never be false, ie: Created ne null

     

    If you don't do this you will still get the "The attempted operation is prohibited because it exceeds the list view threshold" error

  • DrKEWatson1 Profile Picture
    15 on at
    Re: The attempted operation is prohibited because it exceeds the list view threshold.

    Probably a little late, but if you index the colum you are sorting on, it allows for sorting for lists over 5000

  • Verified answer
    v-xiaochen-msft Profile Picture
    on at
    Re: The attempted operation is prohibited because it exceeds the list view threshold.

    Hi @Anonymous ,

     

    You could turn on this setting.

    vxiaochenmsft_0-1640070858539.png

    vxiaochenmsft_2-1640071073505.png

     

    Best Regards,

    Wearsky

  • CFernandes Profile Picture
    8,283 Most Valuable Professional on at
    Re: The attempted operation is prohibited because it exceeds the list view threshold.

    Hey Mate @Anonymous 

     

    The alternative to Get items will be SharePoint HTTP action - You can find details at - https://www.tachytelic.net/2020/04/use-rest-api-power-automate-get-over-5000-items-from-sharepoint/ 

     

    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!

     

    P.S. take a look at my blog here and like & subscribe to my YouTube Channel thanks.

     

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

🌸 Community Spring Festival 2025 Challenge 🌸

WIN Power Platform Community Conference 2025 tickets!

Markus Franz – Community Spotlight

We are honored to recognize Markus Franz as our April 2025 Community…

Kudos to the March Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 146,524 Most Valuable Professional

#2
RandyHayes Profile Picture

RandyHayes 76,287 Super User 2024 Season 1

#3
Pstork1 Profile Picture

Pstork1 65,906 Most Valuable Professional

Leaderboard

Featured topics

Restore a deleted flow