I'm trying to create a scratch org with the following definition so that Person Accounts:
{
"orgName": "Company",
"edition": "Developer",
"orgPreferences" : {
"enabled": ["PersonAccounts"]
}
}
According to the documentation: https://developer.salesforce.com/docs/atlas.en-us.sfdx_dev.meta/sfdx_dev/sfdx_dev_scratch_orgs_def_file_config_values.htm this is a supported feature.
However, when I try running:
sfdx force:org:create -f config/project-scratch-def.json
I get:
ERROR: Unsupported org preference: PersonAccounts.
Anyone know how to get this working?