cancel
Showing results for 
Search instead for 
Did you mean: 

Microsoft 365 Outlook VBO - List Mails for Folder - Next Page URI

foehl
Level 6

The Microsoft 365 Outlook VBO available from the Digital Exchange contains an action called "List Mails for Folder' that fetches the data for mails in a given mailbox folder.

Due to the way that graph API works, it has an input parameter to determine how many mails to fetch (the page size) with the default being 10 and the maximum being 1000. If there are more mails present that the page size, then the action has an output that returns the URI for the next page of items (it already contains any the mailbox and folder name from the original request plus and search or filter criteria provided). The idea being that you use the URI in your next request to get the next page of mails and repeat until no 'Next Page URI' is returned, then you know you have all your mails.

The issue is that the BP action does not have an input to allow you to use this next page URI.

Am I missing something on how I should use this action or is it planned to add this at some point in the future? Otherwise I don't see a way to deal with a volume of more than 1000 mails.

1 BEST ANSWER

Helpful Answers

foehl
Level 6

I just found the answer, I should use the action 'Get Next Page'. Sorry, having a senior moment. I'll leave this post here in case it helps someone else.

View answer in original post

1 REPLY 1

foehl
Level 6

I just found the answer, I should use the action 'Get Next Page'. Sorry, having a senior moment. I'll leave this post here in case it helps someone else.