Are all files uploaded through SharePoint saved in Document libraries (Drives)?

Adz 286 Reputation points
2022-09-20T14:04:55.537+00:00

I have a requirement to archive all SharePoint files for my organisation.

Is it safe to assume all files uploaded through SharePoint are saved in document libraries and I can access the respective drives through:

  • /sites/{siteId}/drives

I assume anything uploaded through a List/Site is persisted on a Document library (drive)?

Is there anywhere else files can be persisted apart from Document libraries for a Site?

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
11,860 questions
SharePoint
SharePoint
A group of Microsoft Products and technologies used for sharing and managing content, knowledge, and applications.
10,581 questions
{count} votes

Accepted answer
  1. Renjie Sun-MSFT 2,856 Reputation points Microsoft Employee
    2022-09-21T08:29:13.567+00:00

    Dear @Adz ,

    Thank you for your post in our forum.

    1.You are right, all files uploaded through SharePoint are saved in document libraries.
    According to the tests, you could use /sites/{site-id}/drives to get the drive ID, and then use /sites/{site-id}/drives/{drive-id}/root/children to access the files in the library.

    2.According to the research, there isn’t anywhere else to shore files except libraries.

    Should you have any questions or concerns, please do feel free to contact me.

    Yours sincerely,
    Renjie Sun


    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.

    1 person found this answer helpful.
    0 comments No comments

0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.