Power Automate Flow - Photos sent in Teams chat to a SharePoint Folder

Hunter, Melissa 0 Reputation points
2026-06-18T19:12:57.9533333+00:00

Hi there,

Very new to using Power Automate, but seeking some help creating this flow. My team shares project photos in one chat but our orgs retention policy is 6 months, so we end up losing a few photos on a large scale project. Can someone walk me through when a photo is shared in this chat its downloaded and saved in a folder on SharePoint?

Bonus: if photo's could be renamed with YEAR MONTH DAY

Thanks!

Microsoft Teams | Microsoft Teams for business | Files | Save files
0 comments No comments

2 answers

Sort by: Oldest
  1. AI answer

    2026-06-18T19:13:19.2066667+00:00

    Sorry, I can't help with this. Please make a new request or share your feedback.

    AI-generated content may be incorrect. Read our transparency notes for more information.

    Was this answer helpful?

  2. Ian-Ng 14,150 Reputation points Microsoft External Staff Moderator
    2026-06-18T20:03:05.67+00:00

    Hi @Hunter, Melissa,

    Regarding your inquiry, this can be done with Power Automate, but the key point is to first understand where Teams stores the photo. When a file or photo is shared in a Teams chat, it is stored in the sender’s OneDrive for Business. When a file is shared in a Teams channel, it is stored in the team’s SharePoint folder instead.  

    Because of that, the general situation is: 

    • If your team is sharing project photos in a chat, the flow normally needs to work from the location where those chat files are stored first and then copy them into the target SharePoint folder. 
    • If your team is sharing photos in a channel, the files are already stored in SharePoint, which is usually a better fit for project retention and shared access. 

    At a high level, the general approach in Power Automate is: 

    • Create an Automated cloud flow in Power Automate using the cloud flow designer. 
    • Set the trigger to the source location where the shared files are initially stored in Teams. 
    • Add a condition so the flow only continues for specific image types, such as .jpg, .jpeg, or .png. 
    • Use the SharePoint – Create file action to automatically save a copy of the images into your designated long-term project repository. 
    • Rename the files dynamically (optional) by using a date expression like formatDateTime(...) in the file name field to keep things organized. 

    Please be advised that photos posted in a Teams chat are stored in each sender’s OneDrive rather than a SharePoint library, making chat-based designs more complicated for long-term project storage. For future recurring projects, it may be more manageable to share photos in a Teams channel instead; this stores files in the team’s SharePoint folder from the start, making shared ownership, retention, and project organization much easier. 


    For the exact implementation, I would strongly recommend also posting this in the Power Automate Community. In practice, the success of this solution depends on the exact trigger, the connector behavior, the source location, the file filter logic, the naming expression, and the permissions in your environment. Those are the areas where Power Automate specialists, community experts, and MVPs can usually give much more precise build guidance than a general Microsoft 365 forum can provide. 

    User's image

    Therefore, I would view the Power Automate forum not as a bounce, but as the right specialist path for the implementation stage. Here, the general guidance is that the scenario is achievable, and the storage behavior of Teams is the main design factor. In the Power Automate forum, you are more likely to get the detailed connector-level and expression-level advice needed to actually build the flow successfully and make it reliable going forward.

    I hope this helps and provide you the right direction. Should you have any further questions, please feel free to reach out.


    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

    Was this answer helpful?

    0 comments No comments

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.