0

I have a SharePoint 2019 server with a single server farm role. I have enabled the sandbox code service following these steps: enable-sandbox-solutions-on-sharepoint-2016 When I upload a sandbox solution containing a workflow the activate button is enabled. When I click activate I get the ULS error: "Solutions with sandboxed code are disabled" And on screen "Activation of solutions with sandboxed code has been disabled"

any ideas?

When I create a new Sandbox solution in Visual Studio and upload this to my site I can activate the solution.

Are workflows no longer allowed in Sandbox solutions?

2 Answers 2

4

I think, the code-based sandbox solutions are no longer going to work in SP 2019. It's one of the most promitent things removed in the latest sever version of the product:

After careful consideration, we've decided to also remove support for code-based sandbox solutions in SharePoint Server 2019. Customers are recommended to explore SharePoint add-ins as an alternative, which are fully supported for both SharePoint on-premises and SharePoint.

Source

2
  • 1
    Are Sandbox solutions with a workflow considered as code-based then?
    – Danny
    Commented Jan 14, 2021 at 8:30
  • As long as a workflow is part of a sandbox package - then yes. I think, even if a workflow has no custom actions, it's still going to be considered code-based. Commented Jan 14, 2021 at 8:42
2

I agree with Denis, as mentioned this feature has already been removed in SP 2019.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.