I am observing a weird behaviour on scratch org, When I tried to delete the custom object it throw an "Insufficient Privileges" error, but this is happening when only financial service cloud package installed to your scratch org.
Steps to reproduce.
Step 1: Create a new scratch org.
Step 2: Now you're able to create custom object in salesforce and you can delete it also successfully
Step 3: install financial cloud service package
`sfdx force:package:install --wait 100 --publishwait 100 --package 04t1E000000jb9R --noprompt `
Step 4: Now your able create custom object in salesforce but not able to delete it , You get above error.
One more interesting fact is, i have created new trail org form Financial Services Cloud Trailhead but i didn't observed this behaviour in that org.
Updated:
project-scratch-def.json
file
{
"orgName": "Company Name",
"edition": "Developer",
"features": [
"EnableSetPasswordInApi",
"Sites",
"Communities",
"FinancialServicesUser:5",
"ContactsToMultipleAccounts",
"PersonAccounts"
],
"hasSampleData": true,
"settings": {
"lightningExperienceSettings": {
"enableS1DesktopEnabled": true
},
"mobileSettings": {
"enableS1EncryptedStoragePref2": false
},
"experienceBundleSettings": {
"enableExperienceBundleMetadata": true
},
"communitiesSettings": {
"enableNetworksEnabled": true
}
}
}
Any help can be appreciated.
project-scratch-def.json
?