Tech Community Live: Endpoint Manager edition
Jul 21 2022, 08:00 AM - 12:00 PM (PDT)
SOLVED

Uninstalling conflict

%3CLINGO-SUB%20id%3D%22lingo-sub-3421942%22%20slang%3D%22es-ES%22%3EUninstalling%20conflict%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-3421942%22%20slang%3D%22es-ES%22%3E%3CP%3EHi%20to%20all.%3C%2FP%3E%3CP%3EI%20have%20a%20doubt%20when%20assinging%20a%20group%20to%20uninstall%20an%20app%20from%20a%20device.%20Look%20at%20the%20context%3A%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI%20have%20an%20app%20which%20is%20assigned%20to%20be%20installed%20to%20all%20computers%20in%20a%20group%20(Intune-computers).%20Now%2C%20I%20need%20to%20uninstall%20that%20app%20from%20just%20one%20of%20those%20computers%2C%20so%20I%20put%20that%20computer%20in%20a%20new%20group%20(app-X-uninstalling)%20and%20my%20question%20is%3A%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EHow%20does%20the%20system%20behave%20in%20this%20situation%3F%3C%2FP%3E%3CP%3EThe%20computer%20is%20in%20the%20group%20of%20installing%20(because%20is%20being%20applied%20to%20all%20computers%20with%20Intune)%20and%20at%20the%20same%20time%20the%20computer%20is%20in%20a%20group%20of%20uninstalling%20that%20app.%20Will%20Intune%20uninstall%20the%20app%20for%20that%20computer%3F%20Will%20Intune%20then%20install%20it%20again%20as%20the%20computer%20is%20still%20in%20the%20aiming%20group%20to%20install%20it%3F%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EWhich%20is%20the%20best%20way%20to%20do%20it%3F%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThanks%20in%20advance.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-3421942%22%20slang%3D%22es-ES%22%3E%3CLINGO-LABEL%3EIntune%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EMobile%20Application%20Management%20(MAM)%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3ESoftware%20Management%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-3432794%22%20slang%3D%22en-US%22%3ERe%3A%20Uninstalling%20conflict%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-3432794%22%20slang%3D%22en-US%22%3E%3CP%3EUninstall%20has%20a%20higher%20preference%2C%20so%20if%20the%20device%20is%20in%20both%20install%20and%20uninstall%20groups..%20It%20will%20just%20uninstall%20and%20not%20install%20again.%3CBR%20%2F%3E%3CBR%20%2F%3EImportant%20scenarios%20exist%20when%20including%20or%20excluding%20app%20assignments%3A%3CBR%20%2F%3E%3CBR%20%2F%3EExclusion%20takes%20precedence%20over%20inclusion%20in%20the%20following%20same%20group%20type%20scenarios%3A%3CBR%20%2F%3E%3CBR%20%2F%3EIncluding%20user%20groups%20and%20excluding%20user%20groups%20when%20assigning%20apps%3CBR%20%2F%3E%3CBR%20%2F%3EIncluding%20device%20groups%20and%20excluding%20device%20group%20when%20assigning%20apps%3CBR%20%2F%3E%3CBR%20%2F%3EFor%20example%2C%20if%20you%20assign%20a%20device%20group%20to%20the%20All%20corporate%20users%20user%20group%2C%20but%20exclude%20members%20in%20the%20Senior%20Management%20Staff%20user%20group%2C%20All%20corporate%20users%20except%20the%20Senior%20Management%20staff%20get%20the%20assignment%2C%20because%20both%20groups%20are%20user%20groups.%3CBR%20%2F%3E%3CBR%20%2F%3EIntune%20doesn't%20evaluate%20user-to-device%20group%20relationships.%20If%20you%20assign%20apps%20to%20mixed%20groups%2C%20the%20results%20may%20not%20be%20what%20you%20want%20or%20expect.%3CBR%20%2F%3E%3CBR%20%2F%3EFor%20example%2C%20if%20you%20assign%20a%20device%20group%20to%20the%20All%20Users%20user%20group%2C%20but%20exclude%20an%20All%20personal%20devices%20device%20group.%20In%20this%20mixed%20group%20app%20assignment%2C%20All%20users%20get%20the%20app.%20The%20exclusion%20does%20not%20apply.%3CBR%20%2F%3E%3CBR%20%2F%3EAs%20a%20result%2C%20it's%20not%20recommended%20to%20assign%20apps%20to%20mixed%20groups.%3CBR%20%2F%3E%3CBR%20%2F%3E%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fmem%2Fintune%2Fapps%2Fapps-inc-exl-assignments%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%22%3Ehttps%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fmem%2Fintune%2Fapps%2Fapps-inc-exl-assignments%3C%2FA%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-3432898%22%20slang%3D%22es-ES%22%3ERe%3A%20Uninstalling%20conflict%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-3432898%22%20slang%3D%22es-ES%22%3EThanks%20for%20your%20reply!%3C%2FLINGO-BODY%3E
New Contributor

Hi to all.

I have a doubt when assinging a group to uninstall an app from a device. Look at the context:

 

I have an app which is assigned to be installed to all computers in a group (Intune-computers). Now, I need to uninstall that app from just one of those computers, so I put that computer in a new group (app-X-uninstalling) and my question is:

 

How does the system behave in this situation?

The computer is in the group of installing (because is being applied to all computers with Intune) and at the same time the computer is in a group of uninstalling that app. Will Intune uninstall the app for that computer? Will Intune then install it again as the computer is still in the aiming group to install it?

 

Which is the best way to do it? 

 

Thanks in advance.

2 Replies
best response confirmed by afuentessa (New Contributor)
Solution

Uninstall has a higher preference, so if the device is in both install and uninstall groups.. It will just uninstall and not install again.

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

Including device groups and excluding device group when assigning apps

For example, if you assign a device group to the All corporate users user group, but exclude members in the Senior Management Staff user group, All corporate users except the Senior Management staff get the assignment, because both groups are user groups.

Intune doesn't evaluate user-to-device group relationships. If you assign apps to mixed groups, the results may not be what you want or expect.

For example, if you assign a device group to the All Users user group, but exclude an All personal devices device group. In this mixed group app assignment, All users get the app. The exclusion does not apply.

As a result, it's not recommended to assign apps to mixed groups.

https://docs.microsoft.com/en-us/mem/intune/apps/apps-inc-exl-assignments

Thanks for your reply!