Example: New-Label -Identity General -AdvancedSettings For more information, see Use sensitivity labels to configure the default sharing link type for sites and documents in SharePoint and OneDrive.ĭefaultShareLinkPermission: Specifies the permissions for the sharing link for a site when the label scope includes Groups & sites, and the permissions for the sharing link for a document when the label scope includes Files & emails. Available values are SpecificPeople, Organization, and Anyone. Supported settings for built-in labeling:ĭefaultSharingScope: Specifies the default sharing link type for a site when the label scope includes Groups & sites, and the default sharing link type for a document when the label scope includes Files & emails. For instructions, see Custom configurations for the Azure Information Protection unified labeling client. Most of the settings that you configure with this parameter are supported only by the Azure Information Protection unified labeling client and not by Office apps and services that support built-in labeling.
To remove an advanced setting, use the same AdvancedSettings parameter syntax, but specify a null string value. Specify this parameter with the identity (name or GUID) of the sensitivity label, with key/value pairs in a hash table. The AdvancedSettings parameter enables specific features and capabilities for a sensitivity label. This example create a new label named "New Label" with a display name "My New Label". Examples Example 1 New-Label -DisplayName "My New label" -Name "New Label" For more information, see Permissions in the Microsoft 365 compliance center. To use this cmdlet in Security & Compliance Center PowerShell, you need to be assigned permissions. Use the New-Label cmdlet to create sensitivity labels in your organization.įor information about the parameter sets in the Syntax section below, see Exchange cmdlet syntax. For more information, see Security & Compliance Center PowerShell. This cmdlet is available only in Security & Compliance Center PowerShell.