[SalesForce] sfdx scratch org Partner Community User license

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;

Best Answer

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.

Related Topic