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

Amy Day 0 Reputation points
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 Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
11,891 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. AsithwMSFT 1,425 Reputation points Microsoft Vendor
    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.