Tool

Set sensitivity label on file

SetSensitivityLabelOnFile is a powerful Microsoft 365 SharePoint tool designed to assign or modify sensitivity labels on files within SharePoint document libraries. This ensures enhanced data protection and compliance by managing file-level sensitivity directly via file and library IDs.

SharePoint

Features

  • Assign sensitivity labels to specific files using fileId and documentLibraryId parameters.
  • Supports automatic, standard, and privileged methods for label assignment to suit varied organizational policies.
  • Allows removal or downgrading of sensitivity labels with mandatory justification for auditing purposes.
  • Integrated directly with Microsoft 365 SharePoint, facilitating seamless management within familiar environments.
  • Ensures compliance and auditing by capturing justification text during label changes, enhancing traceability.

Benefits

  • Enhances data security by accurately classifying files according to sensitivity.
  • Simplifies management of file protection through direct API control over sensitivity labels.
  • Improves organizational compliance with regulatory standards by enforcing label assignments.
  • Provides audit trail for label changes to support governance and accountability.
  • Reduces risk of data leaks or unauthorized access by maintaining clear sensitivity labeling.

Description

Use this tool for SharePoint document libraries or when you need to specify a drive.Set the sensitivity label of a file (specified by the fileId also called driveItemId) from the specified Document Library (also referred to as a Drive).

Parameters

5 parameters

NameTypeDescription
documentLibraryIdrequiredstring

The document library id also known as driveId of the document library

fileIdrequiredstring

The file id also known as driveItemId of the file

sensitivityLabelIdrequiredstring

Required. ID of the sensitivity label to be assigned, or empty string to remove the sensitivity label.

assignmentMethodstring

Optional. The assignment method of the label on the document.Indicates whether the assignment of the label was done automatically, standard, or as a privileged operation (the equivalent of an administrator operation).Possible values are standard, privileged, auto and unknownFutureValue.

justificationTextstring

Optional. Justification text for audit purposes, and is required when downgrading/removing a label.

Ready to vibe automate?

Join thousands of people who have transformed their workflows.

Workflows

Automations with AI agents

Collections

All your data, searchable

Chat Widget

Drop-in widget for your website

Developer API

Build AI-powered apps with ease

    We use cookies to enhance your experience on Needle and keep your data secure. Privacy Policy