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

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / A flow that checks an ...
Power Automate
Unanswered

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,474 Super User 2025 Season 2 on at
    Re: A flow that checks an image size that's being uploaded to a SP List

    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
    on at
    Re: A flow that checks an image size that's being uploaded to a SP List

    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
    Re: A flow that checks an image size that's being uploaded to a SP List

    @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
    on at
    Re: A flow that checks an image size that's being uploaded to a SP List

    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
    Re: A flow that checks an image size that's being uploaded to a SP List

    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

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 462 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 456 Moderator

#3
abm abm Profile Picture

abm abm 243 Most Valuable Professional

Last 30 days Overall leaderboard