Scratch orgs are being created with Customer Portal enabled by default
Last updated Today ·Reference W-7481597 ·Reported By 10 users
Scratch orgs are being created with Customer Portal enabled by default. This behaviour will result in features like Platform Encryption unusable in Scratch Org as both features can't co-exist in a single org.
1. Authorise to Dev Hub.
2. Spin up a Scratch org of Enterprise Edition with PlatformEncryption as a feature.
3. Login to the newly created org & try to enable Platform Encryption from Setup > Platform Encryption > Key Management > click on "Generate Tenant Secret".
4. Navigate to Setup > Platform Encryption > Encryption Policy > click on "Encrypt Fields" > Edit and try to enable the Encryption on the field & try saving it, you will notice similar error as below:
Platform Encryption cannot be enabled for standard fields when Portals are enabled. Account, Account Name
Scratch Org Definition File:
"orgName": "abc Company",
Please reach out to support by mentioned the Bug# W-7481597 to Workaround the issue.
Is it Fixed?
Any unreleased services, features, statuses, or dates referenced in this or other public statements are not currently available and may not be delivered on time or at all. Customers who purchase our services should make their purchase decisions based upon features that are currently available.