
Hi @john john ,
Technically, you can load over 30 million documents into sharepoint and not raise a warning. However, the speed will be significantly reduced. And we don't recommend you do it. Some unforeseen errors may occur.
One document can have up to 30 million files and folders. One file must be less than 15 GB. And list view threshold is 5000.
Note: When a list, library, or folder contains more than 100,000 items, you can't break permissions inheritance on the list, library, or folder.
Others have had questions about the SharePoint 5000 item limit threshold, and if you also have questions, you can read this thread (hope it helps): https://learn.microsoft.com/en-us/answers/questions/1007253/sharepoint-online-5000-file-limit.html
If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.