Missing profile default application
Detection
- String:
You can't remove the only default app from the profile.
Resolution
You must have a default application for a profile. You can:
- Update it in UI
- Update the XML of the profile to set "true" in the <default> tag of one of the applicationVisibilities item.
Ex:
<applicationVisibilities>
<application>standard__LightningSales</application>
<default>true</default>
<visible>true</visible>
</applicationVisibilities>