A group of Microsoft Products and technologies used for sharing and managing content, knowledge, and applications.
Hi @Andrew Warland,
Thank you for posting your question in the Microsoft Q&A forum.
Based on your description where columns exist at the site level and show values in exports, but are hidden (Hidden = True) at the library level with CanToggleHidden = FALSE in the SchemaXML. The CanToggleHidden property controls whether the Hidden attribute can be changed, and when it is set to FALSE, PowerShell commands like Set-PnPField or Remove-PnPField will fail with errors such as "Cannot change Hidden attribute for this field" or "You cannot delete a hidden column."
Given that this scenario involves SchemaXML-level configurations that cannot be modified through standard PowerShell or UI operations, I recommend engaging Microsoft Support for further assistance. A technical support engineer can:
Investigate whether reflection-based approaches are viable in your specific SharePoint Online tenant
Verify backend configurations and run any required diagnostics
Provide guidance on whether the columns can be safely modified without data loss, or if a library migration approach is the most appropriate solution
The Global Admin should create a service request with Microsoft support for advanced technical assistance. For detailed instructions, please refer to Get support - Microsoft 365 admin.
As a fellow forum user, I don't have access to internal service logs, backend diagnostics, or engineering dashboards. Scenarios involving SchemaXML properties like CanToggleHidden typically require backend-level investigation that only Microsoft's support engineering teams can provide.
Thank you again for your time and understanding. I really appreciate your patience, and I'm here to help. Looking forward to your response.
Note: Please follow the steps in the forum documentation to enable e-mail notifications if you want to receive the related email notification for this thread.