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

IntuneSettingCatalogCustomPolicyWindows10: Export-M365DSCConfiguration converts double quotes to escape characters #5697

Open
simonovicm opened this issue Jan 30, 2025 · 0 comments

Comments

@simonovicm
Copy link

simonovicm commented Jan 30, 2025

Description of the issue

I've got a configuration policy in Intune to configure Edge favorites:

Image

When I try to export this configuration policy using 'Export-M365DSCConfiguration -Components @("IntuneSettingCatalogCustomPolicyWindows10")' command, it changes double quotes to escape characters which is causing production issue:

Image

Microsoft 365 DSC Version

1.25.129.1

Which workloads are affected

Intune

The DSC configuration

#M365DSC
Command: Export-M365DSCConfiguration

#Intune
Component: 
 Name: IntuneSettingCatalogCustomPolicyWindows10
 Settings: 
  Category: Microsoft Edge
  Name: Configure favorites

Verbose logs showing the problem

N/A

Environment Information + PowerShell Version

OsName               : Microsoft Windows 11 Enterprise
OsOperatingSystemSKU : EnterpriseEdition
OsArchitecture       : 64-bit
WindowsVersion       : 2009
WindowsBuildLabEx    : 26100.1.amd64fre.ge_release.240331-1435
OsLanguage           : en-GB
OsMuiLanguages       : {en-GB, en-US, sk-SK}

Key   : PSVersion
Value : 5.1.26100.2161
Name  : PSVersion

Key   : PSEdition
Value : Desktop
Name  : PSEdition

Key   : PSCompatibleVersions
Value : {1.0, 2.0, 3.0, 4.0...}
Name  : PSCompatibleVersions

Key   : BuildVersion
Value : 10.0.26100.2161
Name  : BuildVersion

Key   : CLRVersion
Value : 4.0.30319.42000
Name  : CLRVersion

Key   : WSManStackVersion
Value : 3.0
Name  : WSManStackVersion

Key   : PSRemotingProtocolVersion
Value : 2.3
Name  : PSRemotingProtocolVersion

Key   : SerializationVersion
Value : 1.1.0.1
Name  : SerializationVersion
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

No branches or pull requests

1 participant