Is it possible to programmatically select folders in a library from displaying or not in OneDrive

Rohman, William T 20 Reputation points
2024-05-03T20:17:59.3933333+00:00

Good Afternoon,

Does anyone know if it's programmatically possible to develop a script where it would be able to turn 'on' or 'off' (to make visible or not) the folders in a user's OneDrive sync from a SharePoint Library?

As shown here:

User's image

I suspect that the only language capable of doing it would be PowerShell (certainly could be wrong though).

Thanks for everyone's time and effort, Peace,

OneDrive
OneDrive
A Microsoft file hosting and synchronization service.
847 questions
SharePoint
SharePoint
A group of Microsoft Products and technologies used for sharing and managing content, knowledge, and applications.
9,793 questions
PowerShell
PowerShell
A family of Microsoft task automation and configuration management frameworks consisting of a command-line shell and associated scripting language.
2,132 questions
0 comments No comments
{count} votes