Announcements
Hi All, I am working on of the use case where I need to validate the minimum file size limit before uploading the file using the Attachments control in to the SharePoint list.
Thanks,
Shyam Nath Jha (Power Platform Developer)
Hi @snjha ,
This is not possible with standard controls. For instance the Attachment control does have a property MaxAttachmentSize for limiting the maximum filesize, but not for the minimum size: https://learn.microsoft.com/en-us/power-apps/maker/canvas-apps/controls/control-attachments#key-properties
Hi @BCBuizer , Thanks for your reply but my requirement is to validate min file size 🙂
That's what I'm saying: it is not possible with standard controls. Perhaps some code component could be used, but that's outside of my skillset.
Alternatively you can try to retrieve the file size using Power Automate: https://powerusers.microsoft.com/t5/General-Power-Automate/How-to-determine-the-size-Mb-of-an-attachment-in-MS-Flow/td-p/473765
However, this will require the attachment to be stored in some temporary datasource...
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.
Congratulations to our community stars!
Expanding mentorship, skilling, and AI innovation
These are the community rock stars!
Stay up to date on forum activity by subscribing.
WarrenBelz 358 Most Valuable Professional
11manish 214 Super User 2026 Season 2
Mohsin Ali 185