plannerTask resource type - priority property

Paul Andrei Turcu 0 Reputation points
2024-12-18T09:48:30.3833333+00:00

Hi,

While doing some http requests, on the patching of the tasks I found out the information regarding the priority values of a ToDo task in here https://learn.microsoft.com/en-us/graph/api/resources/plannertask?view=graph-rest-1.0.

Regarding this, according to this info the priority = 0 means urgent but in my postman tests, the priority 0 displays with the "Medium" info and not "Urgent".

Is that a bug in the endpoint itself or a not updated information?

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

1 answer

Sort by: Most helpful
  1. Akhil Nasalwai - MSFT 1,690 Reputation points Microsoft External Staff
    2024-12-18T12:43:16.9566667+00:00

    Hi Paul Andrei Turcu,

    Thank you for contacting Microsoft!

    Regarding the planner task resource, could you please change the priority of the task in the planner UI and try to fetch the details as mentioned below and let us know if this is working as expected.

    Try changing the priority of the task in the planner to urgent.

    planner2

    Try fetching the details of the task using Graph API where priority remains as "1".

    planner1

    Also, in the documentation https://learn.microsoft.com/en-us/graph/api/plannertask-update?view=graph-rest-1.0&tabs=http its mentioned as only the percent completed property can be updated.

    User's image

    After verifying the above-mentioned details, if you are still encountering this error, I would recommend you to raise a support case with Microsoft Graph, a Support Engineer will be able to look into this issue and assist you better. You can raise support ticket from https://admin.microsoft.com/#/support/requests

    Hope this helps.

    If the answer is helpful, please click Accept Answer kindly upvote it. If you have any further questions about this answer, please click comment.


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.