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,241 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.
11,110 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,329 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,607 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Xuyan Ding - MSFT 7,586 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

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.