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
- nickdmahanSep 11, 2024Copper Contributor
Mr_Helaas dealing with this now and in fact it is just uninstalling with these settings. Per the learn doc:
Important scenarios exist when including or excluding app assignments:
- Exclusion takes precedence over inclusion in the following same group type scenarios:
Including user groups and excluding user groups when assigning apps
so excluding and including will just exclude.
Any ideas?
- Exclusion takes precedence over inclusion in the following same group type scenarios:
- NielsScheffersAug 05, 2022Iron Contributor
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.