Share via

How to get last modified date of a task in planner?

Vallespi, Xavi 1 Reputation point
2024-05-15T11:00:00.4533333+00:00

There is not as lastModifiedTime at get task or get task details in Microsoft Graph API. Is that something planned in a near future?

Microsoft Security | Microsoft Graph
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Hitesh Pachipulusu - MSFT 3,640 Reputation points Microsoft External Staff
    2024-05-15T17:54:49.9966667+00:00

    Hello @Vallespi, Xavi ,As per Microsoft Documentation https://learn.microsoft.com/en-us/graph/api/resources/plannerplan?view=graph-rest-1.0, we can't get lastModifiedTime of a planner task using Graph API call.

    You can reliably use the ETag to detect if the data in the backend is different (for each entity, task and task details are different entities), if you store the ETag on the backend instead of the last modified date. Please check https://stackoverflow.com/questions/71644435/how-to-get-the-last-modified-date-and-time-of-a-microsoft-planner-task-using-mic.

    We encourage you to submit your feedback on this issue to our feedback portal: https://aka.ms/graphfeedback This portal is monitored by our product team, and they will consider your feedback for future improvements.

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

    0 comments No comments

Your answer

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