I need to have a Partner Community license available in my scratch org.

The problem is that apparently only Developer type scratch orgs get this license by default, but I need an Enterprise type org because otherwise I hit the custom object limit on the Developer org.

Is there really no way to get a Partner Community license in an Enterprise scratch org? Or at least some way to be able to deploy partner community features like PartnerId on account, Channel objects, etc?


Could you try this configuration file (borrowed from answer in this post with updates on settings) :

  "orgName": "Your Org Name",
  "edition": "Enterprise",
  "features": [
    "Communities", "PartnerCommunity", "ForceComPlatform"
  "settings": {
    "communitiesSettings": {
      "enableNetworksEnabled": true
  • Yes! I can't believe it cost me so much time just because the documentation doesn't include 'PartnerCommunity' as an option in the Feature list
    – Valyrion
    Nov 8 '19 at 13:18
  • @Valyrion indeed, this is not well documented. Hope it will be updated soon
    – Shamina
    Nov 11 '19 at 6:05

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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