Power BI Connector for Microsoft SharePoint

Build 26.0.9655

UpdateAttachment

Replaces the content of an existing file attachment on a SharePoint list item while preserving the filename and list item reference. Useful for updating attachment content without deleting and re-adding the file.

Input

Name Type Required Description
ListTitle String True The title of the SharePoint list containing the item whose attachment will be updated. Helps identify the target list.
ItemId String True The unique identifier of the list item whose attachment will be updated. Ensures the replacement targets the correct item.
FileName String True The full name (including extension) of the existing attachment to replace. For example: 'report.pdf'. The file must already exist on the list item; the content will be overwritten in place.
InputFilePath String False The full local file path of the new content to upload. Required unless providing file content directly via the Content parameter.

Result Set Columns

Name Type Description
Success Boolean Indicates whether the attachment update operation was successful. Returns 'true' when the content was replaced successfully, 'false' otherwise.

Copyright (c) 2026 CData Software, Inc. - All rights reserved.
Build 26.0.9655