web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Delete message posted ...
Power Automate
Unanswered

Delete message posted in teams channel by Flow

(2) ShareShare
ReportReport
Posted on by

I created a flow to post a message in my department’s team channel to notify us whenever a new file is added to the SharePoint folder. 

I added two files as a test and it worked but now I cannot delete those two test messages that were posted by Power Automate, nor can the owner of the channel.

 

How do we delete these messages?

Categories:
I have the same question (0)
  • Community Power Platform Member Profile Picture
    on at
  • IF_Dubois Profile Picture
    12 on at

    At the company I previously worked for I could (manually) delete any messages created by Power Automate in Teams (channels). Currently I do not have that option anymore in my new company.

  • joshi_664 Profile Picture
    4 on at

    Teams messaging policy. Needs delete messages turned on.

  • IF_Dubois Profile Picture
    12 on at

    Is that a Power Automate specific policy? I am able to delete other messages in teams (at least my own ;))

  • joshi_664 Profile Picture
    4 on at

    It’s teams messaging policy and you need to turn owners can delete sent messages on to see the setting in teams. I doubt that will solve your issue I’f it’s a bot. https://feedbackportal.microsoft.com/feedback/idea/e6ba0d0f-272e-ec11-b6e6-00224827bbc2

  • IF_Dubois Profile Picture
    12 on at

    Owners are able to delete their messages, it is only for the Flow Bot which it is unavailable. I have seen the feature request, but I find it strange as when I left my previous company (end of 2021) I was able to delete any Flow Bot created posts in channels. 

  • IF_Dubois Profile Picture
    12 on at

    Somewhere it should be some setting as you can see below, my old colleague has the delete option for PA Bot messages.

     

    Delete optionDelete option

  • fnanfne Profile Picture
    260 on at

    I believe you are only able to delete your own messages. After lots of testing, the channel was filled with nonsense. I then logged into Teams using the service account that is responsible for the flows creating these messages. We use a dedicated account called power.automate to do the flows and I logged in with this account to delete all the messages. There are still some I cannot delete, these were posted by Microsoft's flow bot and I'm unable to remove these.

  • IF_Dubois Profile Picture
    12 on at

    As you can see in my screenshot below you should be able to delete messages posted by PA Flow Bot user (as the delete option is there - this was in my old company). So it should be just some authorization or setting.

  • fnanfne Profile Picture
    260 on at

    Your screenshot shows the deletion of a message that was posted by a flow. The step in the flow is posting a message "as the user" of the flow. This is the user able to delete the message in your screenshot. However, this user is still unable to delete the second message in your screenshot (with a date stamp of Yesterday 14:04) as this second message was "posted by" the Microsoft Flow bot. 

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 522 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 364 Moderator

#3
abm abm Profile Picture

abm abm 243 Most Valuable Professional

Last 30 days Overall leaderboard