365tips.be

Blogs about: Microsoft Teams, backgrounds, Intune, OneDrive, Exchange, Azure AD, Windows 10, Security, Tenant, Exchange, best-practice, tips and & tricks

How to prevent users from deleting others' tasks in Microsoft Planner

In education, people like to use Microsoft Planner to give students tasks. Through the default settings in Microsoft Office 365 it is possible to delete tasks created by the teacher.

Of course, you don't want that to happen. In this blog, I explain how to prevent participants or recipients of tasks from not having the ability to delete tasks created by someone else.

Open Powershell as administrator

1

Install Microsoft's PowerShell module Teams

Run the following line in PowerShell:

Install-Module MicrosoftTeams

Connecting to PowerShell

Import-Module MicrosoftTeams
Set-ExecutionPolicy -ExecutionPolicy Unrestricted
Connect-MicrosoftTeams
1

Enter a username and password of your Global Administrator or Microsoft Teams administrator.

Microsoft Teams retrieve with PowerShell?

Get-Team
1

Command presets from Teams

Get-Command -Module MicrosoftTeams

Read a comprehensive Microsoft Teams Powershell explanation -> here.

Download Planner Tenant Admin Powershell Commands

Download the Planner Tenant Admin Powershell file and extract this file into your chosen folder.

Type the following to run the PlannerTenantAdmin PowerShell script

Imports a module that contains all available cmdlets needed to customize Planner settings. Choose the appropriate folder when retrieving the module.

Set-ExecutionPolicy -ExecutionPolicy Unrestricted -Scope Process

Import-Module 'C:C:C:C:C'.
1

Blocking a user from deleting tasks they did not create

Use the 'Set-PlannerUserPolicy' to block a specific user from deleting tasks.

Set-PlannerUserPolicy -UserAadIdOrPrincipalName Christie@365tips.be -BlockDeleteTasksNotCreatedBySelf $true
1

Also read

These are the 10 success factors when setting up Microsoft Teams
How to activate weatherman mode or presenter mode in Microsoft Teams?
The best Microsoft Teams features: 27 tips to get started in 2022!
Tutorial: How to avoid creating new Microsoft Teams ?

About the author

Tagged: , ,
0 0 vote
Article review
Subscribe
Please let us know if there are
guest

1 Response
Oldest
Latest Most Voted
Inline feedbacks
See all comments
William
William
3 months ago

Great! Is there a way to control user task view only assigned tasks?

1
0
Would love to know your thoughts, please leave a comment.x
%d bloggers like this: