I think it would be difficult for engineering to know when to not fully reset the device and wipe the esim profiles, that’s why I suggested my service provider link where you can carefully customize the default config to your desire.
I agree with Adam here - It would be nice to have multiple selections by default when a device is factory reset.
Meaning, when a device is factory the default selection of SIM Cards should be, A + B + eSIM + SFC SIM as to enable already loaded eSIM on the device so it goes online after a reset.
Alternatively, a custom default setting profile that could be flashed to a device would be the solution.
I still feel that it’s best to leave factory reset to reset everything. An example would be that your esim may also require a custom apn, username, password etc. If you do a basic config with your required priorities for the esim and save this in the service provider area described above then if someone were to factory reset the device it would go back to your required base config.
May I ask why you would be factory resetting the device if you want your esim to survive?
Have you considered bulk config or reloading a base config instead of doing a factory reset?
One possible way is to have the BYO eSIM to be enabled and set for priority 3 by default. In this way, the BYO eSIM would be usable even after the unit is restored to default.