Auto labeling on sharepoint doesn't take in URL?

Mark Sannuti (C-Admin) 85 Reputation points
2025-04-24T18:36:21.9633333+00:00

I can't seem to apply the URL listed in the screenshot to the auto labeling policy as it doesn't seem to inherit from the main URL .../sites/DataManagement/. However, I don't get the error when adding up to the /sites/DataManagement/ part (which is used as the site name URL). I can add that part successfully. But my goal is to auto label on the site listed in the client error message. Any suggestions?

User's image

Microsoft Purview
Microsoft Purview
A Microsoft data governance service that helps manage and govern on-premises, multicloud, and software-as-a-service data. Previously known as Azure Purview.
1,575 questions
{count} votes

Accepted answer
  1. Chandra Boorla 12,595 Reputation points Microsoft External Staff Moderator
    2025-04-24T19:32:37.4566667+00:00

    @Mark Sannuti (C-Admin)

    You're correct, auto-labeling policies in Microsoft Purview (via the Microsoft 365 Compliance Center) only support scoping down to the site level, not to specific folders or library views.

    For example, this is supported:

    https://southjerseyindustries.sharepoint.com/sites/DataManagement
    

    Attempting to include more specific paths like:

    .../General/Forms/AllItems.aspx
    

    are not valid. These deeper URLs typically represent document library views or folder-level UI components and aren't supported as scoping targets in auto-labeling policies.

    Recommended Approach

    • Set the policy scope to the root of the site: https://southjerseyindustries.sharepoint.com/sites/DataManagement
    • Then, use conditions within the policy (such as sensitive info types, specific keywords, or metadata filters) to target the content you're interested in — like files within the "General" document library.

    This way, all content within the site will be evaluated, and labels will only be applied where your defined conditions are met. I hope this information helps. Please do let us know if you have any further queries.


    If this answers your query, do click Accept Answer and Yes for was this answer helpful. And, if you have any further query do let us know. Thank you.

    1 person found this answer helpful.

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.