does the 400 character limits for file url length cover the site url and list url?

john john Pter 400 Reputation points
2023-12-21T02:25:31.4066667+00:00

Inside SharePoint limitation @ https://learn.microsoft.com/en-us/office365/servicedescriptions/sharepoint-online-service-descriptio... it is mentioned that file path can only be 400 characters, does this include the tenant, site and library URLs?

SharePoint
SharePoint
A group of Microsoft Products and technologies used for sharing and managing content, knowledge, and applications.
11,068 questions
0 comments No comments
{count} votes

Accepted answer
  1. Ling Zhou_MSFT 20,710 Reputation points Microsoft Vendor
    2023-12-21T06:49:50.42+00:00

    Hi @john john Pter,

    Thank you for posting in this community.

    The 400-character limit includes the length of your site name, document library name, folders, and file. It does not count the characters in the domain/tenant name.

    For example, if the folder/document URL is

    crescent.sharepoint.com/ sites/accounting/Shared Documents/Folder A/Document 123, it only counts the characters highlighted in BOLD above (starting with sites).


    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

0 additional answers

Sort by: Most helpful

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.