Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[SCSensitityLabel] Auto Labeling missing in export #3784

Closed
hvdbrink opened this issue Oct 12, 2023 · 2 comments · Fixed by #5062 or #5132
Closed

[SCSensitityLabel] Auto Labeling missing in export #3784

hvdbrink opened this issue Oct 12, 2023 · 2 comments · Fixed by #5062 or #5132
Assignees
Labels

Comments

@hvdbrink
Copy link

Description of the issue

The Auto labeling for files and email seems to be missing in the export.

AutoLabeling

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}
@ykuijs
Copy link
Member

ykuijs commented Jan 30, 2024

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.

@ykuijs ykuijs changed the title [SC} Sensitity Label - Auto Labeling missing in export [SCSensitityLabel] Auto Labeling missing in export Aug 27, 2024
@ykuijs ykuijs self-assigned this Aug 27, 2024
@ykuijs ykuijs removed the On-Hold label Aug 27, 2024
@ykuijs
Copy link
Member

ykuijs commented Aug 27, 2024

This property has been made public. Working on implementation.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
3 participants