Open crcobb opened 7 months ago
Forgive me if I don't recall the specific resulting scenario here, but setting the same group as required and available, I think that's essentially just evaluated as required by Intune. It's been some time since I tested that, so my memory may betray me here.
I already opend the issue #85 regarding this case
If you want to add the same Group to different intents for an application you receive a warning that a win32 app assignment exists. Looking at the code the intent isn't taken into account when testing the group.
Add-IntuneWin32AppAssignmentGroup -ID $Win32App -Include -GroupID $GroupID -Intent required -Verbose -Notification showReboot Add-IntuneWin32AppAssignmentAllUsers -ID $WIn32App -Intent uninstall -Notification showReboot -Verbose Add-IntuneWin32AppAssignmentGroup -ID $Win32App -Exclude -GroupID $GroupID -Intent uninstall -Verbose