Power BI Connector for Microsoft Office 365

Build 26.0.9771

UploadFile

Uploads a new file or replaces the content of an existing file in OneDrive or SharePoint.

Input

Name Type Required Description
FileName String False Name of the file to upload content to. Provide this only if uploading to an existing file.
ParentId String True Identifier of the folder where the uploaded file should be placed.
Content String False Raw content to upload as the file's contents.
LocalFile String False Path to the local file whose content is uploaded.
UserId String False Identifier of the user whose OneDrive is used. Required when using the AzureServicePrincipal authentication scheme.

Result Set Columns

Name Type Description
Id String Identifier of the file that was uploaded.
* String Complete set of output fields returned after the file upload operation, including metadata.

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