Forum Discussion
Auto uninstall applications
Hi SimonA730,
Yes, it is possible. What you could try is the following, set the uninstall assignment for all users with an exclude on your application group and set the application group as included for required or optional.
When the user is added to All Sales Users it will get the application, when he is removed from the group the app will automatically be deleted.
More information: Include and exclude app assignments in Microsoft Intune | Microsoft Docs
Kind regards,
Rene
Lol, Mr_Helaas beat me to it. Just wanted to add a little further explanation.
If you look at https://docs.microsoft.com/en-us/mem/intune/apps/apps-windows-10-app-deploy and scroll way down to the bottom, you'll see something about conflict resolutions, stating "An install policy is a higher priority than an uninstall policy".
This is why Rene's solution works: the "required" (or "available") assignment overrules the "uninstall" assignment.