Table of Contents

Add-PnPPlannerRosterMember

Required Permissions

  • Microsoft Graph API: Tasks.ReadWrite (delegated) or Tasks.ReadWrite.All (application)

SYNOPSIS

Adds a user to an existing Microsoft Planner Roster

SYNTAX

Add-PnPPlannerRosterMember -Identity <PlannerRosterPipeBind> -User <String> [-Connection <PnPConnection>] 

DESCRIPTION

Adds a user to an existing Microsoft Planner Roster

The Microsoft Planner Roster APIs this cmdlet uses are only available through the beta endpoint of Microsoft Graph. Microsoft can change the permissions they require without notice, so verify the permissions above against Microsoft Learn if a call is unexpectedly denied.

EXAMPLES

EXAMPLE 1

Add-PnPPlannerRosterMember -Identity "6519868f-868f-6519-8f86-19658f861965" -User "johndoe@contoso.onmicrosoft.com"

Creates a new Microsoft Planner Roster

PARAMETERS

-Identity

Identity of the Microsoft Planner Roster to add the member to

Type: PlannerRosterPipeBind
Parameter Sets: (All)

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

-User

User principal name of the user to add as a member

Type: String
Parameter Sets: (All)

Required: True
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