How do you assign a task to multiple people as an individual task to all

Anonymous
2024-03-05T19:09:58.2633333+00:00

I want to be able to assign a single task to Tom, Dick and Harry such that when Tom marks the task complete, it does not get closed out for Dick and Harry also. Will this ever be possible?

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

1 answer

Sort by: Most helpful
  1. AsithwMSFT 1,445 Reputation points Microsoft External Staff
    2024-03-09T02:54:53.7433333+00:00

    Hello Amy ,

    you can assign users to a task as below.

    PATCH https://graph.microsoft.com/v1.0/planner/tasks/{task-id}
    
    Content-type: application/json
    Prefer: return=representation
    If-Match: W/"JzEtVGFzayAgQEBAQEBAQEBAQEBAQEBAWCc="
    {
      "assignments": {
        "{user_id_of_tom}": {
          "@odata.type": "#microsoft.graph.plannerAssignment",
          "orderHint": "N9917 U2883!"
        }
      } 
    }
    

    For more detailed information, please refer to the documentation.

    0 comments No comments

Your answer

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