Our help desk asked for one small change to their Service Desk app: let people attach a screenshot or a log file to a request. Easy, I thought. I opened the Insert menu, typed attach, and found nothing I could use on a plain screen.
That’s the part that trips up almost everyone. The classic control isn’t on the Insert menu at all. It only shows up as the Attachments field of an edit form, and it only saves files when that form is saved.
In this tutorial, we’ll add the attachment control in Power Apps to a SharePoint form, set its file count and size limits, save the files, reset it, and send the files by email. I’ll also show what happens when you try to use it without a form.
Quick answer: Insert an Edit form, connect it to your SharePoint list, then select Edit fields > Add field > Attachments > Add. Set MaxAttachments and MaxAttachmentSize (MB per file) on the control, and save with SubmitForm(frmAtt) or Patch(list, record, frmAtt.Updates).
Build the Demo App Step by Step
I built this in my Service Desk Demo canvas app, a canvas app being one where you place every control yourself. If you’ve never made one, my guide to create a canvas app from a SharePoint list goes slower.
The data source, meaning the place the app reads and writes records, is our Service Requests SharePoint list. SharePoint lists have a built-in Attachments column, and that’s what the control works with.

Step 1: Go to make.powerapps.com and select Start with design on the Home page.

Step 2: Select Create from blank, the Canvas app option.

Step 3: Pick Tablet. Power Apps Studio, the app editor, opens on a blank screen.

Step 4: Select Add data, search for SharePoint, and pick the SharePoint connector.

Step 5: Paste your site URL and select Connect.

Step 6: Check Service Requests and select Connect.

A few moves you’ll repeat below: to change a property, select the control, pick the property in the dropdown left of the fx formula bar, and type the formula. Select Play at the top right (or hold Alt and click a button) to test, and press Ctrl+S to save.
Add the Attachment Control to an Edit Form
Here’s why people report the attachment control as missing: Microsoft keeps it off the Insert tab on purpose. It arrives with the form’s Attachments field. For the general form setup, see how to submit a form to a SharePoint list in Power Apps.
Step 1: Open Insert, search for Edit form, and pick it under Classic. Set its data source to Service Requests. I renamed mine frmAtt.

My new form came with 9 default fields and no Attachments field. So check the field list before you assume it’s there.
Step 2: With the form selected, choose Edit fields > Add field, check Attachments, and select Add.

I removed the other fields with each field’s … > Remove, keeping only Title and Attachments. The card’s Items property is Parent.Default, and its Update property is attForm.Attachments, which is how the form knows what to save.
Attachment Control Properties: Max Attachments and File Size Limit
Select the control inside the Attachments card (mine is attForm) and look at the Display tab of the properties pane.

Our pane showed Max attachments 6 and Max attachment size 10. Microsoft’s reference doesn’t list a default for either, so treat these as what my tenant gave me and set your own values.
| Property | What it does (per Microsoft Learn) |
|---|---|
| Items | The Attachments column of the list or Dataverse table. Collections and tables aren’t supported. |
| MaxAttachments | The most files the control accepts. |
| MaxAttachmentSize | Largest size for each new file, in MB (1 MB = 1,000,000 bytes). |
| MaxAttachmentsText | Text that replaces the Attach file link once the limit is reached. |
| AddAttachmentText / NoAttachmentsText | The add link label, and the text shown when nothing is attached. |
| OnAddFile / OnRemoveFile / OnUndoRemoveFile | Actions to run when a file is added, removed, or restored. |
| DisplayMode | Edit (add and delete), View (show only), or Disabled. |
So the size limit is whatever you put in MaxAttachmentSize, per file. The old claim that the control caps files at 1 MB came from misreading the unit note.
The text properties sit on the Advanced tab. Because the card is locked, you’ll see Unlock to change properties first.

Our defaults were “Attach file”, “Max. number files reached.”, and “There is nothing attached.” Unlock the card, then change any of them, for example:
"Attach a screenshot (max 6)"
Note: there’s no property that hides the undo option after someone removes a file. OnUndoRemoveFile only lets you react when they restore it. If users shouldn’t delete files at all, set the control’s DisplayMode to DisplayMode.View for those users.
Save the Files With SubmitForm or Patch
Adding a file doesn’t upload anything yet. In Preview, I attached two files to “Password reset #1005” and both showed Unsaved, while my count label still said 0 files in SharePoint.

The simple save is a button with this OnSelect:
SubmitForm(frmAtt)
I used Patch with the form’s Updates instead, because it handles new and existing items in one formula. My guide to patch attachments to a SharePoint list covers every Patch variation, so here’s just the button:
If(
frmAtt.Mode = FormMode.New,
Patch('Service Requests', Defaults('Service Requests'), frmAtt.Updates),
Patch('Service Requests', galPatch.Selected, frmAtt.Updates)
);
Notify("Saved with Patch + frmAtt.Updates", NotificationType.Success);
EditForm(frmAtt)

After Save, the green Power Apps Notify banner appeared, the Unsaved tags disappeared, and the label read 2 files. SharePoint showed Password-Reset-Screenshot.png and Reset-Notes.txt on item 2.

frmAtt.Updates is a record of every card’s Update value, including the Attachments card, so Patch writes the files the same way SubmitForm would.
Can You Use the Attachment Control Without a Form?
Not for saving. I copied the classic control out of the form, named it attOutside, and set its Items to galPatch.Selected.Attachments. It still let me pick two files in Preview, and both sat there as Unsaved.

Then I tried to save them directly:
Patch(
'Service Requests',
galPatch.Selected,
{Attachments: attOutside.Attachments}
)
Power Apps rejected it with this error:
The type of this argument '{Attachments}' does not match the expected type 'Table (Attachment)'. Found type 'Table'.

Rebuilding the records with ForAll failed too, in two more variants. Microsoft documents the reason: uploads and deletes work only inside a form. If you need files without a form, use the Power Apps modern attachment control, which saves with Patch on any screen. Another route is to save form attachments with Power Automate.
Reset the Attachment Control
To throw away files the user added but didn’t save, reset the form from a Discard button:
ResetForm(frmAtt)
Per Microsoft, ResetForm returns every control in the form to its starting values and switches a New form back to Edit. The control’s own Reset reverts it to the previously saved state, so saved files stay.
Calling Reset(attForm) from a button outside the form won’t work; Power Apps only resets controls inside a form from formulas in that same form. The same rule applies when you clear a text input in Power Apps.
To start a fresh request with an empty control, use NewForm(frmAtt) instead.
Send the Attached Files by Email
The old version of this post was about email, and it’s still a fair ask. Add the Office 365 Outlook connector through Add data, plus three text inputs: txtTo, txtSubject and txtBody. Then use this OnSelect, based on Microsoft’s attachment format of Name plus ContentBytes for each file:
Office365Outlook.SendEmailV2(
txtTo.Text,
txtSubject.Text,
txtBody.Text,
{
Attachments: ForAll(
attForm.Attachments,
{Name: ThisRecord.Name, ContentBytes: ThisRecord.Value}
)
}
)
ForAll turns each file in the control into a record the connector understands. Keep the control inside the form, where it works, and send before you reset the form. I haven’t sent mail from the demo tenant, so test with your own address first. For more patterns, see how to send email from Power Apps.
Microsoft’s connector limit is 49 MB of content per email, so a 6-file, 10 MB setup can go over it.
Common Errors and How to Fix Them
- The control is missing from Insert: that’s by design. Add the Attachments field to an edit form.
- Properties are grayed out: the card is locked. Select it, open Advanced, and choose Unlock to change properties.
- Table (Attachment) type error: the classic control is outside a form. Move it back, or switch to the modern control.
- Files vanish after closing the screen: they were never saved. Run SubmitForm or Patch with Form.Updates first.
- Items formula shows an error: Items must be the Attachments column, not a collection. A gallery needs a different approach; see how to add attachments in a Power Apps gallery.
- Phone users can add only one file at a time: that’s a documented Power Apps Mobile limit. Files stored in OneDrive may need downloading to the device first.
- No Attachments field in the list: attachments may be turned off. Here’s how to disable or enable attachments in a SharePoint list.
For more controls, browse our Power Apps tutorials.
If you’re building forms that collect files, these posts pick up where this one stops:
Frequently Asked Questions
Why can’t I find the attachment control in Power Apps?
The classic control isn’t on the Insert tab. Add an edit form connected to a SharePoint list or Dataverse table, then Edit fields > Add field > Attachments. The modern Attachments control (preview) is on the Insert menu once modern controls are turned on.
What is the file size limit of the Power Apps attachment control?
You set it with MaxAttachmentSize, in MB per new file, where 1 MB is 1,000,000 bytes. Our properties pane showed 10. Microsoft explains it in the Attachments control reference.
Can I use the attachment control without a form?
The classic control can’t save files outside a form; Patch gave us a Table (Attachment) type error. Use the modern Attachments control, which saves with Patch on any screen.
How do I reset the attachment control in Power Apps?
Run ResetForm(YourForm) from a button to drop unsaved files, or NewForm(YourForm) to start an empty record. Reset on the control itself works only from inside the same form.
How do I email files from the attachment control?
Add the Office 365 Outlook connector and pass ForAll(attForm.Attachments, {Name: ThisRecord.Name, ContentBytes: ThisRecord.Value}) as Attachments in SendEmailV2. See Microsoft guide to Office 365 Outlook in Power Apps.

Hey! I’m Bijay Kumar, founder of SPGuides.com and a Microsoft Business Applications MVP (Power Automate, Power Apps). I launched this site in 2020 because I truly enjoy working with SharePoint, Power Platform, and SharePoint Framework (SPFx), and wanted to share that passion through step-by-step tutorials, guides, and training videos. My mission is to help you learn these technologies so you can utilize SharePoint, enhance productivity, and potentially build business solutions along the way.
How to get the File Size value saved into Label.
nice one. May i know how do we pass the attachment to the dynamics crm timeline/notes ?
I can’t seem to make the patch code patch. I put Attachments in as the column, the data card name and .Attachments. I know I’m selecting the right name because it even suggests putting Attachments after the dot.
It then gives a re line stating, “The type of this argument ‘{Attachments}’ does not match the expected type ‘Attachment’. Found type ‘Table’. The function ‘Patch’ has some invalid arguments”
So, then I changed the column name to Attachment (singular) to see if that made a difference and, of course, it states that column doesn’t exist and the most similar name is ‘Attachments’
Any thoughts?
Hello Bijay. Can we set Attachment control(outside of form control) to display a document from sharepoint doc lib? I tried to set its items property but it does not download the file. Any suggestions on this ?
Hi what do i do if I don’t have an attachment field after adding my SharePoint list in the adds fields section. I have everything else but not attachment
I’m receiving an error and I’m not sure what I’m missing “On Select” for my send email icon – any tips would be greatly appreciated.
Invalid number of arguements: Received 5; Expected 3 – 4.
Set(_emailRecipientString, Concat(MyPeople, Mail & “;”));
Office365Outlook.SendEmail (_emailRecipientString, TextEmailSubject1.Text, TextEmailMessage1.Text, {Importance:”Normal”},{Attachments:AddColumns(
RenameColumns(
EmailAttachment.Attachments,
“Value”,
“ContentBytes”
),
“@odata.type”,
“”
)
};
Reset(TextEmailSubject1);
Reset(TextEmailMessage1);
Clear(MyPeople)