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

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics 365 | Integration, Dataverse...
Unanswered

Unable to List More Than 5000 Files in Azure Blob Storage for Integration with Business Central

(1) ShareShare
ReportReport
Posted on by 2

Hello everyone,

I am working on integrating Azure Blob Storage with Microsoft Dynamics 365 Business Central to import file links from a folder within a container into a Business Central table.

Here’s my scenario:

  • I have uploaded more than 243,000 files into a specific folder inside a container in Azure Blob Storage.
  • I want to list all the files in the folder and import their links into a Business Central table.
  • However, I can only list and process the first 5,000 files. It seems the ListBlobs operation is limited to this count.
now my Question is 
  • How can I retrieve all the files in the folder beyond the 5,000-file limit using AL code in Business Central?
  • Is there a way to handle continuation tokens or implement pagination in AL to overcome this limitation?
  • Are there any best practices for efficiently managing and retrieving a large number of files from Azure Blob Storage in this context?
I am using an Azure Blob Storage integration with AL code that looks like this (simplified for clarity):
ABSBlob.Initialize(StorageAccount, ContainerName, Authorization);
ABSBlob.ListBlobs(ABSContContainer, ABSOptionalParameter);
 

This works fine for folders with fewer than 5,000 files, but it doesn’t seem to handle larger datasets.

Any guidance or example code for handling large file sets or continuation tokens would be greatly appreciated.

Thank you!

I have the same question (1)

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > Microsoft Dynamics 365 | Integration, Dataverse, and general topics

#1
Siv Sagar Profile Picture

Siv Sagar 93 Super User 2025 Season 2

#2
#ManoVerse Profile Picture

#ManoVerse 76

#3
Martin Dráb Profile Picture

Martin Dráb 64 Most Valuable Professional

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans