Is it possible to bulk remove workflows from sites?
We have hundreds of project sites, and we want to remove the old Workflow from them all.
On prem had powershell commands for this, is there something similar in o365?
Is it possible to bulk remove workflows from sites?
We have hundreds of project sites, and we want to remove the old Workflow from them all.
On prem had powershell commands for this, is there something similar in o365?
@kat_new here is a script that will help you find all workflows in O365. I would suggest modifying it to have it delete the ones you find as needed.
Thanks @eharris04
I ended up using PnP - Get-PnPWorkflowDefinition to export all worklfows to a csv,
and will be testing (hopefully successfully) Remove-PnPWorkflowDefinition today.
Full solution is to PowerShell Import-Csv, Foreach $site in $sites, Remove.
Thanks!
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.