Share via

enforcing the labels

Nikitha Cheemati 170 Reputation points
2025-05-29T13:44:01.9766667+00:00

Hi - I've deployed IP scanner with the below configurations under content scan job(and mentioned as 'content scan job default' for the repository configuration). I'm looking to enforce labels now. So, I could see that, 4 labels were configured under Information protection-> sensitivity labels. As per my understanding, we need to create more labels if we want under sensitivity labels and also to enable 'Enforce sensitivity labelling policy' option under content scan job configuration?

Is that all required to enable labelling after deploying Scanner? (i mean, do i need to enable any other options here?)

User's image

Microsoft Security | Microsoft Purview
0 comments No comments

3 answers

Sort by: Most helpful
  1. Peter Thomas 1 Reputation point
    2025-06-09T09:59:03.6966667+00:00

    The main issue we are experiencing is linked to the separation of accounts: the NTFS scanner account has local AD/NTFS permissions and (due to the configuration) the Purview account is Entra ID only. How can we delegate write (label) permissions to the on-premises account that is not sync'd from AD to Entra? UPDATE: The above account separation was not the issue. Enabling "Label files based on content" and "Relabel files" with a custom Default Label worked. However this did not auto-detect sensitive content and apply higher levels of labeling that was defined in our auto-labeling policy.

    Was this answer helpful?

    0 comments No comments

  2. Dora-T 13,745 Reputation points Microsoft External Staff Moderator
    2025-05-29T14:34:20.5166667+00:00

    Hi @Niharika Ch

    Thank you for reaching out to Microsoft Q&A Support.  

    To perform labeling effectively with the Microsoft Purview Information Protection scanner, you don’t necessarily need to enable all options, but it depends on your labeling goals. 

    I wanted to share some important details regarding the configuration of the sensitivity labeling policy for the scanner, particularly in relation to how labels are applied to files within data repositories. 

    Helpful articles: 

    Issues with Microsoft Purview Information Protection scanner - Microsoft 365 | Microsoft Learn 

    Using the Purview Information Protection Scanner to do Sensitive File Inventory and Background Labeling | Practical365 

    Note: Microsoft is providing this information as a convenience to you. The sites are not controlled by Microsoft. Microsoft cannot make any representations regarding the quality, safety, or suitability of any software or information found there. Please make sure that you completely understand the risk before retrieving any suggestions from the above link 


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

    Note: Please follow the steps in our documentation to enable email notifications if you want to receive updates for this thread. 

    Was this answer helpful?


  3. Venkat Reddy Navari 5,840 Reputation points Microsoft External Staff Moderator
    2025-05-29T14:24:15.28+00:00

    Hi @Niharika Ch You're on the right track, deploying the AIP scanner and configuring the content scan job is the first step. To enforce labeling after deployment, you'll need to make a few adjustments in your content scan job settings:

    From your screenshot, the “Enforce sensitivity labeling policy” toggle is currently Off. You should switch this to “On” to ensure that labeling is enforced based on your published sensitivity labels.

    Additionally, consider enabling the following for full labeling functionality:

    1. Label files based on content: Turn this On if you want the scanner to automatically apply labels based on file content matching conditions in your sensitivity labels.
    2. Enable DLP policy rules (optional): Enable this if you want to apply Data Loss Prevention policies during the scan.
    3. Default label (optional): You can set a default label to apply to files that don’t match any label condition, though this depends on your labeling strategy.
    4. Relabel files (optional): Turn this On if you want existing labels to be overwritten when a higher-sensitivity label is detected.

    Also, make sure the sensitivity labels are published to the Scanner service account and the Scanner has the required permissions (e.g., Information Protection Admin role). After updating these settings, republish the scan job. 


    Hope this helps. Do let us know if you any further queries.

    If this answers your query, do click Accept Answer and Yes for was this answer helpful.

    Was this answer helpful?


Your answer

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