Skip to main content

Get SharePoint item attachments

List the files attached to a SharePoint list item (needs a SharePoint site session).

Command in the Microsoft 365 toolkit · id ooa.microsoft365/list_attachments · 3 inputs (2 required), 2 outputs

Inputs​

InputTypeRequiredDefaultWhat it is
SessionStringNosharepointA SharePoint site signed in to with Sign in to SharePoint site (also on premises); when given, access_token and site are not used (G3).
ListStringYesList id or display name.
Item IDStringYesItem id.

Outputs​

OutputTypeWhat it is
tableTableColumns: name, server_url.
namesListThe attachments' file names.