On Our production Org we use Partner Community User license;

Now, we are working on the migration to sfdx, and when creating scratch orgs, we don't have Partner Community license:

Scratch org company information - User Licenses: enter image description here

Production org company information - User Licenses: enter image description here

For information, community feature is enabled in my project-scratch-def.json file, any idea how to get Partner Community User license in scratch orgs?

Thank you;

  • On a tangent, I'm not sure the DX development model does much for Communities, since all the metadata you can get for a Community is an inscrutable binary blob. – Charles T May 15 '18 at 12:25
  • @CharlesT thank you, yes sfdx doesn't offer mush options for communities or portals, but for the moment, i just need a Partner Community License for my tests purposes (Need profile with this license) – abdel May 15 '18 at 12:53

This may not be the right solution for everyone, we have found in our organization that if you make your Scratch Org a Developer Edition org by putting "edition": "Developer" in your Scratch Org Definition JSON then you should have some Partner Community Licenses available.

  • Thank you for your response, i will try with Developer Edition settings, but i hope find a better solution – abdel May 15 '18 at 12:56

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.