Microsoft365DSC
Microsoft365DSC copied to clipboard
[SCSensitityLabel] Auto Labeling missing in export
Description of the issue
The Auto labeling for files and email seems to be missing in the export.
Microsoft 365 DSC Version
V1.23.1011.1
Which workloads are affected
Security & Compliance Center
The DSC configuration
SCSensitivityLabel "SCSensitivityLabel-JenV intern"
{
AdvancedSettings = @(
MSFT_SCLabelSetting
{
Key = 'color'
Value = '#A4262C'
}
MSFT_SCLabelSetting
{
Key = 'parentid'
Value = 'be6b0940-26c6-4e5a-a28e-d51a182e4a29'
}
MSFT_SCLabelSetting
{
Key = 'isparent'
Value = 'False'
}
);
ApplyContentMarkingHeaderAlignment = "Center";
ApplyContentMarkingHeaderEnabled = $True;
ApplyContentMarkingHeaderFontColor = "#000000";
ApplyContentMarkingHeaderFontSize = "10";
ApplyContentMarkingHeaderMargin = "5";
ApplyContentMarkingHeaderText = "Departementaal vertrouwelijk - JenV intern";
ApplyWaterMarkingEnabled = $True;
ApplyWaterMarkingFontColor = "#A5A7A3";
ApplyWaterMarkingFontSize = "35";
ApplyWaterMarkingLayout = "Diagonal";
ApplyWaterMarkingText = "DepV - JenV intern";
Comment = "Gegevens die indien kennisname door niet geautoriseerden schade kan toebrengen aan de belangen van één of meerdere ministeries.
Deelbaar binnen JenV.
Conform JenV git JenV organizations domain-list.
Document wordt versleuteld.";
ContentType = @("File, Email","Site, UnifiedGroup","Teamwork");
Credential = $Credscredential;
DisplayName = "JenV intern";
EncryptionContentExpiredOnDateInDaysOrNever = "Never";
EncryptionEnabled = $True;
EncryptionOfflineAccessDays = "100";
EncryptionProtectionType = "template";
EncryptionRightsDefinitions = ".onmicrosoft.com:VIEW,VIEWRIGHTSDATA,DOCEDIT,EDIT,PRINT,EXTRACT,REPLY,REPLYALL,FORWARD,EDITRIGHTSDATA,EXPORT,OBJMODEL,OWNER;.onmicrosoft.com:VIEW,VIEWRIGHTSDATA,DOCEDIT,EDIT,PRINT,EXTRACT,REPLY,REPLYALL,FORWARD,EDITRIGHTSDATA,EXPORT,OBJMODEL,OWNER;onmicrosoft.com:VIEW,VIEWRIGHTSDATA,DOCEDIT,EDIT,PRINT,EXTRACT,REPLY,REPLYALL,FORWARD,OBJMODEL;:VIEW,VIEWRIGHTSDATA,DOCEDIT,EDIT,PRINT,EXTRACT,REPLY,REPLYALL,FORWARD,OBJMODEL";
Ensure = "Present";
LocaleSettings = @(
MSFT_SCLabelLocaleSettings
{
LocaleKey = 'displayName'
LabelSettings = @(
MSFT_SCLabelSetting
{
Key = 'default'
Value = 'JenV intern'
}
)
}
MSFT_SCLabelLocaleSettings
{
LocaleKey = 'tooltip'
LabelSettings = @(
MSFT_SCLabelSetting
{
Key = 'default'
Value = '.'
}
)
}
MSFT_SCLabelLocaleSettings
{
LocaleKey = 'autotooltip'
LabelSettings = @(
MSFT_SCLabelSetting
{
Key = 'default'
Value = 'Please be careful with sharing sensitive information. NOTE: External Sharing outside will be automatically blocked.'
}
)
}
);
Name = "Label-03B";
ParentId = "Label-03";
Priority = 10;
SiteAndGroupExternalSharingControlType = "ExternalUserSharingOnly";
SiteAndGroupProtectionAllowAccessToGuestUsers = $False;
SiteAndGroupProtectionAllowEmailFromGuestUsers = $True;
SiteAndGroupProtectionAllowFullAccess = $True;
SiteAndGroupProtectionAllowLimitedAccess = $False;
SiteAndGroupProtectionBlockAccess = $False;
SiteAndGroupProtectionEnabled = $True;
SiteAndGroupProtectionPrivacy = "private";
Tooltip = "Text.";
}
Verbose logs showing the problem
No response
Environment Information + PowerShell Version
OsName : Microsoft Windows 10 Enterprise
OsOperatingSystemSKU : EnterpriseEdition
OsArchitecture : 64 bits
WindowsVersion : 2009
WindowsBuildLabEx : 19041.1.amd64fre.vb_release.191206-1406
OsLanguage : nl-NL
OsMuiLanguages : {nl-NL}
Don't think this can be implemented at the moment. The Conditions parameter of the Set-Label cmdlet currently is reserved for "Internal Microsoft use" only.
This property has been made public. Working on implementation.