Table of Contents

Update-PnPTodoList

SYNOPSIS

Required Permissions

  • Microsoft Graph API : Tasks.ReadWrite

Updates a new todo list.

SYNTAX

Update-PnPTodoList [[-Identity] <String>] [[-DisplayName] <String>] [-[User] <EntraIDUserPipeBind>]

DESCRIPTION

Use the cmdlet to update display name of a Todo list.

EXAMPLES

EXAMPLE 1

Update-PnPTodoList -Identity "AAMkAGU4MGE1OTRiLTUzMGEtNDRjZi05ZmVmLWFiMTkyYmQxODRjOQAuAAAAAACQV8RStyZCQJ4ydzjIK5HmAQD2LFcxdwYMRqbupn47nEYYAASYG0vWAAA=" -DisplayName "Travel items"

This will update a todo list's display name associated with your (logged-in user) account.

EXAMPLE 2

Update-PnPTodoList -Identity "AAMkAGU4MGE1OTRiLTUzMGEtNDRjZi05ZmVmLWFiMTkyYmQxODRjOQAuAAAAAACQV8RStyZCQJ4ydzjIK5HmAQD2LFcxdwYMRqbupn47nEYYAASYG0vWAAA=" -User john@doe.com -DisplayName "Travel Items"

This will update the display name of a todo list associated with John's account.

PARAMETERS

-Identity

Id of the Todo list.

Type: String
Parameter Sets: (All)

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

-DisplayName

Display name of the Todo list.

Type: String
Parameter Sets: (All)

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

-User

The UPN, Id or instance of an Entra ID user for which you would like to create the todo list.

Type: EntraIDUserPipeBind
Parameter Sets: (All)

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

-Connection

Optional connection to be used by the cmdlet. Retrieve the value for this parameter by either specifying -ReturnConnection on Connect-PnPOnline or by executing Get-PnPConnection.

Type: PnPConnection
Parameter Sets: (All)

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

Microsoft 365 Patterns and Practices