-
Notifications
You must be signed in to change notification settings - Fork 527
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
IntuneDeviceConfigurationPolicyMacOS : At least one of the values 'delayAppUpdateVisibility,delayMajorOsUpdateVisibility' is not supported #2731
Comments
The parameter UpdateDelayPolicy is stored and returned as a string, but is an array of values under the covers (comma separated string). This means that it needs to get split on the comma character. A second issue is that the current parameter is a string value, instead of an array value. This needs to get updated as well. Working on correcting this issue. |
I've just updated and checked, but the error is still there for me. |
I see what the difference is between the two values you shared. Will investigate and correct the issue. |
I believe the updateDelayPolicy should be a single value and not an array as it is an enum |
Not quite, the updateDelayPolicy can contain multiple values in Intune. Before the previous PR, this resulted in errors because the cmdlets return multiple values and the config only accepts a single value. |
Can you check how many policies are returned by the get cmdlet |
Is on my Test tenant and I only have one TestDSC policy 😉 |
My bad Yorick! |
Have updated the code. In my previous PR I made a stupid copy/paste mistake. New fix will be included in a next PR |
Details of the scenario you tried and the problem that is occurring
This happens after an export of the workload of Intune.
Verbose logs showing the problem
Microsoft365DSC\IntuneDeviceConfigurationPolicyMacOS : At least one of the values 'delayAppUpdateVisibility,delayMajorOsUpdateVisibility' is not supported or valid for property 'UpdateDelayPolicy' on class 'IntuneDeviceConfigurationPolicyMacOS'. Please specify only supported values:
none, delayOSUpdateVisibility, delayAppUpdateVisibility, unknownFutureValue, delayMajorOsUpdateVisibility.
At Path/filename.ps1:1589 char:9
Suggested solution to the issue
The DSC configuration that is used to reproduce the issue (as detailed as possible)
Version of the DSC module that was used ('dev' if using current dev branch)
1.22.1221.1
The text was updated successfully, but these errors were encountered: