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 / Reminder Flow - Missin...
Power Automate
Unanswered

Reminder Flow - Missing Authorization header for a privileged call on connection

(0) ShareShare
ReportReport
Posted on by

Hello friends.  I created a basic reminder flow on a library that has 50,000 items.  Understanding that the flow can only process 5000 items, i am using a filter query to only process records who's termination date (the column i'm interested in) is equal to today's date.  

 

concat(concat('Termination_x0020_Reminder_x0020_Date',' ge ', '''',outputs('Today_+_x_days')),'''',' and ', concat('Termination_x0020_Reminder_x0020_Date',' lt ','''', outputs('x_Days_+_1'),''''))

 

This query should only return a handful of items.  When running the flow, i get no results, and in the output section of get items, i see a 200 status code and this message in the body

 

{
"@odata.nextLink": "https://flow-apim-msmanaged-na-centralus-01.azure-apim.net/apim/sharepointonline/shared-sharepointonl-cc31f36b-841e-401d-a1ac-f5a737c9df15/datasets/https%253A%252F%252Fbluelinxco.sharepoint.com%252Fsites%252FLegalMatter/tables/4e094f30-843e-4b46-b8ec-cde1729b8d7b/items?viewScopeOption=Default&$filter=Termination_x0020_Reminder_x0020_Date+ge+%272020-04-20%27+and+Termination_x0020_Reminder_x0020_Date+lt+%27+2020-04-21%27&$top=1000&$skiptoken=Paged%3dTRUE%26RootFolder%3d%252fsites%252fLegalMatter%252fContracts%26ix_Paged%3dTRUE%26ix_ID%3d105618",
"value": []
}

 

{
"Message": "Missing Authorization header for a privileged call on connection.",
"Source": "product policy"

 

 

 

Categories:
I have the same question (0)
  • efialttes Profile Picture
    14,756 on at

    Hi!

    You added the following as Filter Query input, right?

     

    Perhaps the problem is that Filter Query expects ODATA expressions, with a different syntax.

     

    Please check this great post to find explanation of the syntax and commands applying to Sharepoint Get items (also apply to Get file -properties only-)

    https://sharepains.com/2018/11/12/sharepoint-get-items-odata-filter-query/

     

    Not with my laptop, so unable to test the ODATA expression

     

    Hope this helps

     

  • Community Power Platform Member Profile Picture
    on at

    hey @efialttes no, this was the default query added when you create a reminder workflow off a date column in a modern library.  I did not touch this. 

  • efialttes Profile Picture
    14,756 on at

    Hi!

    Can you share a screenshot from your current Flow design?

    Thanx!

  • efialttes Profile Picture
    14,756 on at

    Hi again

    Please also note Flow can process more than 5,000 items. If you are working with Sharepoint Lists, you can activate pagination, if working with libraries you can implement a Do Until approach.

    Details here:

    https://alextofan.com/2019/08/22/how-to-get-more-than-5000-item-from-sharepoint-online-in-flow/

    Thanx!

  • Community Power Platform Member Profile Picture
    on at

    As you can see, this is a basic OOB flow reminder workflow.  The only thing i did was changed the reminder to 0 days after the flow was created, but this can be left @ 1.  I have an identical flow running on a library with 1 document and its working fine.    

     

    Flow.png

  • Community Power Platform Member Profile Picture
    on at

    Im not sure i agree with this - the filter query should address this.  While there are 50,000 items, for the test purposes, the filter query should only return 1 item and i didnt get the list threshold error message. 

  • efialttes Profile Picture
    14,756 on at

    OMG!

    You are totally right! I mean, it is a valid ODATA expression!

    So the problem seems to be changing the REminder into 0 days, or... flow design not valid for libraries with more than 5,000 files. Did you already try with Reminder 1 day in this same huge library, just for testing purposes?

    THanx!

     

  • Community Power Platform Member Profile Picture
    on at

    Yes, I tried with reminder set to 0 and 1 - both fail.  Again, for confirmation, 1 have 2 libraries.  One with 1 document and this flow works perfectly.  The other with 50,000 items and i don't get the threshold error, but i get the other error code even with filter put in place.  The natural guess is that it has something to do with the large size library - but cant seem to figure out why this error appears and more importantly what it means.

  • efialttes Profile Picture
    14,756 on at

    Hi again

    Sounds really bad, I mean this is the only reference to this same error I just found in the Power Automate community

    https://powerusers.microsoft.com/t5/I-Found-A-Bug/Some-of-the-connections-are-not-authorized-yet-If-you-just/td-p/418312

     

    Hope this helps

  • Kirill-PRG Profile Picture
    44 on at

    Hi did you solve this problem? I have similar problem only with document library... Strange thing is, that if I try to filter only first folder it works perfectly, but when I filter other then first folder (so I do not get 5000 items) it does not work. And there is no info about this problem at all 😕

     

    I tried to contact support, but guys from Nigeria did not understand me so it ends up in no sulotion 😕 very anoying...

     

    First folder is workingFirst folder is working

     

    2nd folders - does not work2nd folders - does not work

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 525 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 324 Moderator

#3
abm abm Profile Picture

abm abm 232 Most Valuable Professional

Last 30 days Overall leaderboard