SOLVED

Teams channel thread management

%3CLINGO-SUB%20id%3D%22lingo-sub-2594420%22%20slang%3D%22en-US%22%3ETeams%20channel%20thread%20management%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2594420%22%20slang%3D%22en-US%22%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22ElizabethV8_0-1627501683504.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F299089iA77448C38FBE2AF2%2Fimage-size%2Fmedium%3Fv%3Dv2%26amp%3Bpx%3D400%22%20role%3D%22button%22%20title%3D%22ElizabethV8_0-1627501683504.png%22%20alt%3D%22ElizabethV8_0-1627501683504.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%3CP%3EWe%20have%20a%20thread%20that%20we%20use%20for%20the%20team%20to%20check%20in%20and%20out%20when%20they're%20stepping%20away%2C%20going%20to%20lunch%20or%20leaving%20for%20the%20day%20(or%20returning).%20Is%20there%20a%20way%20for%20us%20to%20delete%20the%20content%20of%20the%20thread%20from%20a%20point%20forward%2C%20or%20is%20there%20a%20way%20to%20delete%20a%20full%20thread%20without%20having%20to%20delete%20each%20comment%20individually%3F%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-2594420%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EConversations%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2594520%22%20slang%3D%22en-US%22%3ERe%3A%20Teams%20channel%20thread%20management%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2594520%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F169605%22%20target%3D%22_blank%22%3E%40Christopher%20Hoard%3C%2FA%3E%26nbsp%3B%2B1%20for%20the%20Shifts%20app%20in%20this%20particular%20use-case%20%3A)%3C%2Fimg%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EUsing%20a%20channel%20thread%20is...%20a%20choice%2C%20but%20not%20exactly%20what%20they%20were%20designed%20for.%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2594472%22%20slang%3D%22en-US%22%3ERe%3A%20Teams%20channel%20thread%20management%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2594472%22%20slang%3D%22en-US%22%3EHi%20%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F613307%22%20target%3D%22_blank%22%3E%40ElizabethV8%3C%2FA%3E%3CBR%20%2F%3E%3CBR%20%2F%3EYou%20can%20only%20delete%20messages%20in%20a%20thread%20if%20the%20message%20senders%2C%20or%20the%20owner%20of%20the%20team%2C%20have%20permissions%20to%20do%20so%20within%20the%20messaging%20policy%2C%20if%20the%20messaging%20policy%20does%20not%20allow%20this%20then%20it%20cannot%20be%20deleted.%20If%20the%20message%20sender%20has%2C%20they%20can%20delete%20their%20own%20messages.%20If%20the%20team%20owner%20has%20they%20can%20delete%20on%20behalf%20of%20other%20users.%20%3CBR%20%2F%3E%3CBR%20%2F%3E%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fmicrosoftteams%2Fmessaging-policies-in-teams%23%3A~%3Atext%3DCreate%2520a%2520custom%2520messaging%2520policy%25201%2520In%2520the%2Cthat%2520you%2520want.%25205%2520Click%2520Save.%2520See%2520More%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%22%3Ehttps%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fmicrosoftteams%2Fmessaging-policies-in-teams%23%3A~%3Atext%3DCreate%2520a%2520custom%2520messaging%2520policy%25201%2520In%2520the%2Cthat%2520you%2520want.%25205%2520Click%2520Save.%2520See%2520More%3C%2FA%3E.%3CBR%20%2F%3E%3CBR%20%2F%3EIn%20addition%2C%20you%20can%20use%20retention%20policies%20to%20delete%20chats%20and%20conversations%20older%20than%20x%20date%2C%20so%20for%20example%2C%20delete%20everything%20older%20than%2030%20days.%20%3CBR%20%2F%3E%3CBR%20%2F%3E%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fmicrosoft-365%2Fcompliance%2Fcreate-retention-policies%3Fview%3Do365-worldwide%23retention-policy-for-teams-locations%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%22%3Ehttps%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fmicrosoft-365%2Fcompliance%2Fcreate-retention-policies%3Fview%3Do365-worldwide%23retention-policy-for-teams-locations%3C%2FA%3E%3CBR%20%2F%3E%3CBR%20%2F%3EYou%20would%20need%20the%20required%20licencing%20for%20this%20which%20you%20may%20or%20may%20not%20have.%20In%20addition%2C%20applying%20the%20retention%20policy%20would%20apply%20that%20to%20all%20chats%20in%20the%20Team%20not%20just%20that%20particular%20one.%20%3CBR%20%2F%3E%3CBR%20%2F%3EHowever%2C%20what%20isn't%20possible%20is%20a%20functionality%20to%20say%2C%20I%20want%20to%20delete%20everything%20before%20this%20particular%20post%2C%20in%20the%20teams%20client.%20However%2C%20as%20outlined%20there%20is%20a%20few%20options.%20In%20addition%2C%20you%20may%20want%20to%20consider%20doing%20this%20in%20a%20few%20other%20ways.%20The%20Shifts%20App%20in%20Teams%20has%20a%20time%20clock%20where%20you%20can%20clock%20in%20and%20out%20of%20your%20shift.%20You%20could%20also%20potentially%20create%20a%20Power%20App%20which%20shows%20if%20someone%20is%20in%20or%20out%20the%20office.%20You%20could%20do%20it%20with%20a%20list%20like%20a%20time%20sheet.%3CBR%20%2F%3E%3CBR%20%2F%3EHope%20I%20have%20given%20you%20a%20few%20options%20and%20have%20answered%20your%20question%3CBR%20%2F%3E%3CBR%20%2F%3EBest%2C%20Chris%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2594465%22%20slang%3D%22en-US%22%3ERe%3A%20Teams%20channel%20thread%20management%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2594465%22%20slang%3D%22en-US%22%3EI%20had%20tried%20that%2C%20and%20it%20didn't%20seem%20to%20remove%20anything.%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2594443%22%20slang%3D%22en-US%22%3ERe%3A%20Teams%20channel%20thread%20management%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2594443%22%20slang%3D%22en-US%22%3EHello%2C%20you%20can%20use%20what's%20called%20Teams%20retention%20policies%20and%20you%20can%20start%20by%20reading%20on%20the%20support%20pages%20about%20it%20%3CA%20href%3D%22https%3A%2F%2Fsupport.microsoft.com%2Fen-us%2Foffice%2Fteams-messages-about-retention-policies-c151fa2f-1558-4cf9-8e51-854e925b483b%3Fui%3Den-US%26amp%3Brs%3Den-US%26amp%3Bad%3DUS%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%22%3Ehttps%3A%2F%2Fsupport.microsoft.com%2Fen-us%2Foffice%2Fteams-messages-about-retention-policies-c151fa2f-1558-4cf9-8e51-854e925b483b%3Fui%3Den-US%26amp%3Brs%3Den-US%26amp%3Bad%3DUS%3C%2FA%3E%3CBR%20%2F%3E%3CBR%20%2F%3EAnd%20to%20the%20MS%20Docs.%3CBR%20%2F%3E%3CBR%20%2F%3E%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fmicrosoft-365%2Fcompliance%2Fretention-policies-teams%3Fview%3Do365-worldwide%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%22%3Ehttps%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fmicrosoft-365%2Fcompliance%2Fretention-policies-teams%3Fview%3Do365-worldwide%3C%2FA%3E%3CBR%20%2F%3E%3CBR%20%2F%3E%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fmicrosoftteams%2Fretention-policies%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%22%3Ehttps%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fmicrosoftteams%2Fretention-policies%3C%2FA%3E%3C%2FLINGO-BODY%3E
New Contributor

ElizabethV8_0-1627501683504.png

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?

4 Replies
I had tried that, and it didn't seem to remove anything.
best response confirmed by ChristianJBergstrom (MVP)
Solution
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%20cus....

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-worldw...

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

@Christopher Hoard +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.