Is there a way to setup a task to remove one profile and install a new profile if it meets a certain condition?

Solved

Use Case: We are moving from OS15 to OS16 and also moving to the new native messaging app, Google messages from Samsung messaging. 

I need to create an automatic task to update the kiosk to use the new messaging app once the device has updated to OS16.

I was thinking of removing the lockdown profile with the old messaging app and assigning a clone of the same profile with the new messaging app bundle id on a task. Is there an easier way to do this? I would go ahead and install/enable the new messaging app in the background so it is already there, just need to modify the home screen to display it but only when the OS is updated (so it is presented as a new feature/app with the update)

2 days ago
SOTI MobiControl
ANSWERS

You would use Profile filters. When you save and assign a profile there's an option to add a filter which will allow you to target a profile based on criteria such as the OS version.

One lockdown profile targeted at Android 15 and the other at 16.

If you also combine that with an additional filter that checks that the Google messenger app is installed on the device that's an extra safety measure to ensure it only switches if the app is also truly installed.

Solution
KW

Thank you! And for the extra tip as well, would that be filtered in with the os16 profile? 

Yes that additional filter checking for the google messenger app would be for the profile applied to android 16 only.