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

Inconsistent type for SPOTenantSettings.DisabledWebPartIds #4086

Closed
pkernevez opened this issue Dec 22, 2023 · 0 comments · Fixed by #4088 or #4101
Closed

Inconsistent type for SPOTenantSettings.DisabledWebPartIds #4086

pkernevez opened this issue Dec 22, 2023 · 0 comments · Fixed by #4088 or #4101

Comments

@pkernevez
Copy link
Contributor

Description of the issue

When the SPOTenantSettings.DisabledWebPartIds it creates an issue during the export

Write-Error: Invalid MOF definition for node 'localhost': Exception calling "ValidateInstanceText" with "1" argument(s): "Convert
property 'DisabledWebPartIds' value from type 'STRING[]' to type 'STRING' failed  At line:586, char:2  Buffer:
"M365TenantConfig"; };^ insta "

This is due to the inconsistence between types in shema (String) and all the other files (String[]).

Microsoft 365 DSC Version

DEV

Which workloads are affected

SharePoint Online

The DSC configuration

No response

Verbose logs showing the problem

Write-Error: Invalid MOF definition for node 'localhost': Exception calling "ValidateInstanceText" with "1" argument(s): "Convert
property 'DisabledWebPartIds' value from type 'STRING[]' to type 'STRING' failed  At line:586, char:2  Buffer:
"M365TenantConfig"; };^ insta "

Environment Information + PowerShell Version

No response

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