Forum Discussion
ElizabethV8
Jul 28, 2021Copper Contributor
Teams channel thread management
We have a thread that we use for the team to check in and out when they're stepping away, going to lunch or leaving for the day (or returning). Is there a way for us to delete the content of the thread from a point forward, or is there a way to delete a full thread without having to delete each comment individually?
- Hi ElizabethV8
You can only delete messages in a thread if the message senders, or the owner of the team, have permissions to do so within the messaging policy, if the messaging policy does not allow this then it cannot be deleted. If the message sender has, they can delete their own messages. If the team owner has they can delete on behalf of other users.
https://docs.microsoft.com/en-us/microsoftteams/messaging-policies-in-teams#:~:text=Create%20a%20custom%20messaging%20policy%201%20In%20the,that%20you%20want.%205%20Click%20Save.%20See%20More.
In addition, you can use retention policies to delete chats and conversations older than x date, so for example, delete everything older than 30 days.
https://docs.microsoft.com/en-us/microsoft-365/compliance/create-retention-policies?view=o365-worldwide#retention-policy-for-teams-locations
You would need the required licencing for this which you may or may not have. In addition, applying the retention policy would apply that to all chats in the Team not just that particular one.
However, what isn't possible is a functionality to say, I want to delete everything before this particular post, in the teams client. However, as outlined there is a few options. In addition, you may want to consider doing this in a few other ways. The Shifts App in Teams has a time clock where you can clock in and out of your shift. You could also potentially create a Power App which shows if someone is in or out the office. You could do it with a list like a time sheet.
Hope I have given you a few options and have answered your question
Best, Chris
4 Replies
Sort By
- Hi ElizabethV8
You can only delete messages in a thread if the message senders, or the owner of the team, have permissions to do so within the messaging policy, if the messaging policy does not allow this then it cannot be deleted. If the message sender has, they can delete their own messages. If the team owner has they can delete on behalf of other users.
https://docs.microsoft.com/en-us/microsoftteams/messaging-policies-in-teams#:~:text=Create%20a%20custom%20messaging%20policy%201%20In%20the,that%20you%20want.%205%20Click%20Save.%20See%20More.
In addition, you can use retention policies to delete chats and conversations older than x date, so for example, delete everything older than 30 days.
https://docs.microsoft.com/en-us/microsoft-365/compliance/create-retention-policies?view=o365-worldwide#retention-policy-for-teams-locations
You would need the required licencing for this which you may or may not have. In addition, applying the retention policy would apply that to all chats in the Team not just that particular one.
However, what isn't possible is a functionality to say, I want to delete everything before this particular post, in the teams client. However, as outlined there is a few options. In addition, you may want to consider doing this in a few other ways. The Shifts App in Teams has a time clock where you can clock in and out of your shift. You could also potentially create a Power App which shows if someone is in or out the office. You could do it with a list like a time sheet.
Hope I have given you a few options and have answered your question
Best, Chris- atrain204Steel Contributor
ChrisHoardMVP +1 for the Shifts app in this particular use-case 🙂
Using a channel thread is... a choice, but not exactly what they were designed for.
- Hello, you can use what's called Teams retention policies and you can start by reading on the support pages about it https://support.microsoft.com/en-us/office/teams-messages-about-retention-policies-c151fa2f-1558-4cf9-8e51-854e925b483b?ui=en-US&rs=en-US&ad=US
And to the MS Docs.
https://docs.microsoft.com/en-us/microsoft-365/compliance/retention-policies-teams?view=o365-worldwide
https://docs.microsoft.com/en-us/microsoftteams/retention-policies- ElizabethV8Copper ContributorI had tried that, and it didn't seem to remove anything.