Forum Discussion

PipedriveDeveloper's avatar
PipedriveDeveloper
Copper Contributor
May 15, 2025

Owners are getting 403 when trying to delete bot posts

Hello, we have a notifications bot, and the customer noticed that he can't delete the bot's posts via mobile or desktop/web. The user is the owner and has updated policies that allow deletion of all posts in the channel. However, requests to delete bot posts return 403 status with "AclCheckFailed-Delete Message: Initiator (x:xxxx:xxxx-xxxx-x...) is not allowed to delete message" error message.


MS Teams handles these requests, but I'm wondering if there is anything we can do on the bot side to help change the response and allow posts to be deleted (changing permissions, adding new functionality, etc.)?


Would appreciate any suggestions!

 

 

3 Replies

  • PipedriveDeveloper​ - The 403 "AclCheckFailed-Delete Message" error you're seeing when trying to delete bot messages in Microsoft Teams is a known limitation. Even if the user is a team owner and has the right policies in place, they still can't delete messages sent by bots or apps—unless they are the original sender (the bot itself) or have special admin privileges.

    Unfortunately, there's nothing we can change on the bot's side to allow others to delete its messages. This restriction is controlled by Microsoft Teams and the Graph API, and bots can't override it.

    Thanks, 

    Nivedipa

    --------------------------------------------------------------------------------------------------------------------- 

    If the response is helpful, please click "**Mark as Best Response**" and like it. You can share your feedback via Microsoft Teams Developer Feedback link. Click here to escalate. 



    • jmillsjmills's avatar
      jmillsjmills
      Copper Contributor

      This seems crazy that you are just saying there is no solution to this! Functionality to at least delete a bot's messages manually within the channel as the administrator should be a minimum, but further to this the ability to delete messages via Power Automate too would clearly be highly valuable. Thanks

      • Nivedipa-MSFT's avatar
        Nivedipa-MSFT
        Icon for Microsoft rankMicrosoft

        @jmillsjmills - Thank you for your suggestion! 

        We appreciate your input. To ensure your idea is considered for future updates, we recommend submitting it through the Teams Feedback PortalFeature requests are reviewed by the engineering team and may be prioritized based on various factors, including the number of requests received. 

        If you have any additional thoughts or feedback, please feel free to share them with us. Your contributions are valuable and help improve the product! 

        Thank you again for your valuable suggestion! 

Resources