web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / The attempted operatio...
Power Automate
Answered

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

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

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

Categories:
I have the same question (0)
  • CFernandes Profile Picture
    8,482 Most Valuable Professional on at

    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.

     

  • Verified answer
    v-xiaochen-msft Profile Picture
    Microsoft Employee on at

    Hi @Anonymous ,

     

    You could turn on this setting.

    vxiaochenmsft_0-1640070858539.png

    vxiaochenmsft_2-1640071073505.png

     

    Best Regards,

    Wearsky

  • DrKEWatson1 Profile Picture
    15 on at

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

  • ericwhitley Profile Picture
    137 on at

    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

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Leaderboard > Power Automate

#1
Haque Profile Picture

Haque 286

#2
David_MA Profile Picture

David_MA 256 Super User 2026 Season 1

#3
Expiscornovus Profile Picture

Expiscornovus 225 Most Valuable Professional

Last 30 days Overall leaderboard