Delete Site In SharePoint Online And Office 365 Using Nintex Workflows

Welcome to an article on how to delete a site in SharePoint Online and Office 365 using Nintex Workflows.This article will display the action “Office 365 delete site” and how to use while developing the workflow.


This action assists to delete a site using workflow. Let’s see the implementation of this functionality.

  • Create a list, Dev Testing.

  • Click on the List tab on the Top ribbon and click on Nintex Workflow.


  • You will see the following screen, to create a new workflow.

  • Click on “Create new workflow”.


  • You will come to the design phase of the Nintex workflows.

  • Add the action, “Office 365 delete site” either by right clicks on the workflow or by dragging and dropping from the left toolbox.


  • Now let’s configure it.

  • When you double click on the action the following screen opens up.



Configure:

a. Site URL: Provide the site URL.

b. SharePoint Online URL: Provide the SharePoint OnlineUrl.

c. Username: Specify the username of the person who is the admin and have access to run the workflow.

d. Password: Specify the password.

e. Site deletion successful: Select a variable to store the output as ‘Yes’ on successful deletion of the site.

  • Now we have configured our workflow, let’s go and publish it to use it.

  • Click on Publish on the left corner of the ribbon of Nintex Designer.