Questions tagged [getchanges]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0 votes
1 answer
1k views

Get and use the changeToken for a list with REST

Maybe it is my fault. I have been really trying to get some documentation on how to get the change token to track the changes for a the items in a list. My main goal is to use a logic app to handle ...
vilmarci's user avatar
  • 906
1 vote
1 answer
508 views

Retrieve SharePoint Online change log for entire tenant

I'm using GetChanges REST end point to retrieve SP change log: https://mytenant.sharepoint.com/_api/site/GetChanges with request body like below: { "query": { "Add": ...
Vladislav Kozyr's user avatar
0 votes
1 answer
307 views

Alert/Report on any permission change in SharePoint Environment

I have a SharePoint farm as well as a SharePoint online tenant which need to monitor for any permission change. I want some alert that will be trigger a email and notify any change in farm or tenant ...
cjs's user avatar
  • 1,204
0 votes
1 answer
169 views

Is there an operation that changes a SharePoint list's GUID to another value?

I have a CSOM application that I use to access SharePoint lists. I have processed a list https://mysharepoint.shareoint.local/sites/sc123/MyList with a GUID: 263FE49C-7FB3-4247-93CD-4AAB9770EF97 ...
Nicholas DiPiazza's user avatar
1 vote
0 answers
227 views

REST API - File moved - Origin server relative url

When a file is moved in SharePoint, I can catch the event using the GetChanges API. _api/web/lists('listid')/GetChanges My issue is that I need to retrieve the origin and destination server relative ...
Thibault.ce's user avatar
1 vote
1 answer
607 views

SharePoint Online Webhook - how to get deleted file details

I am using a webhook to capture events in a document library. And based on the sample from pnp team https://github.com/SharePoint/sp-dev-samples/blob/master/Samples/WebHooks.List/SharePoint.WebHooks....
Azure Dev's user avatar
1 vote
2 answers
249 views

Why does Changes API return changes for Lists that do not exist?

I am using the Changes API to fetch changes: ChangeQuery cq = new ChangeQuery(true, true); cq.ChangeTokenStart = new ChangeToken(); cq.ChangeTokenStart.StringValue = string.Format("1;1;{0};{1};-1", ...
Nicholas DiPiazza's user avatar
0 votes
1 answer
2k views

Rest API Documentation - getChanges query options

Where can I find all available query options for getChanges? /_api/site/getchanges(@qry)?@qry={} I know I can query using {"Add":true,"Web":true} but I'd like to know all properties I can specify.
user247298's user avatar
1 vote
0 answers
141 views

CSOM - get deleted site collections

Is it possible to get a list of site collections deleted by administrators since a given timestamp using CSOM? We can do this with deleted sites using the changes api, but what about site collections?...
Nicholas DiPiazza's user avatar
2 votes
1 answer
14k views

"The security validation for this page is invalid and might be corrupted" when trying to make a raw HTTP POST to the "getchanges" endpoint

I want to make a getchanges rest api request using an HTTP client. I am trying both curl and postman and unable to do this. I'm trying to run this curl: curl -X POST \ http://192.16.11.133/_api/...
Nicholas DiPiazza's user avatar
2 votes
1 answer
826 views

Can I limit to getting only the latest change of a Site Colletion in CSOM

I am using the following to get changes that happened in a Site Collection. ChangeToken token = new ChangeToken(); token.StringValue = lastChangeToken; ChangeQuery query = new ChangeQuery(true, true)...
Shen Prabu's user avatar
2 votes
0 answers
386 views

Changequery not displaying all changes

My scenario is i have a list of companies and each time am creating a new company(folder),i should be able to use the changequery method to identify the company created and create a document set ...
Keshav Taurah's user avatar
18 votes
2 answers
4k views

How to actually use webhooks, GetChanges and GetListItemChangesSinceToken?

My main goal is a very simple duplicate of alerts, to play around with webhooks, just a simple "User X changed field Title from 'Hello' to 'World'". So far so good After some struggle I finally ...
eirikb's user avatar
  • 7,405