Skip to content

Commit

Permalink
Always include 'ExcludeApplication' AADConditionalAccessPolicy: Exclu…
Browse files Browse the repository at this point in the history
…deApplications are not enforced microsoft#3885
  • Loading branch information
sandrola committed Nov 20, 2023
1 parent 433af4d commit 30755ce
Showing 1 changed file with 1 addition and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -941,10 +941,7 @@ function Set-TargetResource
{
$conditions.Applications.Add('IncludeApplications', $IncludeApplications)
}
if ($ExcludeApplications)
{
$conditions.Applications.Add('ExcludeApplications', $ExcludeApplications)
}
$conditions.Applications.Add('ExcludeApplications', $ExcludeApplications)
if ($IncludeUserActions)
{
$conditions.Applications.Add('IncludeUserActions', $IncludeUserActions)
Expand Down

0 comments on commit 30755ce

Please sign in to comment.