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

[IntuneDeviceConfigurationAdministrativeTemplatePolicyWindows10] Get method uses the incorrect property #3869

Closed
ykuijs opened this issue Nov 8, 2023 · 1 comment · Fixed by #3874 or #3895

Comments

@ykuijs
Copy link
Member

ykuijs commented Nov 8, 2023

Description of the issue

Like many other Intune resources is the IntuneDeviceConfigurationAdministrativeTemplatePolicyWindows10 resource using sub classes. One of these classes has a two properties called StringValue (singular) and StringValues (plural):
See here

When looking at the code, the Get method has the following code:
See here

On like 197, the type is called “MultiText” and the value that is retrieved is called “values”. But the property that it is stored in is the singular StringValue property, not plural StringValues property. This needs to get updated

Microsoft 365 DSC Version

Dev

Which workloads are affected

other

The DSC configuration

N/A

Verbose logs showing the problem

N/A

Environment Information + PowerShell Version

PSv5.1
@ykuijs
Copy link
Member Author

ykuijs commented Nov 8, 2023

@William-Francillette As discussed, this is all yours 😉

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant