Skip to content

Commit

Permalink
Merge pull request #5522 from ricmestre/Dev
Browse files Browse the repository at this point in the history
AADFeatureRolloutPolicy: Fix policy retrieval
  • Loading branch information
ykuijs authored Dec 10, 2024
2 parents 55ba015 + 5d00a02 commit 157d1be
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,9 @@

# UNRELEASED

* AADFeatureRolloutPolicy
* Fixed policy retrieval
FIXES [#5521](https://github.com/microsoft/Microsoft365DSC/issues/5521)
* IntuneDeviceManagementAndroidDeviceOwnerEnrollmentProfile
* Fixing issue with the way the QrCodeImage property was exported and handled.
* IntuneFirewallPolicyWindows10
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -98,10 +98,7 @@ function Get-TargetResource
{
$getValue = Get-MgBetaPolicyFeatureRolloutPolicy `
-Filter "DisplayName eq '$DisplayName'" `
-ErrorAction SilentlyContinue | Where-Object `
-FilterScript {
$_.AdditionalProperties.'@odata.type' -eq '#microsoft.graph.FeatureRolloutPolicy'
}
-ErrorAction SilentlyContinue
}
}
#endregion
Expand Down

0 comments on commit 157d1be

Please sign in to comment.