Forum Discussion
Deleting Approvals
Am about to start using the Approvals app in Teams. In the course of setting it up and demonstrating the process I have accumulated a number of "test" approvals. I cannot see how I can remove these approvals so they are not cluttering up the list when we start using this process in real work. My Internet searches on the topic have not provided any useful information. Is it possible to delete them?
- Hello, sorry not possible to delete "bot messages" in Teams just yet. But at least it's on the backlog..
https://microsoftteams.uservoice.com/forums/555103-public/suggestions/18684091-delete-bot-messages
18 Replies
- rmfontCopper Contributor
I was looking into this for the same reasons and found that the approval records are stored in Dataverse tables. Go to Power Apps > Dataverse > Tables and look for Approval, Approval Request, and Approval Response. You can remove records by editing the table data in Excel under Data > Edit in Excel. If you haven't done this before you may be prompted to install the Excel add-in that connects to the Dataverse tables. After the records are removed from there, they no longer appear in the Teams Approvals app.
- Rachel-BislandCopper Contributor
Just came across this old post and your answer.. this is what I'm looking for in terms of deleting in the dataverse tables. Can you let me know what permissions I need for this?
- D-Rum_123Copper Contributor
Hi rmfont,
Thank you for this. It's just what I've been looking for. Unfortunately, I don't know how to complete this procedure after deleting the undesired approvals. Is there something you press in the Excel sheet to sync it back to Dataverse or do you need to reimport this spreadsheet into dataverse?
Sorry for the silly question. Thanks for your help!
Regards,
Daniel
- PJS_Data_AdminCopper Contributor
Hello! I was just testing this issue out myself and I found that you need to keep the "Microsoft Power Apps Add-in" connector panel open. After you delete the data - click "Publish" in that panel. This should sync the data back to Dataverse. I did have a error due to permission settings, but otherwise this should resolve the issue.
Can anyone else confirm that this will solve the issue?
- ChristianBergstromSilver ContributorHello, sorry not possible to delete "bot messages" in Teams just yet. But at least it's on the backlog..
https://microsoftteams.uservoice.com/forums/555103-public/suggestions/18684091-delete-bot-messages- KaiserBachfeldCopper Contributor
- dBrentBrass Contributor
ChristianBergstrom Thank you for the response. I do appreciate knowing at least.
- ChristianBergstromSilver ContributorHey, just a heads-up on the topic. There’s a bit cumbersome workaround including enabling team owners to delete all messages (teams messaging policy). If it’s not disabled by an admin and the default team setting is enabled, a checkbox under team settings, you should be able to delete them. Haven’t verified it but heard another member do it this way instead of waiting for the above UV request. Perhaps worth a shot?