Skip to main content

Delete Document Library or List

Description

Delete Document Library or List plugin step deletes a Document Library or List from the 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 accountDelegatedSites.Manage.All, Sites.FullControl.All

Configuration

No.Field NameDescription
1Step NameSpecify the name of the step. This name must be unique in a single workflow. This field is mandatory.
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.
Data type: String.
This field is mandatory.
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 a list in the Refresh Token field.
4Refresh TokenSpecify or select the refresh token generated using the Client ID after app registration in Azure AD. This field is mandatory.
5Test ConnectionVerifies whether the connection is established.
Note: This button will not work for previous step variables. It only works with static values and environment variables.