Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

AADFeatureRolloutPolicy: Fix policy retrieval #5522

Merged
merged 1 commit into from
Dec 10, 2024
Merged

Conversation

ricmestre
Copy link
Contributor

Pull Request (PR) description

After policy is created currently is not possible to retrieve it, this is because policies are being created without AdditionalProperties field and @odata.type is therefore not available which leads to when trying retrieve the policies and filter them by @odata.type it won't find any.

This PR fixes this by removing the filter by @odata.type since is not required.

This Pull Request (PR) fixes the following issues

Task list

  • Added an entry to the change log under the Unreleased section of the file CHANGELOG.md.
    Entry should say what was changed and how that affects users (if applicable), and
    reference the issue being resolved (if applicable).
  • Resource parameter descriptions added/updated in the schema.mof.
  • Resource documentation added/updated in README.md.
  • Resource settings.json file contains all required permissions.
  • Examples appropriately added/updated.
  • Unit tests added/updated.
  • New/changed code adheres to DSC Community Style Guidelines.

Copy link
Member

@ykuijs ykuijs left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@ykuijs ykuijs merged commit 157d1be into microsoft:Dev Dec 10, 2024
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

AADFeatureRolloutPolicy: Get-TargetResource doesn't find policies already created
2 participants