Table of Contents

Set-PnPPlannerUserPolicy

SYNOPSIS

Required Permissions

  • Azure: tasks.office.com

Allows a Microsoft Planner user policy to be set for a specific user.

SYNTAX

Set-PnPPlannerUserPolicy -Identity <string> [-BlockDeleteTasksNotCreatedBySelf <boolean>] [-Connection <PnPConnection>] 

DESCRIPTION

This cmdlet allows a Microsoft Planner user policy to be set for the provided user.

EXAMPLES

EXAMPLE 1

Set-PnPPlannerUserPolicy -Identity "johndoe@contoso.onmicrosoft.com"

Sets the Microsoft Planner user policy for the provided user.

PARAMETERS

-Identity

Azure Active Directory user identifier or user principal name of the user to create the Microsoft Planner policy for.

Type: String
Parameter Sets: (All)
Aliases:

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

-BlockDeleteTasksNotCreatedBySelf

Allows the user for which the policy gets created to be blocked from deleting tasks that have not been created by the user itself.

Type: Boolean
Parameter Sets: (All)
Aliases:

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)
Aliases:

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

Microsoft 365 Patterns and Practices