Microsoft 365 update – Now it is possible to disable the creation of new SharePoint 2013 workflows – Tenant level setting available

Microsoft 365 - Roadmap ID - 82078 - Tenant level option to disable SharePoint 2013 new workflows creation
Microsoft 365 - Roadmap ID - 82078 - Tenant level option to disable SharePoint 2013 new workflows creation

Hi All,

Greetings for the day 🙂 LIFE IS BEAUTIFUL 🙂

Today new update. I was browsing through Microsoft 365 Message Center and noticed the message related to SharePoint 2013 workflow for SharePoint Online so thought to share

Message / Update : SharePoint tenant admins and global admins may disable the creation of new SharePoint 2013 workflows in their tenant by using a new parameter, StopNew2013Workflows, in the Set-SPOTenant PowerShell command

Details:

  • To execute this PowerShell we need latest version of SharePoint Online PowerShell – 16.0.21513.12000 – which is shipped on 10 Aug 2021

Steps to verify latest version of SharePoint online PowerShell :

  • Open the “SharePoint Online Management Shell
  • Use Get-Module PowerShell cmdlet to know the current version of SharePoint Online PowerShell

PS C:\> Get-Module -Name Microsoft.Online.SharePoint.PowerShell | fl

Name              : Microsoft.Online.SharePoint.PowerShell
Path              : C:\Users\u1086350\Documents\WindowsPowerShell\Modules\Microsoft.Online.SharePoint.PowerShell\16.0.21213.12000\Microsoft.Online.SharePoint.PowerShell.dll
Description       : Microsoft SharePoint Online Services Module for Windows PowerShell
ModuleType        : Binary
Version           : 16.0.21213.12000
NestedModules     : {}
ExportedFunctions :
ExportedCmdlets   : {Add-SPOGeoAdministrator, Add-SPOHubSiteAssociation, Add-SPOHubToHubAssociation, Add-SPOListDesign...}
ExportedVariables :
ExportedAliases   :

Fig : Microsoft 365 - Know the SharePoint Online PowerShell version
Fig : Microsoft 365 – Know the SharePoint Online PowerShell version
  • As in above image, it seems we do not have latest version of SharePoint Online PowerShell module
  • Lets install the latest version using Install-Module PowerShell cmdlet
Install-Module -Name Microsoft.Online.SharePoint.PowerShell -Force

Note – Here Force attribute will require “Install-Module” to update the latest version

OR

Update-Module -Name Microsoft.Online.SharePoint.PowerShell

  • Once latest version of SharePoint Online PowerShell updated we are ready to verify the new attribute “Stop2013NewWorkflows
  • We will use Get-SPOtenant PowerShell CMDLET to verify
PS C:\> Connect-SPOService

cmdlet Connect-SPOService at command pipeline position 1
Supply values for the following parameters:
Url: https://knowledgejunction1-admin.sharepoint.com
PS C:\> Get-SPOTenant

Fig : Microsoft 365 - Executing connecting to M365 and executing the CMDLET Get-SPOTenant
Fig : Microsoft 365 – Executing connecting to M365 and executing the CMDLET Get-SPOTenant
 Fig : Microsoft 365 - Executing connecting to M365 and executing the CMDLET Get-SPOTenant - Getting the value of new parameter - StopNew2013Workflows
Fig : Microsoft 365 – Executing connecting to M365 and executing the CMDLET Get-SPOTenant – Getting the value of new parameter – StopNew2013Workflows
  • Please notice default value for “StopNew2013Workflows” is false. This means developers / users by default can create new SharePoint 2013 workflows
  • To disable / to stop the creation of new SharePoint 2013 workflows in SharePoint Online we can change the value of parameter “StopNew2013Workflows” to TRUE by Set-SPOTenant cmdlet
Set-SPOTenant -StopNew2013Workflows $TRUE

Fig : Microsoft 365 -  Updating tenant level setting for disabling the creation of new SharePoint 2013 workflows using Set-SPOTenant CMDLET
Fig : Microsoft 365 – Updating tenant level setting for disabling the creation of new SharePoint 2013 workflows using Set-SPOTenant CMDLET
  • After disabling the creation of new SharePoint 2013 workflows if developer / user tries to create the new SharePoint 2013 workflow from SharePoint designer 2013, we will get an error “The SharePoint admin has disabled the creation of new workflows. Existing workflows will continue to run
Fig : Microsoft 365 - After disabling creation of new SharePoint 2013 workflows for SharePoint online - error from SharePoint designer 2013 while publishing new workflow
Fig : Microsoft 365 – After disabling creation of new SharePoint 2013 workflows for SharePoint online – error from SharePoint designer 2013 while publishing new workflow

Availability of this setting – This setting is available since late Aug 2021

Associated Microsoft 365 Roadmap ID : Roadmap ID 82078

Fig : Microsoft 365 - Roadmap ID - 82078 - Tenant level option to disable SharePoint 2013 new workflows creation
Fig : Microsoft 365 – Roadmap ID – 82078 – Tenant level option to disable SharePoint 2013 new workflows creation

Thanks for reading 🙂 STAY SAFE 🙂 STAY HEALTHY 🙂

Prasham Sabadra

LIFE IS VERY BEAUTIFUL :) ENJOY THE WHOLE JOURNEY :) Founder of Knowledge Junction and live-beautiful-life.com, Author, Learner, Passionate Techie, avid reader. Certified Professional Workshop Facilitator / Public Speaker. Scrum Foundation Professional certificated. Motivational, Behavioral , Technical speaker. Speaks in various events including SharePoint Saturdays, Boot camps, Collages / Schools, local chapter. Can reach me for Microsoft 365, Azure, DevOps, SharePoint, Teams, Power Platform, JavaScript.

You may also like...

This site uses Akismet to reduce spam. Learn how your comment data is processed.

%d bloggers like this: