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
When reviewing the NetworkProxyServer property, the output is this:
Key Value
--- -----
address proxy.contoso.com:8080
exceptions {*.contoso.com...
useForLocalAddresses False
Verbose logs showing the problem
##[error]Property networkProxyServer 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
I think the fix is to update the NetworkProxyServer property to the a CIMInstance:
Address: String
Exceptions: String[]
UseForLocalAddresses: Boolean
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:
Details of the scenario you tried and the problem that is occurring
The NetworkProxyServer property is defined as a string array in the schema of the resource:
Microsoft365DSC/Modules/Microsoft365DSC/DSCResources/MSFT_IntuneDeviceConfigurationPolicyWindows10/MSFT_IntuneDeviceConfigurationPolicyWindows10.schema.mof
Line 162 in 296250b
However, the Get method returns the property directly and is outputting a Dictionary object. In the Export, this is resulting in the following output:
When reviewing the NetworkProxyServer property, the output is this:
Verbose logs showing the problem
Suggested solution to the issue
I think the fix is to update the NetworkProxyServer property to the a CIMInstance:
Address: String
Exceptions: String[]
UseForLocalAddresses: Boolean
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: