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
-
Log in to Microsoft Purview Portal: https://purview.microsoft.com/
-
Go to Solutions > Information protection > Labels.
outputclass="Show_Thumbnail_in_HTML" href="../../Images/Images-for-HEB-AG/UUIDsLabels.png"/>
-
Click the label name for which you want to find the UUID.
-
Copy the UUID in the Label ID or GUID section.
-
Install the Exchange Online Management Module
The Microsoft Purview Security & Compliance PowerShell uses the Exchange Online Management Module for connection.
-
Open PowerShell as an Vars_Other.tp_admin.
-
Run the following command:
Install-Module -Name ExchangeOnlineManagement -Force -
If the system prompts to install
NuGetor trust the repository, enterYand press Enter.
-
-
Connect to the Microsoft Purview Security & Compliance Center.
-
Run the following command to create a session:
Connect-IPPSSession -
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.
- 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.
-
-
To view the UUID of the labels, run the following commands:
Get-Label | Select-Object DisplayName, Name, Guid
-
Copy the UUID of the labels.
-
To disconnect the session, run the following command:
Disconnect-ExchangeOnline
Copy
Copy
File upload
Paste