Unlocked package cannot be installed if it contains ProfilesSessionSetting and profile
Last updated 2021-02-16 ·Reference W-5990856 ·Reported By 6 users
Unlocked package install fails with error:
This app can't be installed.
There are problems that prevent this package from being installed.
ProfileName_profileSessionSetting: An unexpected error occurred. Please include this ErrorId if you contact support: errorId.
1. Create a unlocked package and add profile with profile session setting as component
2. Create a package version and install it in an org
Remove the profile session setting and create a new version to install.
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.