Is there a way to enable Partner Community User Licenses in scratch org? While trying to deploy Partner Community profiles, we get the following errors.
In field: userLicense – no UserLicense named Partner Community found
I've added Communities and NetworkdEnabled in Scratch Definition file. I still cannot see Partner Community licenses in the Scratch Org.
Read up something on another post related to this, suggesting that if we changed the Edition of the scratch org as "Developer" then those licenses are added by default, however, then we get loads of other errors while deploying.
Any other suggestions/workarounds are welcomed.
Thanks
Best Answer
Use a Developer edition scratch org
You will get the following licences