Use Microsoft Planner to manage tasks, plans, and buckets. Task details include checklists and references; use the actions below to read or update them.
Sim requests these scopes when someone connects a Microsoft Planner account. For a self-hosted deployment, register your own app with the provider using the settings below. See Integrations and OAuth for setup.
Setting Value Redirect URI <NEXT_PUBLIC_APP_URL>/api/auth/oauth2/callback/microsoft-plannerEnvironment variables MICROSOFT_CLIENT_ID, MICROSOFT_CLIENT_SECRET
Scope Description openidStandard authentication profileAccess profile information emailAccess email address Group.ReadWrite.AllRead and write all groups Group.Read.AllRead all groups, memberships, and group content Tasks.ReadWriteRead and manage Planner tasks offline_accessAccess account when not using the application
Manage tasks, plans, buckets, and task details including checklists and references.
Read tasks from Microsoft Planner - get all user tasks or all tasks from a specific plan
Inputs and outputsParameter Type Required Description planIdstring No The ID of the plan to get tasks from, if not provided gets all user tasks (e.g., "xqQg5FS2LkCe54tAMV_v2ZgADW2J") taskIdstring No The ID of the task to get (e.g., "pbT5K2OVkkO1M7r5bfsJ6JgAGD5m")
Parameter Type Description successboolean Whether tasks were retrieved successfully tasksarray Array of task objects with filtered properties metadataobject Metadata including planId, userId, and planUrl ↳ planId string Plan ID ↳ userId string User ID ↳ planUrl string Microsoft Graph API URL for the plan
Create a new task in Microsoft Planner
Inputs and outputsParameter Type Required Description planIdstring Yes The ID of the plan where the task will be created (e.g., "xqQg5FS2LkCe54tAMV_v2ZgADW2J") titlestring Yes The title of the task (e.g., "Review quarterly report") dueDateTimestring No The due date and time for the task in ISO 8601 format (e.g., "2025-03-15T17:00:00Z") startDateTimestring No The start date and time for the task in ISO 8601 format (e.g., "2025-03-10T09:00:00Z") prioritynumber No The priority of the task (0-10, where 0 is urgent and 10 is low) percentCompletenumber No The percentage of task completion (0-100) assigneeUserIdstring No The user ID to assign the task to (e.g., "e82f74c3-4d8a-4b5c-9f1e-2a6b8c9d0e3f") bucketIdstring No The bucket ID to place the task in (e.g., "hsOf2dhOJkC6Fey9VjDg1JgAC9Rq") appliedCategoriesstring No Comma-separated category labels to apply to the task, e.g. "category1,category3" (up to category1-category25, plan-defined color labels)
Parameter Type Description successboolean Whether the task was created successfully taskobject The created task object with all properties metadataobject Metadata including planId, taskId, and taskUrl ↳ planId string Parent plan ID ↳ taskId string Created task ID ↳ taskUrl string Microsoft Graph API URL for the task
Update a task in Microsoft Planner
Inputs and outputsParameter Type Required Description taskIdstring Yes The ID of the task to update (e.g., "pbT5K2OVkkO1M7r5bfsJ6JgAGD5m") etagstring Yes The ETag value from the task to update (If-Match header) titlestring No The new title of the task (e.g., "Review quarterly report") bucketIdstring No The bucket ID to move the task to (e.g., "hsOf2dhOJkC6Fey9VjDg1JgAC9Rq") dueDateTimestring No The due date and time for the task in ISO 8601 format (e.g., "2025-03-15T17:00:00Z") startDateTimestring No The start date and time for the task (ISO 8601 format) percentCompletenumber No The percentage of task completion (0-100) prioritynumber No The priority of the task (0-10) assigneeUserIdstring No The user ID to assign the task to (e.g., "e82f74c3-4d8a-4b5c-9f1e-2a6b8c9d0e3f") appliedCategoriesstring No Comma-separated category labels to apply to the task, e.g. "category1,category3" (up to category1-category25, plan-defined color labels)
Parameter Type Description successboolean Whether the task was updated successfully messagestring Success message when task is updated taskobject The updated task object with all properties taskIdstring ID of the updated task etagstring New ETag after update - use this for subsequent operations metadataobject Metadata including taskId, planId, and taskUrl ↳ taskId string Updated task ID ↳ planId string Parent plan ID ↳ taskUrl string Microsoft Graph API URL for the task
Delete a task from Microsoft Planner
Inputs and outputsParameter Type Required Description taskIdstring Yes The ID of the task to delete (e.g., "pbT5K2OVkkO1M7r5bfsJ6JgAGD5m") etagstring Yes The ETag value from the task to delete (If-Match header)
Parameter Type Description successboolean Whether the task was deleted successfully deletedboolean Confirmation of deletion metadataobject Additional metadata
List all plans shared with the current user
Inputs and outputsParameter Type Required Description
Parameter Type Description successboolean Whether plans were retrieved successfully plansarray Array of plan objects shared with the current user metadataobject Metadata including userId and count ↳ count number Number of plans returned ↳ userId string User ID
Get details of a specific Microsoft Planner plan
Inputs and outputsParameter Type Required Description planIdstring Yes The ID of the plan to retrieve (e.g., "xqQg5FS2LkCe54tAMV_v2ZgADW2J")
Parameter Type Description successboolean Whether the plan was retrieved successfully planobject The plan object with all properties metadataobject Metadata including planId and planUrl ↳ planId string Plan ID ↳ planUrl string Microsoft Graph API URL for the plan
Create a new Microsoft Planner plan owned by a Microsoft 365 group
Inputs and outputsParameter Type Required Description groupIdstring Yes The ID of the Microsoft 365 group that will own the plan (e.g., "ebf3b108-5234-4e22-b93d-656d7dae5874"). The current user must be a member of this group. titlestring Yes The title of the plan
Parameter Type Description successboolean Whether the plan was created successfully planobject The created plan object with all properties metadataobject Metadata including planId and groupId ↳ planId string Created plan ID ↳ groupId string Owning Microsoft 365 group ID
Rename a Microsoft Planner plan
Inputs and outputsParameter Type Required Description planIdstring Yes The ID of the plan to update (e.g., "xqQg5FS2LkCe54tAMV_v2ZgADW2J") etagstring Yes The ETag value from the plan to update (If-Match header) titlestring Yes The new title of the plan
Parameter Type Description successboolean Whether the plan was updated successfully planobject The updated plan object with all properties metadataobject Metadata including planId ↳ planId string Updated plan ID
Get detailed information about a plan including category descriptions and sharing
Inputs and outputsParameter Type Required Description planIdstring Yes The ID of the plan (e.g., "xqQg5FS2LkCe54tAMV_v2ZgADW2J")
Parameter Type Description successboolean Whether the plan details were retrieved successfully planDetailsobject The plan details including categoryDescriptions and sharedWith etagstring The ETag value for this plan details resource metadataobject Metadata including planId ↳ planId string Plan ID
Update a plan's category (color label) descriptions and shared-with user list in Microsoft Planner
Inputs and outputsParameter Type Required Description planIdstring Yes The ID of the plan (e.g., "xqQg5FS2LkCe54tAMV_v2ZgADW2J") etagstring Yes The ETag value from the plan details to update (If-Match header) categoryDescriptionsobject No Category label names as a JSON object, e.g. {"category1": "Blocked", "category2": "At Risk"}. Set a value to null to clear a label. sharedWithobject No User IDs to share the plan with as a JSON object, e.g. {"<user-id>": true}. Set a value to false to unshare.
Parameter Type Description successboolean Whether the plan details were updated successfully planDetailsobject The updated plan details object with categoryDescriptions and sharedWith metadataobject Metadata including planId ↳ planId string Plan ID
Delete a Microsoft Planner plan
Inputs and outputsParameter Type Required Description planIdstring Yes The ID of the plan to delete (e.g., "xqQg5FS2LkCe54tAMV_v2ZgADW2J") etagstring Yes The ETag value from the plan to delete (If-Match header)
Parameter Type Description successboolean Whether the plan was deleted successfully deletedboolean Confirmation of deletion metadataobject Additional metadata
List all buckets in a Microsoft Planner plan
Inputs and outputsParameter Type Required Description planIdstring Yes The ID of the plan (e.g., "xqQg5FS2LkCe54tAMV_v2ZgADW2J")
Parameter Type Description successboolean Whether buckets were retrieved successfully bucketsarray Array of bucket objects metadataobject Metadata including planId and count ↳ planId string Plan ID ↳ count number Number of buckets returned
Get details of a specific bucket
Inputs and outputsParameter Type Required Description bucketIdstring Yes The ID of the bucket to retrieve (e.g., "hsOf2dhOJkC6Fey9VjDg1JgAC9Rq")
Parameter Type Description successboolean Whether the bucket was retrieved successfully bucketobject The bucket object with all properties metadataobject Metadata including bucketId and planId ↳ bucketId string Bucket ID ↳ planId string Parent plan ID
Create a new bucket in a Microsoft Planner plan
Inputs and outputsParameter Type Required Description planIdstring Yes The ID of the plan where the bucket will be created (e.g., "xqQg5FS2LkCe54tAMV_v2ZgADW2J") namestring Yes The name of the bucket
Parameter Type Description successboolean Whether the bucket was created successfully bucketobject The created bucket object with all properties metadataobject Metadata including bucketId and planId ↳ bucketId string Created bucket ID ↳ planId string Parent plan ID
Update a bucket in Microsoft Planner
Inputs and outputsParameter Type Required Description bucketIdstring Yes The ID of the bucket to update (e.g., "hsOf2dhOJkC6Fey9VjDg1JgAC9Rq") namestring No The new name of the bucket etagstring Yes The ETag value from the bucket to update (If-Match header)
Parameter Type Description successboolean Whether the bucket was updated successfully bucketobject The updated bucket object with all properties metadataobject Metadata including bucketId and planId ↳ bucketId string Updated bucket ID ↳ planId string Parent plan ID
Delete a bucket from Microsoft Planner
Inputs and outputsParameter Type Required Description bucketIdstring Yes The ID of the bucket to delete (e.g., "hsOf2dhOJkC6Fey9VjDg1JgAC9Rq") etagstring Yes The ETag value from the bucket to delete (If-Match header)
Parameter Type Description successboolean Whether the bucket was deleted successfully deletedboolean Confirmation of deletion metadataobject Additional metadata
Get detailed information about a task including checklist and references
Inputs and outputsParameter Type Required Description taskIdstring Yes The ID of the task (e.g., "pbT5K2OVkkO1M7r5bfsJ6JgAGD5m")
Parameter Type Description successboolean Whether the task details were retrieved successfully taskDetailsobject The task details including description, checklist, and references etagstring The ETag value for this task details - use this for update operations metadataobject Metadata including taskId ↳ taskId string Task ID
Update task details including description, checklist items, and references in Microsoft Planner
Inputs and outputsParameter Type Required Description taskIdstring Yes The ID of the task (e.g., "pbT5K2OVkkO1M7r5bfsJ6JgAGD5m") etagstring Yes The ETag value from the task details to update (If-Match header) descriptionstring No The description of the task checklistobject No Checklist items as a JSON object referencesobject No References as a JSON object previewTypestring No Preview type: automatic, noPreview, checklist, description, or reference
Parameter Type Description successboolean Whether the task details were updated successfully taskDetailsobject The updated task details object with all properties metadataobject Metadata including taskId ↳ taskId string Task ID