A family of Microsoft on-premises document management and storage systems.
AMSI integration in SharePoint Server scans HTTP/HTTPS requests at the web application level and is designed as a generic request filter. The available documentation describes:
- Prerequisites and supported versions.
- How to enable/disable AMSI per web application.
- How to test AMSI behavior with a special test string.
- That request body scanning can be configured in different modes (Balanced / Full) in newer Subscription Edition builds.
However, there is no documented mechanism to:
- Exclude specific SharePoint content types from AMSI scanning.
- Exclude particular URLs or service-to-service traffic from the AMSI scan buffer.
- Configure AMSI rules from SharePoint to treat some requests as “trusted” while still leaving AMSI enabled for others.
The only SharePoint-side control described is enabling or disabling AMSI integration on web applications (for example, via the AMSI feature and related cmdlets), and in newer versions choosing the request body scan mode. Fine‑grained exclusions (per content type, per traffic class) would have to come from the AMSI-capable antimalware product itself, if that product exposes such configuration, not from SharePoint.
If AMSI is causing performance bottlenecks on WFE servers, the supported tuning options based on the documentation are:
- Verify that the environment meets the prerequisites (supported Windows, SharePoint build, and AV engine versions) so that AMSI runs in the expected, optimized path.
- On Subscription Edition builds that support it, adjust the AMSI request body scanning mode (for example, Balanced vs Full) to reduce scanning overhead while retaining protection.
- If performance remains unacceptable and the AV product cannot be tuned, AMSI can be disabled per web application using the documented AMSI integration controls.
There is no documented way to implement the requested “trusted content type” or “internal traffic” exclusions from within SharePoint AMSI integration itself.
References:
- Configure AMSI integration with SharePoint Server
- New and improved features in SharePoint Server Subscription Edition Version 25H1
- New and improved features in SharePoint Server Subscription Edition Version 23H2
- HTTP Error 503 after installing April 11, 2023 updates for SharePoint Server 2016 on Windows Server 2012 R2 (KB5026765)
- Cumulative Update 22 for Exchange Server 2016 (KB5005333)