TFS 2017 | TFS 2015
This topic applies to team project customization for the On-premises XML process model.
For an overview of process models, see Customize your work tracking experience.
By default, Team Foundation Server (TFS) limits the size of work item attachments to 4 MB. For on-premises deployments, you can use the TFS web service to increase the size of files you attach to up to 2GB.
If you're not a member of the TFS Administrators group, get added as one.
Log on to the application-tier server for TFS.
In a supported web browser, open the following URL:
If the team project resides on a different project collection, specify the name of the collection in place of DefaultCollection.
Enter the size in bytes, and then choose Invoke.
The maximum size you can specify is 2 gigabytes (or
Alternative solutions to increasing the attachment size
Increasing the attachment size increases the amount of data in storage and the time it takes to save a work item. To work around the size limit, add the attachment to source control and add a link in the work item to the source control file using the Versioned Item link type.