New-MgBetaPlannerTask

Create a new plannerTask.

Note

To view the v1.0 release of this cmdlet, view New-MgPlannerTask

Syntax

New-MgBetaPlannerTask
   [-ResponseHeadersVariable <String>]
   [-ActiveChecklistItemCount <Int32>]
   [-AdditionalProperties <Hashtable>]
   [-AppliedCategories <Hashtable>]
   [-ArchivalInfo <IMicrosoftGraphPlannerArchivalInfo>]
   [-AssignedToTaskBoardFormat <IMicrosoftGraphPlannerAssignedToTaskBoardTaskFormat>]
   [-AssigneePriority <String>]
   [-Assignments <Hashtable>]
   [-BucketId <String>]
   [-BucketTaskBoardFormat <IMicrosoftGraphPlannerBucketTaskBoardTaskFormat>]
   [-ChecklistItemCount <Int32>]
   [-CompletedBy <IMicrosoftGraphIdentitySet>]
   [-CompletedDateTime <DateTime>]
   [-ConversationThreadId <String>]
   [-CreatedBy <IMicrosoftGraphIdentitySet>]
   [-CreatedDateTime <DateTime>]
   [-CreationSource <IMicrosoftGraphPlannerTaskCreation>]
   [-Details <IMicrosoftGraphPlannerTaskDetails>]
   [-DueDateTime <DateTime>]
   [-HasDescription]
   [-Id <String>]
   [-IsArchived]
   [-IsOnMyDay]
   [-IsOnMyDayLastModifiedDate <DateTime>]
   [-LastModifiedBy <IMicrosoftGraphIdentitySet>]
   [-LastModifiedDateTime <DateTime>]
   [-OrderHint <String>]
   [-PercentComplete <Int32>]
   [-PlanId <String>]
   [-PreviewType <String>]
   [-Priority <Int32>]
   [-ProgressTaskBoardFormat <IMicrosoftGraphPlannerProgressTaskBoardTaskFormat>]
   [-Recurrence <IMicrosoftGraphPlannerTaskRecurrence>]
   [-ReferenceCount <Int32>]
   [-SpecifiedCompletionRequirements <String>]
   [-StartDateTime <DateTime>]
   [-Title <String>]
   [-Headers <IDictionary>]
   [-ProgressAction <ActionPreference>]
   [-WhatIf]
   [-Confirm]
   [<CommonParameters>]
New-MgBetaPlannerTask
   -BodyParameter <IMicrosoftGraphPlannerTask>
   [-ResponseHeadersVariable <String>]
   [-Headers <IDictionary>]
   [-ProgressAction <ActionPreference>]
   [-WhatIf]
   [-Confirm]
   [<CommonParameters>]

Description

Create a new plannerTask.

Permissions

Permission type Least privileged permissions Higher privileged permissions
Delegated (work or school account) Tasks.ReadWrite Group.ReadWrite.All
Delegated (personal Microsoft account) Not supported. Not supported.
Application Tasks.ReadWrite.All Not available.

Examples

Example 1: Code snippet

Import-Module Microsoft.Graph.Beta.Planner

$params = @{
	planId = "xqQg5FS2LkCp935s-FIFm2QAFkHM"
	bucketId = "hsOf2dhOJkqyYYZEtdzDe2QAIUCR"
	title = "Update client list"
	assignments = @{
		"fbab97d0-4932-4511-b675-204639209557" = @{
			"@odata.type" = "#microsoft.graph.plannerAssignment"
			orderHint = " !"
		}
	}
}

New-MgBetaPlannerTask -BodyParameter $params

This example shows how to use the New-MgBetaPlannerTask Cmdlet.

Parameters

-ActiveChecklistItemCount

The number of checklist items with value set to false, representing incomplete items.

Type:Int32
Position:Named
Default value:0
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-AdditionalProperties

Additional Parameters

Type:Hashtable
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-AppliedCategories

plannerAppliedCategories

Type:Hashtable
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-ArchivalInfo

plannerArchivalInfo To construct, see NOTES section for ARCHIVALINFO properties and create a hash table.

Type:IMicrosoftGraphPlannerArchivalInfo
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-AssignedToTaskBoardFormat

plannerAssignedToTaskBoardTaskFormat To construct, see NOTES section for ASSIGNEDTOTASKBOARDFORMAT properties and create a hash table.

Type:IMicrosoftGraphPlannerAssignedToTaskBoardTaskFormat
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-AssigneePriority

A hint that is used to order items of this type in a list view. For more information, see Using order hints in planner.

Type:String
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-Assignments

plannerAssignments

Type:Hashtable
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-BodyParameter

plannerTask To construct, see NOTES section for BODYPARAMETER properties and create a hash table.

Type:IMicrosoftGraphPlannerTask
Position:Named
Default value:None
Required:True
Accept pipeline input:True
Accept wildcard characters:False

-BucketId

Bucket ID to which the task belongs. The bucket needs to be in the same plan as the task. The value of the bucketId property is 28 characters long and case-sensitive. Format validation is done on the service.

Type:String
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-BucketTaskBoardFormat

plannerBucketTaskBoardTaskFormat To construct, see NOTES section for BUCKETTASKBOARDFORMAT properties and create a hash table.

Type:IMicrosoftGraphPlannerBucketTaskBoardTaskFormat
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-ChecklistItemCount

The number of checklist items that are present on the task.

Type:Int32
Position:Named
Default value:0
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-CompletedBy

identitySet To construct, see NOTES section for COMPLETEDBY properties and create a hash table.

Type:IMicrosoftGraphIdentitySet
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-CompletedDateTime

Read-only. The date and time at which the 'percentComplete' of the task is set to '100'. The Timestamp type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z

Type:DateTime
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-Confirm

Prompts you for confirmation before running the cmdlet.

Type:SwitchParameter
Aliases:cf
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-ConversationThreadId

The thread ID of the conversation on the task. This is the ID of the conversation thread object created in the group.

Type:String
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-CreatedBy

identitySet To construct, see NOTES section for CREATEDBY properties and create a hash table.

Type:IMicrosoftGraphIdentitySet
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-CreatedDateTime

Read-only. The date and time at which the task is created. The Timestamp type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z

Type:DateTime
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-CreationSource

plannerTaskCreation To construct, see NOTES section for CREATIONSOURCE properties and create a hash table.

Type:IMicrosoftGraphPlannerTaskCreation
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-Details

plannerTaskDetails To construct, see NOTES section for DETAILS properties and create a hash table.

Type:IMicrosoftGraphPlannerTaskDetails
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-DueDateTime

The date and time at which the task is due. The timestamp type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z

Type:DateTime
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-HasDescription

Read-only. This value is true if the details object of the task has a nonempty description. Otherwise,false.

Type:SwitchParameter
Position:Named
Default value:False
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-Headers

Optional headers that will be added to the request.

Type:IDictionary
Position:Named
Default value:None
Required:False
Accept pipeline input:True
Accept wildcard characters:False

-Id

The unique identifier for an entity. Read-only.

Type:String
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-IsArchived

Read-only. If set to true, the task is archived. An archived task is read-only.

Type:SwitchParameter
Position:Named
Default value:False
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-IsOnMyDay

Indicates whether to show this task in the MyDay view. If true, it shows the task.

Type:SwitchParameter
Position:Named
Default value:False
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-IsOnMyDayLastModifiedDate

Read-only. The date on which task is added to or removed from MyDay.

Type:DateTime
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-LastModifiedBy

identitySet To construct, see NOTES section for LASTMODIFIEDBY properties and create a hash table.

Type:IMicrosoftGraphIdentitySet
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-LastModifiedDateTime

.

Type:DateTime
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-OrderHint

The hint used to order items of this type in a list view. For more information, see Using order hints in plannern.

Type:String
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-PercentComplete

The percentage of task completion. When set to 100, the task is completed.

Type:Int32
Position:Named
Default value:0
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-PlanId

Plan ID to which the task belongs.

Type:String
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-PreviewType

plannerPreviewType

Type:String
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-Priority

The priority of the task. Valid values are between 0 and 10, inclusive. Larger values indicate lower priority. For example, 0 has the highest priority and 10 has the lowest priority. Currently, planner interprets values 0 and 1 as 'urgent', 2 and 3 and 4 as 'important', 5, 6, and 7 as 'medium', and 8, 9, and 10 as 'low'. Currently, planner sets the value 1 for 'urgent', 3 for 'important', 5 for 'medium', and 9 for 'low'.

Type:Int32
Position:Named
Default value:0
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-ProgressAction

{{ Fill ProgressAction Description }}

Type:ActionPreference
Aliases:proga
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-ProgressTaskBoardFormat

plannerProgressTaskBoardTaskFormat To construct, see NOTES section for PROGRESSTASKBOARDFORMAT properties and create a hash table.

Type:IMicrosoftGraphPlannerProgressTaskBoardTaskFormat
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-Recurrence

plannerTaskRecurrence To construct, see NOTES section for RECURRENCE properties and create a hash table.

Type:IMicrosoftGraphPlannerTaskRecurrence
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-ReferenceCount

Number of external references that exist on the task.

Type:Int32
Position:Named
Default value:0
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-ResponseHeadersVariable

Optional Response Headers Variable.

Type:String
Aliases:RHV
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-SpecifiedCompletionRequirements

plannerTaskCompletionRequirements

Type:String
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-StartDateTime

Date and time at which the task starts. The Timestamp type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z

Type:DateTime
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-Title

Title of the task.

Type:String
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-WhatIf

Shows what would happen if the cmdlet runs. The cmdlet is not run.

Type:SwitchParameter
Aliases:wi
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

Inputs

Microsoft.Graph.Beta.PowerShell.Models.IMicrosoftGraphPlannerTask

System.Collections.IDictionary

Outputs

Microsoft.Graph.Beta.PowerShell.Models.IMicrosoftGraphPlannerTask

Notes

COMPLEX PARAMETER PROPERTIES

To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables.

ARCHIVALINFO <IMicrosoftGraphPlannerArchivalInfo>: plannerArchivalInfo

  • [(Any) <Object>]: This indicates any property can be added to this object.
  • [Justification <String>]: Read-only. Reason why the entity was archived or unarchived.
  • [StatusChangedBy <IMicrosoftGraphIdentitySet>]: identitySet
    • [(Any) <Object>]: This indicates any property can be added to this object.
    • [Application <IMicrosoftGraphIdentity>]: identity
      • [(Any) <Object>]: This indicates any property can be added to this object.
      • [DisplayName <String>]: The display name of the identity. For drive items, the display name might not always be available or up to date. For example, if a user changes their display name the API might show the new value in a future response, but the items associated with the user don't show up as changed when using delta.
      • [Id <String>]: Unique identifier for the identity or actor. For example, in the access reviews decisions API, this property might record the id of the principal, that is, the group, user, or application that's subject to review.
    • [Device <IMicrosoftGraphIdentity>]: identity
    • [User <IMicrosoftGraphIdentity>]: identity
  • [StatusChangedDateTime <DateTime?>]: Read-only. Date and time at which the entity's archive status changed.

ASSIGNEDTOTASKBOARDFORMAT <IMicrosoftGraphPlannerAssignedToTaskBoardTaskFormat>: plannerAssignedToTaskBoardTaskFormat

  • [(Any) <Object>]: This indicates any property can be added to this object.
  • [Id <String>]: The unique identifier for an entity. Read-only.
  • [OrderHintsByAssignee <IMicrosoftGraphPlannerOrderHintsByAssignee>]: plannerOrderHintsByAssignee
    • [(Any) <Object>]: This indicates any property can be added to this object.
  • [UnassignedOrderHint <String>]: Hint value used to order the task on the AssignedTo view of the Task Board when the task isn't assigned to anyone, or if the orderHintsByAssignee dictionary doesn't provide an order hint for the user the task is assigned to. The format is defined as outlined here.

BODYPARAMETER <IMicrosoftGraphPlannerTask>: plannerTask

  • [(Any) <Object>]: This indicates any property can be added to this object.
  • [Id <String>]: The unique identifier for an entity. Read-only.
  • [ActiveChecklistItemCount <Int32?>]: The number of checklist items with value set to false, representing incomplete items.
  • [AppliedCategories <IMicrosoftGraphPlannerAppliedCategories>]: plannerAppliedCategories
    • [(Any) <Object>]: This indicates any property can be added to this object.
  • [ArchivalInfo <IMicrosoftGraphPlannerArchivalInfo>]: plannerArchivalInfo
    • [(Any) <Object>]: This indicates any property can be added to this object.
    • [Justification <String>]: Read-only. Reason why the entity was archived or unarchived.
    • [StatusChangedBy <IMicrosoftGraphIdentitySet>]: identitySet
      • [(Any) <Object>]: This indicates any property can be added to this object.
      • [Application <IMicrosoftGraphIdentity>]: identity
        • [(Any) <Object>]: This indicates any property can be added to this object.
        • [DisplayName <String>]: The display name of the identity. For drive items, the display name might not always be available or up to date. For example, if a user changes their display name the API might show the new value in a future response, but the items associated with the user don't show up as changed when using delta.
        • [Id <String>]: Unique identifier for the identity or actor. For example, in the access reviews decisions API, this property might record the id of the principal, that is, the group, user, or application that's subject to review.
      • [Device <IMicrosoftGraphIdentity>]: identity
      • [User <IMicrosoftGraphIdentity>]: identity
    • [StatusChangedDateTime <DateTime?>]: Read-only. Date and time at which the entity's archive status changed.
  • [AssignedToTaskBoardFormat <IMicrosoftGraphPlannerAssignedToTaskBoardTaskFormat>]: plannerAssignedToTaskBoardTaskFormat
    • [(Any) <Object>]: This indicates any property can be added to this object.
    • [Id <String>]: The unique identifier for an entity. Read-only.
    • [OrderHintsByAssignee <IMicrosoftGraphPlannerOrderHintsByAssignee>]: plannerOrderHintsByAssignee
      • [(Any) <Object>]: This indicates any property can be added to this object.
    • [UnassignedOrderHint <String>]: Hint value used to order the task on the AssignedTo view of the Task Board when the task isn't assigned to anyone, or if the orderHintsByAssignee dictionary doesn't provide an order hint for the user the task is assigned to. The format is defined as outlined here.
  • [AssigneePriority <String>]: A hint that is used to order items of this type in a list view. For more information, see Using order hints in planner.
  • [Assignments <IMicrosoftGraphPlannerAssignments>]: plannerAssignments
    • [(Any) <Object>]: This indicates any property can be added to this object.
  • [BucketId <String>]: Bucket ID to which the task belongs. The bucket needs to be in the same plan as the task. The value of the bucketId property is 28 characters long and case-sensitive. Format validation is done on the service.
  • [BucketTaskBoardFormat <IMicrosoftGraphPlannerBucketTaskBoardTaskFormat>]: plannerBucketTaskBoardTaskFormat
    • [(Any) <Object>]: This indicates any property can be added to this object.
    • [Id <String>]: The unique identifier for an entity. Read-only.
    • [OrderHint <String>]: Hint used to order tasks in the bucket view of the task board. For details about the supported format, see Using order hints in Planner.
  • [ChecklistItemCount <Int32?>]: The number of checklist items that are present on the task.
  • [CompletedBy <IMicrosoftGraphIdentitySet>]: identitySet
  • [CompletedDateTime <DateTime?>]: Read-only. The date and time at which the 'percentComplete' of the task is set to '100'. The Timestamp type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z
  • [ConversationThreadId <String>]: The thread ID of the conversation on the task. This is the ID of the conversation thread object created in the group.
  • [CreatedBy <IMicrosoftGraphIdentitySet>]: identitySet
  • [CreatedDateTime <DateTime?>]: Read-only. The date and time at which the task is created. The Timestamp type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z
  • [CreationSource <IMicrosoftGraphPlannerTaskCreation>]: plannerTaskCreation
    • [(Any) <Object>]: This indicates any property can be added to this object.
    • [CreationSourceKind <String>]: plannerCreationSourceKind
    • [TeamsPublicationInfo <IMicrosoftGraphPlannerTeamsPublicationInfo>]: plannerTeamsPublicationInfo
      • [(Any) <Object>]: This indicates any property can be added to this object.
      • [CreationSourceKind <String>]: plannerCreationSourceKind
      • [TeamsPublicationInfo <IMicrosoftGraphPlannerTeamsPublicationInfo>]: plannerTeamsPublicationInfo
      • [LastModifiedDateTime <DateTime?>]: The date and time when this task was last modified by the publication process. Read-only.
      • [PublicationId <String>]: The identifier of the publication. Read-only.
      • [PublishedToPlanId <String>]: The identifier of the plannerPlan this task was originally placed in. Read-only.
      • [PublishingTeamId <String>]: The identifier of the team that initiated the publication process. Read-only.
      • [PublishingTeamName <String>]: The display name of the team that initiated the publication process. This display name is for reference only, and might not represent the most up-to-date name of the team. Read-only.
  • [Details <IMicrosoftGraphPlannerTaskDetails>]: plannerTaskDetails
    • [(Any) <Object>]: This indicates any property can be added to this object.
    • [Id <String>]: The unique identifier for an entity. Read-only.
    • [ApprovalAttachment <IMicrosoftGraphPlannerBaseApprovalAttachment>]: plannerBaseApprovalAttachment
      • [(Any) <Object>]: This indicates any property can be added to this object.
      • [Status <String>]: plannerApprovalStatus
    • [Checklist <IMicrosoftGraphPlannerChecklistItems>]: plannerChecklistItems
      • [(Any) <Object>]: This indicates any property can be added to this object.
    • [CompletionRequirements <IMicrosoftGraphPlannerTaskCompletionRequirementDetails>]: plannerTaskCompletionRequirementDetails
      • [(Any) <Object>]: This indicates any property can be added to this object.
      • [ApprovalRequirement <IMicrosoftGraphPlannerApprovalRequirement>]: plannerApprovalRequirement
        • [(Any) <Object>]: This indicates any property can be added to this object.
        • [IsApprovalRequired <Boolean?>]: Specifies whether approval is required to complete the plannerTask. When this property is set to true, the task can only be marked complete if an approval is created for the task and approved.
      • [ChecklistRequirement <IMicrosoftGraphPlannerChecklistRequirement>]: plannerChecklistRequirement
        • [(Any) <Object>]: This indicates any property can be added to this object.
        • [RequiredChecklistItemIds <String- []>]: A collection of required plannerChecklistItems identifiers to complete the plannerTask.
      • [FormsRequirement <IMicrosoftGraphPlannerFormsRequirement>]: plannerFormsRequirement
        • [(Any) <Object>]: This indicates any property can be added to this object.
        • [RequiredForms <String- []>]: Read-only. A collection of keys from the plannerFormsDictionary that identify the plannerFormReference objects that specify the requirements to complete the plannerTask.
    • [Description <String>]: Description of the task.
    • [Forms <IMicrosoftGraphPlannerFormsDictionary>]: plannerFormsDictionary
      • [(Any) <Object>]: This indicates any property can be added to this object.
    • [Notes <IMicrosoftGraphItemBody>]: itemBody
      • [(Any) <Object>]: This indicates any property can be added to this object.
      • [Content <String>]: The content of the item.
      • [ContentType <String>]: bodyType
    • [PreviewType <String>]: plannerPreviewType
    • [References <IMicrosoftGraphPlannerExternalReferences>]: plannerExternalReferences
      • [(Any) <Object>]: This indicates any property can be added to this object.
  • [DueDateTime <DateTime?>]: The date and time at which the task is due. The timestamp type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z
  • [HasDescription <Boolean?>]: Read-only. This value is true if the details object of the task has a nonempty description. Otherwise,false.
  • [IsArchived <Boolean?>]: Read-only. If set to true, the task is archived. An archived task is read-only.
  • [IsOnMyDay <Boolean?>]: Indicates whether to show this task in the MyDay view. If true, it shows the task.
  • [IsOnMyDayLastModifiedDate <DateTime?>]: Read-only. The date on which task is added to or removed from MyDay.
  • [LastModifiedBy <IMicrosoftGraphIdentitySet>]: identitySet
  • [LastModifiedDateTime <DateTime?>]:
  • [OrderHint <String>]: The hint used to order items of this type in a list view. For more information, see Using order hints in plannern.
  • [PercentComplete <Int32?>]: The percentage of task completion. When set to 100, the task is completed.
  • [PlanId <String>]: Plan ID to which the task belongs.
  • [PreviewType <String>]: plannerPreviewType
  • [Priority <Int32?>]: The priority of the task. Valid values are between 0 and 10, inclusive. Larger values indicate lower priority. For example, 0 has the highest priority and 10 has the lowest priority. Currently, planner interprets values 0 and 1 as 'urgent', 2 and 3 and 4 as 'important', 5, 6, and 7 as 'medium', and 8, 9, and 10 as 'low'. Currently, planner sets the value 1 for 'urgent', 3 for 'important', 5 for 'medium', and 9 for 'low'.
  • [ProgressTaskBoardFormat <IMicrosoftGraphPlannerProgressTaskBoardTaskFormat>]: plannerProgressTaskBoardTaskFormat
    • [(Any) <Object>]: This indicates any property can be added to this object.
    • [Id <String>]: The unique identifier for an entity. Read-only.
    • [OrderHint <String>]: Hint value used to order the task on the progress view of the task board. For details about the supported format, see Using order hints in Planner.
  • [Recurrence <IMicrosoftGraphPlannerTaskRecurrence>]: plannerTaskRecurrence
    • [(Any) <Object>]: This indicates any property can be added to this object.
    • [NextInSeriesTaskId <String>]: The taskId of the next task in this series. This value is assigned at the time the next task in the series is created, and is null prior to that time.
    • [OccurrenceId <Int32?>]: The 1-based index of this task within the recurrence series. The first task in a series has the value 1, the next task in the series has the value 2, and so on.
    • [PreviousInSeriesTaskId <String>]: The taskId of the previous task in this series. null for the first task in a series since it has no predecessor. All subsequent tasks in the series have a value that corresponds to their predecessors.
    • [RecurrenceStartDateTime <DateTime?>]: The date and time when this recurrence series begin. For the first task in a series (occurrenceId = 1) this value is copied from schedule.patternStartDateTime. For subsequent tasks in the series (occurrenceId >= 2) this value is copied from the previous task and never changes; it preserves the start date of the recurring series. The Timestamp type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z.
    • [Schedule <IMicrosoftGraphPlannerRecurrenceSchedule>]: plannerRecurrenceSchedule
      • [(Any) <Object>]: This indicates any property can be added to this object.
      • [NextOccurrenceDateTime <DateTime?>]: The next date for this schedule. When a new task is instantiated to continue the recurrence series, this date is used for the dueDateTime of the new plannerTask. Auto-generated by the service. The Timestamp type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. Read-only.
      • [Pattern <IMicrosoftGraphRecurrencePattern>]: recurrencePattern
        • [(Any) <Object>]: This indicates any property can be added to this object.
        • [DayOfMonth <Int32?>]: The day of the month on which the event occurs. Required if type is absoluteMonthly or absoluteYearly.
        • [DaysOfWeek <String- []>]: A collection of the days of the week on which the event occurs. The possible values are: sunday, monday, tuesday, wednesday, thursday, friday, saturday. If type is relativeMonthly or relativeYearly, and daysOfWeek specifies more than one day, the event falls on the first day that satisfies the pattern. Required if type is weekly, relativeMonthly, or relativeYearly.
        • [FirstDayOfWeek <String>]: dayOfWeek
        • [Index <String>]: weekIndex
        • [Interval <Int32?>]: The number of units between occurrences, where units can be in days, weeks, months, or years, depending on the type. Required.
        • [Month <Int32?>]: The month in which the event occurs. This is a number from 1 to 12.
        • [Type <String>]: recurrencePatternType
      • [PatternStartDateTime <DateTime?>]: The start date for the recurrence pattern. The Timestamp type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. Required.
    • [SeriesId <String>]: The recurrence series this task belongs to. A GUID-based value that serves as the unique identifier for a series.
  • [ReferenceCount <Int32?>]: Number of external references that exist on the task.
  • [SpecifiedCompletionRequirements <String>]: plannerTaskCompletionRequirements
  • [StartDateTime <DateTime?>]: Date and time at which the task starts. The Timestamp type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z
  • [Title <String>]: Title of the task.

BUCKETTASKBOARDFORMAT <IMicrosoftGraphPlannerBucketTaskBoardTaskFormat>: plannerBucketTaskBoardTaskFormat

  • [(Any) <Object>]: This indicates any property can be added to this object.
  • [Id <String>]: The unique identifier for an entity. Read-only.
  • [OrderHint <String>]: Hint used to order tasks in the bucket view of the task board. For details about the supported format, see Using order hints in Planner.

COMPLETEDBY <IMicrosoftGraphIdentitySet>: identitySet

  • [(Any) <Object>]: This indicates any property can be added to this object.
  • [Application <IMicrosoftGraphIdentity>]: identity
    • [(Any) <Object>]: This indicates any property can be added to this object.
    • [DisplayName <String>]: The display name of the identity. For drive items, the display name might not always be available or up to date. For example, if a user changes their display name the API might show the new value in a future response, but the items associated with the user don't show up as changed when using delta.
    • [Id <String>]: Unique identifier for the identity or actor. For example, in the access reviews decisions API, this property might record the id of the principal, that is, the group, user, or application that's subject to review.
  • [Device <IMicrosoftGraphIdentity>]: identity
  • [User <IMicrosoftGraphIdentity>]: identity

CREATEDBY <IMicrosoftGraphIdentitySet>: identitySet

  • [(Any) <Object>]: This indicates any property can be added to this object.
  • [Application <IMicrosoftGraphIdentity>]: identity
    • [(Any) <Object>]: This indicates any property can be added to this object.
    • [DisplayName <String>]: The display name of the identity. For drive items, the display name might not always be available or up to date. For example, if a user changes their display name the API might show the new value in a future response, but the items associated with the user don't show up as changed when using delta.
    • [Id <String>]: Unique identifier for the identity or actor. For example, in the access reviews decisions API, this property might record the id of the principal, that is, the group, user, or application that's subject to review.
  • [Device <IMicrosoftGraphIdentity>]: identity
  • [User <IMicrosoftGraphIdentity>]: identity

CREATIONSOURCE <IMicrosoftGraphPlannerTaskCreation>: plannerTaskCreation

  • [(Any) <Object>]: This indicates any property can be added to this object.
  • [CreationSourceKind <String>]: plannerCreationSourceKind
  • [TeamsPublicationInfo <IMicrosoftGraphPlannerTeamsPublicationInfo>]: plannerTeamsPublicationInfo
    • [(Any) <Object>]: This indicates any property can be added to this object.
    • [CreationSourceKind <String>]: plannerCreationSourceKind
    • [TeamsPublicationInfo <IMicrosoftGraphPlannerTeamsPublicationInfo>]: plannerTeamsPublicationInfo
    • [LastModifiedDateTime <DateTime?>]: The date and time when this task was last modified by the publication process. Read-only.
    • [PublicationId <String>]: The identifier of the publication. Read-only.
    • [PublishedToPlanId <String>]: The identifier of the plannerPlan this task was originally placed in. Read-only.
    • [PublishingTeamId <String>]: The identifier of the team that initiated the publication process. Read-only.
    • [PublishingTeamName <String>]: The display name of the team that initiated the publication process. This display name is for reference only, and might not represent the most up-to-date name of the team. Read-only.

DETAILS <IMicrosoftGraphPlannerTaskDetails>: plannerTaskDetails

  • [(Any) <Object>]: This indicates any property can be added to this object.
  • [Id <String>]: The unique identifier for an entity. Read-only.
  • [ApprovalAttachment <IMicrosoftGraphPlannerBaseApprovalAttachment>]: plannerBaseApprovalAttachment
    • [(Any) <Object>]: This indicates any property can be added to this object.
    • [Status <String>]: plannerApprovalStatus
  • [Checklist <IMicrosoftGraphPlannerChecklistItems>]: plannerChecklistItems
    • [(Any) <Object>]: This indicates any property can be added to this object.
  • [CompletionRequirements <IMicrosoftGraphPlannerTaskCompletionRequirementDetails>]: plannerTaskCompletionRequirementDetails
    • [(Any) <Object>]: This indicates any property can be added to this object.
    • [ApprovalRequirement <IMicrosoftGraphPlannerApprovalRequirement>]: plannerApprovalRequirement
      • [(Any) <Object>]: This indicates any property can be added to this object.
      • [IsApprovalRequired <Boolean?>]: Specifies whether approval is required to complete the plannerTask. When this property is set to true, the task can only be marked complete if an approval is created for the task and approved.
    • [ChecklistRequirement <IMicrosoftGraphPlannerChecklistRequirement>]: plannerChecklistRequirement
      • [(Any) <Object>]: This indicates any property can be added to this object.
      • [RequiredChecklistItemIds <String- []>]: A collection of required plannerChecklistItems identifiers to complete the plannerTask.
    • [FormsRequirement <IMicrosoftGraphPlannerFormsRequirement>]: plannerFormsRequirement
      • [(Any) <Object>]: This indicates any property can be added to this object.
      • [RequiredForms <String- []>]: Read-only. A collection of keys from the plannerFormsDictionary that identify the plannerFormReference objects that specify the requirements to complete the plannerTask.
  • [Description <String>]: Description of the task.
  • [Forms <IMicrosoftGraphPlannerFormsDictionary>]: plannerFormsDictionary
    • [(Any) <Object>]: This indicates any property can be added to this object.
  • [Notes <IMicrosoftGraphItemBody>]: itemBody
    • [(Any) <Object>]: This indicates any property can be added to this object.
    • [Content <String>]: The content of the item.
    • [ContentType <String>]: bodyType
  • [PreviewType <String>]: plannerPreviewType
  • [References <IMicrosoftGraphPlannerExternalReferences>]: plannerExternalReferences
    • [(Any) <Object>]: This indicates any property can be added to this object.

LASTMODIFIEDBY <IMicrosoftGraphIdentitySet>: identitySet

  • [(Any) <Object>]: This indicates any property can be added to this object.
  • [Application <IMicrosoftGraphIdentity>]: identity
    • [(Any) <Object>]: This indicates any property can be added to this object.
    • [DisplayName <String>]: The display name of the identity. For drive items, the display name might not always be available or up to date. For example, if a user changes their display name the API might show the new value in a future response, but the items associated with the user don't show up as changed when using delta.
    • [Id <String>]: Unique identifier for the identity or actor. For example, in the access reviews decisions API, this property might record the id of the principal, that is, the group, user, or application that's subject to review.
  • [Device <IMicrosoftGraphIdentity>]: identity
  • [User <IMicrosoftGraphIdentity>]: identity

PROGRESSTASKBOARDFORMAT <IMicrosoftGraphPlannerProgressTaskBoardTaskFormat>: plannerProgressTaskBoardTaskFormat

  • [(Any) <Object>]: This indicates any property can be added to this object.
  • [Id <String>]: The unique identifier for an entity. Read-only.
  • [OrderHint <String>]: Hint value used to order the task on the progress view of the task board. For details about the supported format, see Using order hints in Planner.

RECURRENCE <IMicrosoftGraphPlannerTaskRecurrence>: plannerTaskRecurrence

  • [(Any) <Object>]: This indicates any property can be added to this object.
  • [NextInSeriesTaskId <String>]: The taskId of the next task in this series. This value is assigned at the time the next task in the series is created, and is null prior to that time.
  • [OccurrenceId <Int32?>]: The 1-based index of this task within the recurrence series. The first task in a series has the value 1, the next task in the series has the value 2, and so on.
  • [PreviousInSeriesTaskId <String>]: The taskId of the previous task in this series. null for the first task in a series since it has no predecessor. All subsequent tasks in the series have a value that corresponds to their predecessors.
  • [RecurrenceStartDateTime <DateTime?>]: The date and time when this recurrence series begin. For the first task in a series (occurrenceId = 1) this value is copied from schedule.patternStartDateTime. For subsequent tasks in the series (occurrenceId >= 2) this value is copied from the previous task and never changes; it preserves the start date of the recurring series. The Timestamp type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z.
  • [Schedule <IMicrosoftGraphPlannerRecurrenceSchedule>]: plannerRecurrenceSchedule
    • [(Any) <Object>]: This indicates any property can be added to this object.
    • [NextOccurrenceDateTime <DateTime?>]: The next date for this schedule. When a new task is instantiated to continue the recurrence series, this date is used for the dueDateTime of the new plannerTask. Auto-generated by the service. The Timestamp type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. Read-only.
    • [Pattern <IMicrosoftGraphRecurrencePattern>]: recurrencePattern
      • [(Any) <Object>]: This indicates any property can be added to this object.
      • [DayOfMonth <Int32?>]: The day of the month on which the event occurs. Required if type is absoluteMonthly or absoluteYearly.
      • [DaysOfWeek <String- []>]: A collection of the days of the week on which the event occurs. The possible values are: sunday, monday, tuesday, wednesday, thursday, friday, saturday. If type is relativeMonthly or relativeYearly, and daysOfWeek specifies more than one day, the event falls on the first day that satisfies the pattern. Required if type is weekly, relativeMonthly, or relativeYearly.
      • [FirstDayOfWeek <String>]: dayOfWeek
      • [Index <String>]: weekIndex
      • [Interval <Int32?>]: The number of units between occurrences, where units can be in days, weeks, months, or years, depending on the type. Required.
      • [Month <Int32?>]: The month in which the event occurs. This is a number from 1 to 12.
      • [Type <String>]: recurrencePatternType
    • [PatternStartDateTime <DateTime?>]: The start date for the recurrence pattern. The Timestamp type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. Required.
  • [SeriesId <String>]: The recurrence series this task belongs to. A GUID-based value that serves as the unique identifier for a series.

https://learn.microsoft.com/powershell/module/microsoft.graph.beta.planner/new-mgbetaplannertask

https://learn.microsoft.com/graph/api/planner-post-tasks?view=graph-rest-beta