question

LukeSloaneBulger-4157 avatar image
0 Votes"
LukeSloaneBulger-4157 asked CarlZhao-MSFT edited

Microsoft Graph Application - Get Planner Task - Last Modified query

I'm aiming to make an application that gets our Microsoft Planner Tasks, and checks if any have been updated or moved between columns.

I was looking to get this "Last changed moments ago" string or any form of modified date.

146553-capture.png

But I can't see it in the API calls:
- https://graph.microsoft.com/v1.0/planner/plans/{ {PlannerId}}/tasks
- https://graph.microsoft.com/v1.0/planner/tasks/{ {TaskId}}
- https://graph.microsoft.com/v1.0/planner/tasks/{ {TaskId}}/details (This one does have a last modified date for checklist items).




Is this "Last changed" text exposed in any of the API calls for Microsoft Graph?

microsoft-graph-applicationsmicrosoft-graph-tasks-plans
capture.png (5.7 KiB)
· 5
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Would you please provide us with an update on the status of your issue?

0 Votes 0 ·

Thanks for your answer to my query.

That's what I thought when I looked through the documentation and tested the API calls. Just thought I'd check in to see if I was missing anything obvious.

I have a solution in mind to check for any changes.

It'd be handy in future if the Microsoft Graph API exposed that "last changed" string though.

1 Vote 1 ·
CarlZhao-MSFT avatar image CarlZhao-MSFT LukeSloaneBulger-4157 ·

Hi, I agree with you that if the first two APIs support "last changed", it will provide a lot of convenience. You can submit a user voice to add support for the lastModifiedDateTime parameter, and I will vote for you.

0 Votes 0 ·
Show more comments

1 Answer

CarlZhao-MSFT avatar image
0 Votes"
CarlZhao-MSFT answered

According to my test, the first two api calls do not support the lastModifiedDateTime parameter. You can check the parameter documentation, and the lastModifiedDateTime parameter is not included. The third api call supports the lastModifiedDateTime parameter.


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.

5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.