Hello,
Thank you for posting in Q&A forum.
For Enterprise ModernApp Management CSP, if you first install a lower version of the application and then attempt to install a higher version, it is usually upgraded rather than uninstalled. A higher version of the application will replace the lower version and retain the application's configuration and data.
Hope this answer can help you well.
Best regards,
Jill Zhou