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 / A flow that checks an ...
Power Automate
Answered

A flow that checks an image size that's being uploaded to a SP List

(0) ShareShare
ReportReport
Posted on by 567

Hi All, 

 

I would like to create an automated cloud flow that checks the size of an image being uploaded to a SP List. We have a PowerApp that allows users to upload a profile image, but we would like some alert should the user upload an image bigger than 11kb.

 

The column type we're using in the SP List is a image / thumbnail type

 

Anyone done this before?

Categories:
I have the same question (0)
  • lbendlin Profile Picture
    8,649 Super User 2026 Season 1 on at

    Go to the document library that houses the list attachments and use "Get file metadata"  to retrieve the file size.

  • v-chengfen-msft Profile Picture
    Microsoft Employee on at

    Hi @AdamH ,

    I made a template for your reference:

    When sharepoint submits pictures to the image column, it is stored in this place

    vchengfenmsft_2-1678436281281.png

    Here is flow:

    When this folder has pictures submitted, the flow is triggered:

    vchengfenmsft_3-1678436396807.png

     

    vchengfenmsft_1-1678436192422.png

     

     

    Best Regards

    Cheng Feng

  • AdamH Profile Picture
    567 on at

    @v-chengfen-msft 

    Sorry for the delay in getting back in touch. 

    It was easy to replicate that flow, but I get constant 404 errors. The flow saves ok, but flow checker informs me that the folder cannot be found. 2023-03-13 01_06_45-Edit your flow _ Power Automate - Work - Microsoft​ Edge.png2023-03-13 01_08_02-Manage your flows _ Power Automate - Work - Microsoft​ Edge.png2023-03-13 01_08_59-Run History _ Power Automate - Work - Microsoft​ Edge.png

  • Verified answer
    v-chengfen-msft Profile Picture
    Microsoft Employee on at

    Hi @AdamH ,

    Sorry to trouble you,The above method has failed.

    Please try this method to get the file size of image column

    vchengfenmsft_0-1678874659023.pngvchengfenmsft_1-1678874678599.png

    If you are confused about something in flow, please refer to this thread:

    Solved: Re: Image In share point List - Power Platform Community (microsoft.com)

     

    Best Regards

    Cheng Feng

  • AdamH Profile Picture
    567 on at

    Hi @v-chengfen-msft 

     

    I am so sorry, I missed the response email from this thread - Your original response did work, but I created the flow directly from the SP list which seemed to work. So I must have got the file navigation wrong somewhere when I tried to create the flow from PA manually. 

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 594

#2
Valantis Profile Picture

Valantis 328

#3
David_MA Profile Picture

David_MA 281 Super User 2026 Season 1

Last 30 days Overall leaderboard