Office 365 delete site collection

Note: 

Permanently deletes site collections on SharePoint 2013 Online sites.

Deleted site collections cannot be restored.

What can I do with this workflow action?

You can use this action to automate deletion of site collections as part of a routine cleanup process.

For more information about deleting site collections using SharePoint Online, see the following Microsoft articles: Create or delete a site collection.

Action settings

Do one of the following to open the Action configuration window:

  • Double-click the action.
  • Click on the action and then click Configure.

See Action configuration window for more information.

Field Description
Site collection URL

URL of the site collection to be deleted.

Note: Subsites specified in the URL are ignored. For example, in the URL https://tenant.sharepoint.com/sites/SiteCollection/Subsite1/Subsite2, “Subsite1” and “Subsite2” are ignored, and the site collection “SiteCollection” is deleted.

Connection
  • Permissions required: to manage site collections.
  • Connection type required: SharePoint Online: Site collection administration. For more information about Connection types, see Connection types and Connector actions.
Username / Password

(Displayed for legacy actions not yet updated.) Unmanaged credentials.

  • Permissions required: to manage site collections.

Note: As a best practice, manage credentials by updating actions to use connections.

For more information about how to use Lookups in configuration fields, see Lookups in action configuration fields.