How to subscribe to sharepoint site/page changes?

Jonas 0 Reputation points
2024-11-26T13:39:51.05+00:00

Hi,
we were wondering if there are possibilities to subscribe to sharepoint site/page changes.

Sharepoint sites&pages aren't listed in the graph subscription overview https://learn.microsoft.com/en-us/graph/api/subscription-post-subscriptions?view=graph-rest-1.0&tabs=http

Are sharepoint sites/pages stored in a drive somewhere such that we could subscribe to drive changes of the underlying files?

If so, how can we find their drive-id?

If it's not possible to use the subscription API for sharepoint site/page changes, is there any other way a webservice can be invoked upon changes?

Thank you and best regards,

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
12,437 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.
3,095 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Emily Du-MSFT 47,851 Reputation points Microsoft Vendor
    2024-11-27T02:36:15.6466667+00:00

    Yes, based on supported resources listed in this Microsoft article, Graph subscription does not support SharePoint pages, we could not get changes notifications of SharePoint pages through Graph API.

    Currently, we have two methods to get changes notifications of SharePoint pages, OOTB alert feature and Power Automate.

    1.OOTB alert feature.

    Go to Page library -> Alert me -> Create an alert.

    1

    2

    2.Power Automate.

    Go to Page library -> Automate -> Create a flow -> See your flows -> New flow -> Automated cloud flow.

    enter image description here


    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.


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.