Step 1 - Copy the Microsoft Sensitivity label names and their UUIDs from Microsoft Purview

Step 1 - Copy the Microsoft Sensitivity label names and their UUIDs from Microsoft Purview

  1. Log in to Microsoft Purview Portal: https://purview.microsoft.com/

  2. Go to Solutions > Information protection > Labels.

    outputclass="Show_Thumbnail_in_HTML" href="../../Images/Images-for-HEB-AG/UUIDsLabels.png"/>

  3. Click the label name for which you want to find the UUID.

  4. Copy the UUID in the Label ID or GUID section.

  1. Install the Exchange Online Management Module

    The Microsoft Purview Security & Compliance PowerShell uses the Exchange Online Management Module for connection.

    1. Open PowerShell as an Vars_Other.tp_admin.

    2. Run the following command:

      Install-Module -Name ExchangeOnlineManagement -Force

    3. If the system prompts to install NuGet or trust the repository, enter Y and press Enter.

  2. Connect to the Microsoft Purview Security & Compliance Center.

    1. Run the following command to create a session:

      Connect-IPPSSession

    2. In the Microsoft login page that appears, authenticate with the Vars_CloudGuard.tp_Microsoft365 Vars_Other.tp_admin credentials.

      Note:

      The Vars_Other.tp_admin must have Compliance Administrator or Information Protection Administrator roles.

    3. If your Microsoft Purview portal has Vars_Other.tp_mfa_full (Vars_Other.tp_mfa_short), complete the Vars_Other.tp_mfa_short process.

    Once authenticated, the session connects to the Microsoft Purview Security & Compliance Center.

    Now, you can run Microsoft Purview Security & Compliance PowerShell commands, such as managing labels, policies, or settings.

  3. To view the UUID of the labels, run the following commands:

    Get-Label | Select-Object DisplayName, Name, Guid

    UUDI command example

  4. Copy the UUID of the labels.

  5. To disconnect the session, run the following command:

    Disconnect-ExchangeOnline

Copy

Copy

File upload

Paste