You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The Get-IntuneWin32AppAssignment cmdlet is currently returning the Excluded value for Property GroupMode for 'All Users' and 'All Devices' even if these groups are Included in the assignment scope.
I looked into the cmdlet and I think this behavior occurs because starting on line 187 the $GroupMode variable is declared, the last value Exclude is assigned, the odata.type #microsoft.graph.allDevicesAssignmentTarget is not handled in the switch and the value Exclude is retained and returned in the PSObject.
The Get-IntuneWin32AppAssignment cmdlet is currently returning the Excluded value for Property GroupMode for 'All Users' and 'All Devices' even if these groups are Included in the assignment scope.
I looked into the cmdlet and I think this behavior occurs because starting on line 187 the $GroupMode variable is declared, the last value Exclude is assigned, the odata.type #microsoft.graph.allDevicesAssignmentTarget is not handled in the switch and the value Exclude is retained and returned in the PSObject.
The text was updated successfully, but these errors were encountered: