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

IntuneSettingCatalogCustomPolicyWindows10: Fails to generate its documentation #3300

Closed
ricmestre opened this issue May 12, 2023 · 0 comments · Fixed by #3301 or #3318
Closed

IntuneSettingCatalogCustomPolicyWindows10: Fails to generate its documentation #3300

ricmestre opened this issue May 12, 2023 · 0 comments · Fixed by #3301 or #3318

Comments

@ricmestre
Copy link
Contributor

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

When running Update-M365DSCResourceDocumentationPage the resource IntuneSettingCatalogCustomPolicyWindows10 fails since the schema has one empty CIMInstance and this makes the cmdlet fail, see below

Verbose logs showing the problem

Get-DscResourceSchemaPropertyContent : Cannot bind argument to parameter 'Property' because it is null.
At C:\Users\ptmestrer\Documents\GitHub\Microsoft365DSC\Modules\Microsoft365DSC\Modules\M365DSCDocGenerator.psm1:597 char:83
+ ... rceSchemaPropertyContent -Property $embeddedSchema.Attributes -UseMar ...
+                                        ~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : InvalidData: (:) [Get-DscResourceSchemaPropertyContent], ParameterBindingValidationException
    + FullyQualifiedErrorId : ParameterArgumentValidationErrorNullNotAllowed,Get-DscResourceSchemaPropertyContent

Suggested solution to the issue

Add missing properties to schema

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

N/A

The operating system the target node is running

Win10

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

1.23.510.1

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