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

Add commands for Intune settings catalog policies #4722

Merged
merged 2 commits into from
Jun 5, 2024

Conversation

FabienTschanz
Copy link
Contributor

Pull Request (PR) description

This pull request adds the following commands to the M365DSCDRGUtil module:

  • Get-IntuneSettingCatalogPolicySetting retrieves the settings from the settings catalog template and builds the necessary structure with the values passed in from DSC.
  • Get-IntuneSettingCatalogPolicySettingInstanceValue is called by Get-IntuneSettingCatalogPolicySetting and specifically creates the settings with the DSC values.
  • Export-IntuneSettingCatalogPolicySettings creates a hashtable from the settings catalog settings that can be exported to DSC.
  • Update-IntuneDeviceConfigurationPolicy updates a settings catalog policy since Update-MgBetaDeviceManagementConfigurationPolicy is not working.

All of the commands are a prerequisite for improved support of setting catalog policies in Microsoft365DSC that I'm currently working on.

This Pull Request (PR) fixes the following issues

None.

@NikCharlebois NikCharlebois merged commit 8d7ebe0 into microsoft:Dev Jun 5, 2024
2 checks passed
@FabienTschanz FabienTschanz deleted the feat/centralize-commands branch June 5, 2024 12:42
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.

2 participants