MCP Server for Microsoft OneDrive

Build 25.0.9440

CopyResource

Copies a specified file or folder from one location in OneDrive to another, preserving content and structure.

Input

Name Type Required Description
ParentID String True ID of the destination folder where the resource should be copied. Required if the resource is being moved to a different location.
NewName String False Optional new name for the copied resource. If not provided, the resource retains its original name and can be copied to its current location regardless of ParentID.
ResourcePath String False Path to the resource being copied. Either ResourcePath or ResourceId must be provided to identify the source file or folder.
ResourceId String False Unique ID of the resource to be copied. Either ResourceId or ResourcePath must be provided.
SourceDriveId String False ID of the source drive where the resource currently resides. Only required when the resource is in a different drive than the user's default.
DestinationDriveId String False ID of the target drive where the resource should be copied. Needed when the destination is in a different drive than the source.

Result Set Columns

Name Type Description
Success String Indicates whether the copy operation was successful. Returns success status or error details.

Copyright (c) 2025 CData Software, Inc. - All rights reserved.
Build 25.0.9440