How to obtain infromation on newly created document libs (drive or drive id) at onedrive and newly created sites (lists or list Id) at SharePoint

Yammer Admin 20 Reputation points
2023-02-06T14:34:06.19+00:00

This is about us figuring out the newly created document libs and lists in real time.

A user can opt to go to OneDrive, classic UI and create new document lib / drive. We wish to know if any such drives are created and in real time. With this kind of ask, we are looking for any push based mechanism. Probably, something like graph subscription for newly created drives and lists and we get a notification, the moment anything as such is created.

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
12,002 questions
OneDrive
OneDrive
A Microsoft file hosting and synchronization service.
1,110 questions
SharePoint Development
SharePoint Development
SharePoint: A group of Microsoft Products and technologies used for sharing and managing content, knowledge, and applications.Development: The process of researching, productizing, and refining new or existing technologies.
2,971 questions
{count} votes

Accepted answer
  1. Anonymous
    2023-02-08T11:53:39.32+00:00

    Hi @Yammer Admin

    Thanks for reaching out! 

    Currently we have subscription available for list items and drive items.

    Change notifications are not available when there are new lists or libraries created in a site.

    Hope this helps. 

    If the reply is helpful, please click "Accept Answer" and kindly upvote it. If you have additional questions about this answer, please click "Comment". 

    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.