Ashok Subedi
Ashok Subedi

Reputation: 237

Can we track Microsoft Delta changes on the Users, Group, ChatMessage or Planner Objects based on time. "/me/planner/all/delta"

Basically does any one know how to ask for delta changes that happened after certain time. I am saving all the changes that user has done to planner objects to the database, but I know eventually delta changes for 100 of plans will go insanely huge. GET /me/planner/all/delta GET /users/{id}/planner/all/delta. Does any one knows how to filter delta response with given time. My plan is to query delta after certain time. It could be in any object that delta works. Right now I can bring all the delta changes but I do not see how I can ask for changes that happend after certain time.

Upvotes: 0

Views: 360

Answers (3)

Ashok Subedi
Ashok Subedi

Reputation: 237

That makes sense, I was saving the deltas so that in future I could tell which user modified what planner objects. Since Microsoft has not implemented an audit trail for planner objects yet. Storing delta Link was just for my possible future rollback processes. I realized deltaLink does not expire it is just using delta token to find the future changes from the time the delta was queried. Basically, I am requesting Microsoft teams to have some kind of audit trail for Planner objects changes(at least for who changed at what time) so we can query those activities and have those specific individuals held responsible for unwanted changes that they made. For instance, changing the due date of planner tasks

Upvotes: 0

Tarkan Sevilmis
Tarkan Sevilmis

Reputation: 1508

Delta only works with the tokens presented in the links, it is not time based (we do not store it based on time internally). It is also best-effort, which means at certain time the delta changes will be cleared and the clients will be forced to read objects again to be in sync. So even if there was a time based query, there wouldn't be a guarantee that you can access older data.

What is your scenario? Some kind of history tracking or auditing?

Upvotes: 1

Marek Kyzivát
Marek Kyzivát

Reputation: 343

As far as I know, nope. I have to cycle on all Planner plans and tasks in them to get the details. I am currently saving the planner task details to sharepoint and instead of updating it I am just deleting all old records and recreating them.

Upvotes: 0

Related Questions