SOLVED

Mass deleting posts

%3CLINGO-SUB%20id%3D%22lingo-sub-2165951%22%20slang%3D%22en-US%22%3EMass%20deleting%20posts%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2165951%22%20slang%3D%22en-US%22%3E%3CP%3EI've%20been%20tasked%20with%20cleaning%20up%20a%20team%20channel%20that%20has%20gotten%20absolutely%20massive%2C%20with%20literally%20thousands%20of%20posts.%20I%20have%20been%20added%20as%20an%20owner%20of%20the%20team%2C%20and%20while%20I%20can%20delete%20any%20comments%2C%20it%20would%20be%20incredibly%20inefficient%20to%20delete%20every%20post%20and%20reply%20one%20by%20one.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EIs%20there%20a%20way%20to%20delete%20a%20post%20*and%20all%20replies%20to%20that%20post*%20at%20once%2C%20as%20a%20team%20owner%3F%20I%20have%20not%20yet%20found%20a%20way%20to%20do%20so.%20It%20would%20be%20even%20acceptable%20for%20me%20to%20do%20a%20%22hard%20reset%22%20and%20delete%20all%20posts%20entirely%20and%20just%20start%20over%2C%20with%20me%20curating%20it%20moving%20forward.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-2165951%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EHow-to%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E
Occasional Visitor

I've been tasked with cleaning up a team channel that has gotten absolutely massive, with literally thousands of posts. I have been added as an owner of the team, and while I can delete any comments, it would be incredibly inefficient to delete every post and reply one by one.

 

Is there a way to delete a post *and all replies to that post* at once, as a team owner? I have not yet found a way to do so. It would be even acceptable for me to do a "hard reset" and delete all posts entirely and just start over, with me curating it moving forward.

1 Reply
best response confirmed by ThereseSolimeno (Microsoft)
Solution

Not possible via the UI, but you should be able to automate it via the Graph API: https://docs.microsoft.com/en-us/graph/api/group-delete-thread?view=graph-rest-1.0&tabs=http