Forum Discussion
Clearing all posts in a teams channel
Hi there,
I am hoping someone can advise: we need to clear all of the posts in a teams channel to effectively start fresh. Is this possible some how as a team owner? If not, any other solutions that anyone would suggest?
Thanks!
- As an owner of the Team, you can delete any post within (regular) channels. There is no quick "delete all" solution though, you'll have to do it one at a time. Perhaps it's best if you just delete the channel and recreate it?
10 Replies
- Mazz2425Copper Contributor
This is a real issue as I have heaps of team posts that need to be deleted and honestly, one can't sit there and delete them one by one. I need to be able to clear all from a channel post in one hit and have a clean page once we complete a set task. This is something Teams needs to look at. In fact, there are many issues with syncing Teams and OneDrive that I experience with my organisation. One week we can all see what has been posted in OneDrive to Teams, then the next there will be sync issues for some staff members and the whole process starts of downloading teams and onedrive again to try and sync. Its so time consuming and costs me to bring in my IT to try and resolve these issues. It has been ongoing for such a long time, and it needs to be looked at. We are not new to Teams, and all know the functions and how to navigate them, and I am but one of many of my IT consultants clients who experience sync issues. Happy to hear any advise one both issues.
You mean something like this?
https://practical365.com/remove-channel-messages/
- Try the approach outlined in this article: https://practical365.com/remove-channel-messages/
- SwissMaWiCopper Contributor
It would probably work... but why you need rocket science to perform such a simple task?
- The code works... and it's just PowerShell with some Graph API calls. It's not rocket science either.
As to why this code is needed, the ethos of Teams from day zero has been to deliver persistent messaging. That's probably why Microsoft doesn't deliver a method to mass-delete posts. But when PowerShell is available, you can automate tasks to meet your own needs.
- YorkshireLadCopper Contributor
I'd also like to see a 'delete all' function for old posts without having to go through the ritual of deleting posts and comments one by one.
- As an owner of the Team, you can delete any post within (regular) channels. There is no quick "delete all" solution though, you'll have to do it one at a time. Perhaps it's best if you just delete the channel and recreate it?
- Ellie2506Copper ContributorIt's the general channel in my case and you can't delete it and recreate. This chat is full of out of date covid work from home comments from an ex-colleague, and it needs removing, but I haven't got all day to take it out one comment at a time. Please find a solution to this.
- SwissMaWiCopper Contributor
Hi. Why do I have to play computer and delete messages one at a time? I mean it is clear to everybody that this is a basic function that is needed, to delete all messages in a channel. What are the absolute basics not implemented?
While at the same time in the new Teams a complete bullshit is implemented: now the messages are all in the wrong order?
- DarrenB852Copper Contributor
Thanks, VasilMichev, that is a shame, but good to know.