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

error processing property 'EdgeEnterpriseModeSiteListLocation' OF TYPE 'IntuneDeviceConfigurationPolicyWindows10' #2732

Closed
hvdbrink opened this issue Jan 3, 2023 · 1 comment · Fixed by #2734 or #2745
Assignees
Labels
Bug Something isn't working Intune

Comments

@hvdbrink
Copy link

hvdbrink commented Jan 3, 2023

Details of the scenario you tried and the problem that is occurring

This happens after an export of the workload of Intune and I try to compile the file.

Verbose logs showing the problem

ConvertTo-MOFInstance : System.ArgumentException error processing property 'EdgeEnterpriseModeSiteListLocation' OF TYPE 'IntuneDeviceConfigurationPolicyWindows10': Cannot convert value "System.String" to type "System.Boolean". Boolean parameters accept only Boolean values and numbers, such as $True, $False, 1 or 0.
At path\filename.ps1:1937 char:9

  • IntuneDeviceConfigurationPolicyWindows10
    At line:341 char:16
  • $aliasId = ConvertTo-MOFInstance $keywordName $canonicalizedValue
    

Suggested solution to the issue

The DSC configuration that is used to reproduce the issue (as detailed as possible)

EdgeEnterpriseModeSiteListLocation = "https://xxx.companyxyz.com/xxxSiteList.xml";

Item above is the output we get from the export in the file.

Version of the DSC module that was used ('dev' if using current dev branch)

1.22.1221.1

@ykuijs ykuijs self-assigned this Jan 3, 2023
@ykuijs ykuijs added Bug Something isn't working Intune labels Jan 3, 2023
@ykuijs
Copy link
Member

ykuijs commented Jan 3, 2023

The type is defined as Boolean in the resource schema. Will correct this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Something isn't working Intune
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants