Skip to content

Commit

Permalink
Merge pull request #3953 from swisscom/fix/#3885-AADConditionalAccess…
Browse files Browse the repository at this point in the history
…Policy

Fix/#3885 aad conditional access policy
  • Loading branch information
NikCharlebois authored Jan 8, 2024
2 parents b86799e + 0b3b719 commit 0a48da8
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,10 @@
* AADConditionalAccessPolicy
* Added support for application filters in the conditions.

# UNRELEASED
* AADConditionalAccessPolicy
* FIXES [[#3885](https://github.com/microsoft/Microsoft365DSC/issues/3885)]

# 1.24.103.1

* AADConditionalAccessPolicy
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -958,7 +958,7 @@ function Set-TargetResource
{
$conditions.Applications.Add('IncludeApplications', $IncludeApplications)
}
if ($ExcludeApplications)
if ($currentParameters.ContainsKey("ExcludeApplications"))
{
$conditions.Applications.Add('ExcludeApplications', $ExcludeApplications)
}
Expand Down

0 comments on commit 0a48da8

Please sign in to comment.