Skip to main content

Rename File or Folder

Description

Rename File or Folder plugin rename a File or Folder from Document Library present in a specified site in SharePoint Online.

Prerequisites

You require the following permissions for app on Azure:

Account TypePermission typePermission (from least to most privileged)
Work or School accountDelegatedFiles.ReadWrite, Files.ReadWrite.All, Sites.ReadWrite.All

Configuration

No.Field NameDescription
1Step NameSpecify the name of the step. This name must be unique within a single workflow. This is a mandatory field.
Connection:
2Client IDSpecify the Client ID of the SharePoint App. For information about creating a client ID, see Appendix: SharePoint: App Registration & Refresh Token Generation. The field data type is String. This is a mandatory field.
3Accept value as variable/staticSelect the checkbox if you want to enter the Refresh Token name in the Refresh Token field.
If the checkbox is not selected, you can select the refresh token from the Refresh Token field.
4Refresh TokenSpecify or select the Refresh Token generated using the Client ID, which is created after registering the app in Azure AD. This is a mandatory field.
5Test ConnectionVerifies whether the connection is successfully established. Note: This connection will not work with variables from the previous step. The Test Connection button only works with static values and environment variables.

Input Tab

No.Field NameDescription
1Site Relative URLSelect the SharePoint site-relative URL.
Format: {Tenant Name}.sharepoint.com:/{SharePoint Site Path}
Example: firstUser.sharepoint.com:/sites/TestingSite
This is a mandatory field.
Note: For the root site (Communication Site), you do not need to provide the {SharePoint Site Path}.
2Document Library NameSelect the name of the Document Library where the operation is to be performed. This is a mandatory field.
3File Or Folder PathSelect the path of the file or folder to be renamed (from the root of the Document Library).
Example: Folder1/Folder2 or Folder1/Example.txt
This is a mandatory field.
4New NameSelect the new name for the specified file or folder. This is a mandatory field.