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

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / 401 Unauthorized error...
Power Automate
Unanswered

401 Unauthorized error with Dataverse List Rows after enabling pagination

(2) ShareShare
ReportReport
Posted on by 105

I'm working in a Logic App, but I get this same error in Power Automate.

 

I am trying to return more than 5000 records from a Dataverse List Rows action and have turned on pagination and set the threshold to 100000. I am receiving a 401 error so assuming it is not refreshing the token for the subsequent requests? Are there org settings I need to enable in order to use paginated results from Dataverse?

 

Thanks in Advance!

Categories:
I have the same question (0)
  • Mitanshu Profile Picture
    1,650 Moderator on at

    Can you confirm that the connection is still valid ?

    happyume_0-1701885908027.png

     

     

    Has the credential changed/refreshed (for example user has changed their account password)?

    happyume_1-1701886031688.png

     



    Does the authenticated user still have the permission to do the READ operation?

     

    If you try to retrieve only a single row, does that remove the error?

     

     

    Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If this post or my previous reply was useful in other ways, please consider giving it Thumbs Up.

  • Cosmic_Kitchen Profile Picture
    105 on at

    Thanks for the reply!


    I am using a service principal with system admin privileges and I have also attempted with my own credentials which also has system admin.

    The action works consistently for 5000 rows or less when pagination is turned off, and fails consistently with pagination turned on. 

  • erea Profile Picture
    39 on at

    I am currently experiencing the same issue. Was there ever a solution? I am assuming its a setting somewhere as everything i read says that you should be able to pull up to 100k records. 

  • RobAGR Profile Picture
    2 on at

    I am having the same issue. Pagination causes failure.

  • erea Profile Picture
    39 on at

    In case this helps anyone, we figured out the issue though don't have a direct resolution. 

     

    Pagination works fine when you use "List rows", but pagination does not go passed 5000 rows for "List rows from selected environment". Very annoying and not sure if its intended or an oversight. 

     

    Just FYI that to get around it, I had to do an alphabetical loop to pull all records that start with A, then B, then C, etc. 

     

  • arxvn Profile Picture
    4 on at

    It works for list rows, it fails on list rows from select environment

     

  • arxvn Profile Picture
    4 on at

    Switch from list rows from select environment to list rows.

  • Suggested answer
    Matthew Profile Picture
    9 on at
    This seems to be fixed today.
     

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 522 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 364 Moderator

#3
abm abm Profile Picture

abm abm 243 Most Valuable Professional

Last 30 days Overall leaderboard