Hi @Tinashe Chinyati ,
Welcome to Microsoft Q&A Platform. Thanks for posting the query.
Yes, today it is a limitation with Get Metadata activity that it cannot return results > 4MB. One possible approach is to modify source files to load into separate folders each with < 5000 files and they can be accessed by Get Metadata activities separately. Since this requires change from source, another possible approach is to use "Azure Functions" to get the list of files information and then pass it to Foreach or entirely azure function can be used to implement entire requirement.
The maximum size of returned metadata is around 4 MB.
Ref: storage-blobs-list,process-blob-files-automatically-using-an-azure-function-with-blob-trigger
I would recommend to submit an idea in feedback forum to remove the limitation which is closely monitored by data factory product team and will be considered for future releases.
Please let us know for further queries and we will be glad to assist.
------
- Please accept an answer if correct. Original posters help the community find answers faster by identifying the correct answer. Here is how.
- Want a reminder to come back and check responses? Here is how to subscribe to a notification.