The following is the Scratch Org definition I'm using:

    "orgName": "Test Company",
    "edition": "Enterprise",
    "features": ["API", "AuthorApex", "ContactsToMultipleAccounts", "DebugApex"],
    "settings": {
        "orgPreferenceSettings": {
            "s1DesktopEnabled": true
        "knowledgeSettings": {
            "enableKnowledge": false

When I use this definition file I get the following error message:

=== Component Failures [1] Error shape/settings/Knowledge.settings Knowledge Once enabled, Salesforce Knowledge can't be disabled. ERROR: Failed to deploy settings to scratch org.

Is there a particular feature listed there that is resulting in Knowledge being enabled?

Your Answer

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Browse other questions tagged or ask your own question.