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

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Create a flow for coll...
Power Automate
Unanswered

Create a flow for collecting message from Teams chat and Update in on an Excel File. Once finish delete the row from Excel and Teams Chat for a period of time.

(0) ShareShare
ReportReport
Posted on by 2

Hi all,

 

I am a beginner with Power Automate and may require some help from communities.

I tried to do an access violation log collection from my Firewall and keep it as an Excel file.

 

I have set the flows as follows:

 

haziqharun_1-1715677865822.png

 

Current flow is working well, but the excel file will be too heavy as the logs will be sent on hourly basis. The teams chat file also takes longer time to load due to increasing logs has been sent to the channel.

Is there a method to automatically delete rows on the excel file and the Teams chat file using Power Automate?

I want to keep the logs on the excel for 7 days.

 

Thank you very much!

Categories:
I have the same question (0)
  • v-bofeng-msft Profile Picture
    Microsoft Employee on at

    Hi @haziqharun ,

     

    You could add a CreateDate column in Excel and update this field with the current date when adding a row. Then create a daily-running flow to list all rows in the Excel sheet, filter out records created seven days ago, and delete them one by one.

     

    Best Regards,

    Bof

  • haziqharun Profile Picture
    2 on at

    Hi @v-bofeng-msft ,

     

    I will try with the Excel solutions. However, is there any solution to delete the Teams Chat file also? The channel also will take a long time to load, and the size will keep increasing. Is there any method to keep the chat files for a certain period of time? Thank you!

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the March Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Haque Profile Picture

Haque 592

#2
Valantis Profile Picture

Valantis 340

#3
11manish Profile Picture

11manish 284

Last 30 days Overall leaderboard