UiPath Documentation
activities
latest
false
UiPath logo, featuring letters U and I in white

Productivity activities

Last updated Apr 6, 2026

Assign Sensitivity Label To Email

UiPath.MicrosoftOffice365.Activities.Mail.AssignSensitivityLabelToEmailConnections

Note:

This activity is available in preview.

Description

Assigns, updates, or removes a sensitivity label to or from an existing Outlook 365 email.

Sensitivity labels are applied through the Microsoft Graph API. To get the sensitivity label IDs, check with the administrator of your organization.

For more information, refer to Working with sensitivity labels.

Scopes

This activity requires the following scopes:

  • Mail.ReadWrite

OR

  • Mail.ReadWrite.Shared

Project compatibility

Windows | Cross-platform

Configuration

  • Microsoft Outlook 365 connection - The connection for the Microsoft 365 account to use in the activity.
  • Email - The email to assign a sensitivity label to. This field supports Office365Message type input.
  • Action - The action to be applied for the sensitivity label:
    • Update - Updates the sensitivity label of the email.
    • Clear - Removes the sensitivity label from the email.
  • Sensitivity label ID - The sensitivity label ID to be assigned to the specified email. This field supports String type input. This field is displayed when you select the Update action.
Note:
  • Contact your administrator to get the list of IDs for the sensitivity labels used across your organization.
  • For more details on the plus menu options, check Designing automations.
  • Description
  • Scopes
  • Project compatibility
  • Configuration

Was this page helpful?

Connect

Need help? Support

Want to learn? UiPath Academy

Have questions? UiPath Forum

Stay updated