SharePoint and OneDrive allow 400 characters in file/folder/subfolder paths. How to reduce this to 350? Is there any PowerShell or other way?

frob 4,216 Reputation points
2022-10-27T18:26:58.583+00:00

Hi there

SharePoint and OneDrive allow 400 characters in file/folder/subfolder paths. How to reduce this to 350? Is there any PowerShell or other way?

Thanks.

SharePoint
SharePoint
A group of Microsoft Products and technologies used for sharing and managing content, knowledge, and applications.
9,679 questions
OneDrive Management
OneDrive Management
OneDrive: A Microsoft file hosting and synchronization service.Management: The act or process of organizing, handling, directing or controlling something.
1,135 questions
Windows Server PowerShell
Windows Server PowerShell
Windows Server: A family of Microsoft server operating systems that support enterprise-level management, data storage, applications, and communications.PowerShell: A family of Microsoft task automation and configuration management frameworks consisting of a command-line shell and associated scripting language.
5,381 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Xuyan Ding - MSFT 7,561 Reputation points
    2022-10-28T08:09:00.443+00:00

    Hi @forb,

    It's a SharePoint default setting. Per my knowledge, there is no way to reduce the character limit of file paths.


    If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".

    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

    0 comments No comments