You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
However, when this property is written back to the Graph, it is not formatted properly, resulting in the below error
When you select the option "Custom Value" in the Admin Portal, the property '' doesn't exist, but 'edgeSearchEngineOpenSearchXmlUrl' is added with the value entered in the Admin Portal: edgeSearchEngineOpenSearchXmlUrl https://test.nl/test.xml
##[error]Property edgeSearchEngine in payload has a value that does not match schema.
+ CategoryInfo : InvalidOperation: ({ body = Micros...onfiguration1 }:) [], CimException
+ FullyQualifiedErrorId : BadRequest,Microsoft.Graph.PowerShell.Cmdlets.NewMgDeviceManagementDeviceConfiguration_C
reateExpanded
+ PSComputerName : localhost
Suggested solution to the issue
When writing back the config, the correct sub property needs to get selected.
When the provided value is an URL, the other property needs to get populated. The Get method also needs updating in this case to reflect this. As well as the description in the schema.
The DSC configuration that is used to reproduce the issue (as detailed as possible)
Details of the scenario you tried and the problem that is occurring
There are two issues with the EdgeSearchEngine property:
Microsoft365DSC/Modules/Microsoft365DSC/DSCResources/MSFT_IntuneDeviceConfigurationPolicyWindows10/MSFT_IntuneDeviceConfigurationPolicyWindows10.psm1
Line 1081 in 296250b
edgeSearchEngineOpenSearchXmlUrl https://test.nl/test.xml
https://github.com/microsoft/Microsoft365DSC/blob/Dev/Modules/Microsoft365DSC/DSCResources/MSFT_IntuneDeviceConfigurationPolicyWindows10/MSFT_IntuneDeviceConfigurationPolicyWindows10.schema.mof#L181
Verbose logs showing the problem
Suggested solution to the issue
The DSC configuration that is used to reproduce the issue (as detailed as possible)
The operating system the target node is running
Windows 11
Version of the DSC module that was used ('dev' if using current dev branch)
dev
The text was updated successfully, but these errors were encountered: