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

SCSensitivityLabel : A parameter cannot be found that matches parameter name 'SiteAndGroupExternalSharingControlType'. #3210

Closed
hvdbrink opened this issue Apr 25, 2023 · 1 comment · Fixed by #3212 or #3229
Assignees
Labels

Comments

@hvdbrink
Copy link

hvdbrink commented Apr 25, 2023

Details of the scenario you tried and the problem that is occurring

When applying an update to a label with this setting it generates an error that it's doesn't have a parameter

Verbose logs showing the problem

!Encryptie wordt toegepast!
Verbose=True
VERBOSE: [DESKTOP-UOVT50U]:                            [[SCSensitivityLabel]SCSensitivityLabel-Beperkte schade of bijzondere persoonsgegevens] Testing AdvancedSettings
VERBOSE: [DESKTOP-UOVT50U]:                            [[SCSensitivityLabel]SCSensitivityLabel-Beperkte schade of bijzondere persoonsgegevens] Test AdvancedSettings returns True
VERBOSE: [DESKTOP-UOVT50U]:                            [[SCSensitivityLabel]SCSensitivityLabel-Beperkte schade of bijzondere persoonsgegevens] Testing LocaleSettings
VERBOSE: [DESKTOP-UOVT50U]:                            [[SCSensitivityLabel]SCSensitivityLabel-Beperkte schade of bijzondere persoonsgegevens] Test LocaleSettings returns True
VERBOSE: [DESKTOP-UOVT50U]:                            [[SCSensitivityLabel]SCSensitivityLabel-Beperkte schade of bijzondere persoonsgegevens] Test-TargetResource returned False
VERBOSE: [DESKTOP-UOVT50U]: LCM:  [ End    Test     ]  [[SCSensitivityLabel]SCSensitivityLabel-Beperkte schade of bijzondere persoonsgegevens]  in 1.5380 seconds.
VERBOSE: [DESKTOP-UOVT50U]: LCM:  [ Start  Set      ]  [[SCSensitivityLabel]SCSensitivityLabel-Beperkte schade of bijzondere persoonsgegevens]
VERBOSE: [DESKTOP-UOVT50U]:                            [[SCSensitivityLabel]SCSensitivityLabel-Beperkte schade of bijzondere persoonsgegevens] Setting configuration of Sensitivity label for Departementaal VERTROUWELIJK - Beperkt
VERBOSE: [DESKTOP-UOVT50U]:                            [[SCSensitivityLabel]SCSensitivityLabel-Beperkte schade of bijzondere persoonsgegevens] Getting configuration of Sensitivity Label for Departementaal VERTROUWELIJK - Beperkt
VERBOSE: [DESKTOP-UOVT50U]:                            [[SCSensitivityLabel]SCSensitivityLabel-Beperkte schade of bijzondere persoonsgegevens] Found existing Sensitivity Label Departementaal VERTROUWELIJK - Beperkt
VERBOSE: [DESKTOP-UOVT50U]:                            [[SCSensitivityLabel]SCSensitivityLabel-Beperkte schade of bijzondere persoonsgegevens] Get-TargetResource Result: 
 AdvancedSettings=({Key=parentid
Value=5559582d-53cf-4d7c-845c-349d995d4a54},{Key=isparent
Value=False},{Key=color
Value=#A4262C})
ApplicationId=***
ApplyContentMarkingFooterAlignment=$null
ApplyContentMarkingFooterEnabled=$null
ApplyContentMarkingFooterFontColor=$null
ApplyContentMarkingFooterFontSize=$null
ApplyContentMarkingFooterMargin=$null
ApplyContentMarkingFooterText=$null
ApplyContentMarkingHeaderAlignment=Center
ApplyContentMarkingHeaderEnabled=True
ApplyContentMarkingHeaderFontColor=#000000
ApplyContentMarkingHeaderFontSize=10
ApplyContentMarkingHeaderMargin=5
ApplyContentMarkingHeaderText=Departementaal vertrouwelijk - Beperkte schade of bijzondere persoonsgegevens
ApplyWaterMarkingEnabled=$null
ApplyWaterMarkingFontColor=$null
ApplyWaterMarkingFontSize=$null
ApplyWaterMarkingLayout=$null
ApplyWaterMarkingText=$null
CertificatePassword=$null
CertificatePath=***
CertificateThumbprint=
Comment=.
ContentType=(File, Email,Site, UnifiedGroup)
Credential=***
DisplayName=Beperkte schade of bijzondere persoonsgegevens
EncryptionContentExpiredOnDateInDaysOrNever=Never
EncryptionDoNotForward=$null
EncryptionEnabled=True
EncryptionEncryptOnly=$null
EncryptionOfflineAccessDays=100
EncryptionPromptUser=$null
EncryptionProtectionType=template
EncryptionRightsDefinitions=.onmicrosoft.com:VIEW,VIEWRIGHTSDATA,DOCEDIT,EDIT,PRINT,EXTRACT,REPLY,REPLYALL,FORWARD,OBJMODEL
EncryptionRightsUrl=$null
Ensure=Present
LocaleSettings=({LabelSettings=({Key=default
Value=Beperkte schade of bijzondere persoonsgegevens})
localeKey=displayName},{LabelSettings=({Key=default
Value=In
!Encryptie wordt toegepast!})
localeKey=tooltip})
Name=Departementaal VERTROUWELIJK - Beperkt
ParentId=Departementaal VERTROUWELIJK
Priority=4
SiteAndGroupExternalSharingControlType=ExistingExternalUserSharingOnly
SiteAndGroupProtectionAllowAccessToGuestUsers=False
SiteAndGroupProtectionAllowEmailFromGuestUsers=True
SiteAndGroupProtectionAllowFullAccess=True
SiteAndGroupProtectionAllowLimitedAccess=False
SiteAndGroupProtectionBlockAccess=False
SiteAndGroupProtectionEnabled=True
SiteAndGroupProtectionPrivacy=private
TenantId=***
Tooltip=s.

Verwerking van beperkte set strafrechtelijke gegevens of bijzondere persoonsgegevens zoals:
- Medische informatie
- Politieke voorkeur
- Geloof of levensovertuiging
- Lidmaatschap van een vakbond
- Seksuele geaardheid, ras, etnische afkomst
- Burgerservicenummer (BSN)
- Genetische of biometrische gegevens
- Gezondheid
- Zitting, rechtbankgegevens
- Personeelsdossiers.

!Encryptie wordt toegepast!
VERBOSE: [DESKTOP-UOVT50U]:                            [[SCSensitivityLabel]SCSensitivityLabel-Beperkte schade of bijzondere persoonsgegevens] Label {Departementaal VERTROUWELIJK - Beperkt} already exist, updating it from the Set-TargetResource function.
A parameter cannot be found that matches parameter name 'SiteAndGroupExternalSharingControlType'.
    + CategoryInfo          : InvalidArgument: (:) [], CimException
    + FullyQualifiedErrorId : NamedParameterNotFound,Set-Label
    + PSComputerName        : localhost

VERBOSE: [DESKTOP-UOVT50U]: LCM:  [ End    Set      ]  [[SCSensitivityLabel]SCSensitivityLabel-Beperkte schade of bijzondere persoonsgegevens]  in 1.5740 seconds.
The PowerShell DSC resource '[SCSensitivityLabel]SCSensitivityLabel-Beperkte schade of bijzondere persoonsgegevens' with SourceInfo 'Z:\2023\M365\Labels-RWOV2.ps1::407::9::SCSensitivityLabel' threw one or more non-terminating errors while running the Set-TargetResource functionality. These errors are logged to the ETW 
channel called Microsoft-Windows-DSC/Operational. Refer to this channel for more details.
    + CategoryInfo          : InvalidOperation: (:) [], CimException
    + FullyQualifiedErrorId : NonTerminatingErrorFromProvider
    + PSComputerName        : localhost

VERBOSE: [DESKTOP-UOVT50U]: LCM:  [ Start  Resource ]  [[SCSensitivityLabel]SCSensitivityLabel-Grote schade of veel persoonsgegevens]
VERBOSE: [DESKTOP-UOVT50U]: LCM:  [ Start  Test     ]  [[SCSensitivityLabel]SCSensitivityLabel-Grote schade of veel persoonsgegevens]
VERBOSE: [DESKTOP-UOVT50U]:                            [[SCSensitivityLabel]SCSensitivityLabel-Grote schade of veel persoonsgegevens] Testing configuration of Sensitivity label for Departementaal VERTROUWELIJK - Groot
VERBOSE: [DESKTOP-UOVT50U]:                            [[SCSensitivityLabel]SCSensitivityLabel-Grote schade of veel persoonsgegevens] Getting configuration of Sensitivity Label for Departementaal VERTROUWELIJK - Groot
VERBOSE: [DESKTOP-UOVT50U]:                            [[SCSensitivityLabel]SCSensitivityLabel-Grote schade of veel persoonsgegevens] Found existing Sensitivity Label Departementaal VERTROUWELIJK - Groot
VERBOSE: [DESKTOP-UOVT50U]:                            [[SCSensitivityLabel]SCSensitivityLabel-Grote schade of veel persoonsgegevens] Get-TargetResource Result:  

Suggested solution to the issue

Set has a different value for this setting.

The DSC configuration that is used to reproduce the issue (as detailed as possible)

        SCSensitivityLabel "SCSensitivityLabel-Openbaar"
        {
            AdvancedSettings     = @(
                MSFT_SCLabelSetting
                {
                    Key   = 'color'
                    Value = '#3A96DD'
                }
                MSFT_SCLabelSetting
                {
                    Key   = 'isparent'
                    Value = 'False'
                }
            );
            Comment              = "Deze gegevens zijn openbaar of mogen openbaar gemaakt worden.";
            ContentType          = @("File, Email","Site, UnifiedGroup");
            Credential           = $Credscredential;
            DisplayName          = "Openbaar";
            Ensure               = "Present";
            LocaleSettings       = @(
                MSFT_SCLabelLocaleSettings
                {
                    LocaleKey = 'displayName'
                    LabelSettings  = @(
                        MSFT_SCLabelSetting
                        {
                            Key   = 'default'
                            Value = 'Openbaar'
                        }
                    )
                }
                MSFT_SCLabelLocaleSettings
                {
                    LocaleKey = 'tooltip'
                    LabelSettings  = @(
                        MSFT_SCLabelSetting
                        {
                            Key   = 'default'
                            Value = 'Deze gegevens zijn openbaar of mogen openbaar gemaakt worden.'
                        }
                    )
                }
            );
            Name                 = "Label-01";
            Priority             = 0;
            Tooltip              = "Deze gegevens zijn openbaar of mogen openbaar gemaakt worden.";
        }
        SCSensitivityLabel "SCSensitivityLabel-Niet openbaar"
        {
            AdvancedSettings                               = @(
                MSFT_SCLabelSetting
                {
                    Key   = 'color'
                    Value = '#EAA300'
                }
                MSFT_SCLabelSetting
                {
                    Key   = 'isparent'
                    Value = 'False'
                }
            );
            ApplyContentMarkingHeaderAlignment             = "Center";
            ApplyContentMarkingHeaderFontColor             = "#000000";
            ApplyContentMarkingHeaderFontSize              = "10";
            ApplyContentMarkingHeaderMargin                = "5";
            ApplyContentMarkingHeaderText                  = "Niet openbaar";
            Comment                                        = "Niet openbare gegevens zonder expliciete rubricering – standaard label";
            ContentType                                    = @("File, Email","Site, UnifiedGroup");
            Credential                                     = $Credscredential;
            DisplayName                                    = "Niet openbaar";
            Ensure                                         = "Present";
            LocaleSettings                                 = @(
                MSFT_SCLabelLocaleSettings
                {
                    LocaleKey = 'displayName'
                    LabelSettings  = @(
                        MSFT_SCLabelSetting
                        {
                            Key   = 'default'
                            Value = 'Niet openbaar'
                        }
                    )
                }
                MSFT_SCLabelLocaleSettings
                {
                    LocaleKey = 'tooltip'
                    LabelSettings  = @(
                        MSFT_SCLabelSetting
                        {
                            Key   = 'default'
                            Value = 'Niet openbare gegevens zonder expliciete rubricering – standaard label'
                        }
                    )
                }
            );
            Name                                           = "Label-02";
            Priority                                       = 1;
            SiteAndGroupProtectionAllowAccessToGuestUsers  = $False;
            SiteAndGroupProtectionAllowEmailFromGuestUsers = $True;
            SiteAndGroupProtectionEnabled                  = $True;
            SiteAndGroupProtectionPrivacy                  = "unspecified";
            Tooltip                                        = "Niet openbare gegevens zonder expliciete rubricering – standaard label";
        }
        SCSensitivityLabel "SCSensitivityLabel-Departementaal vertrouwelijk"
        {
            AdvancedSettings     = @(
                MSFT_SCLabelSetting
                {
                    Key   = 'color'
                    Value = '#A4262C'
                }
                MSFT_SCLabelSetting
                {
                    Key   = 'isparent'
                    Value = 'False'
                }
            );
            Comment              = "Dit is een hoofd label die de volgende onderliggende labels bevat:
- Geen restricties
- JenV intern
- Organisatie intern
- Gelimiteerd tot groep";
            ContentType          = @("File, Email","Site, UnifiedGroup");
            Credential           = $Credscredential;
            DisplayName          = "Departementaal vertrouwelijk";
            Ensure               = "Present";
            LocaleSettings       = @(
                MSFT_SCLabelLocaleSettings
                {
                    LocaleKey = 'displayName'
                    LabelSettings  = @(
                        MSFT_SCLabelSetting
                        {
                            Key   = 'default'
                            Value = 'Departementaal vertrouwelijk'
                        }
                    )
                }
                MSFT_SCLabelLocaleSettings
                {
                    LocaleKey = 'tooltip'
                    LabelSettings  = @(
                        MSFT_SCLabelSetting
                        {
                            Key   = 'default'
                            Value = 'Kies een van de onderstaande labels:
- Geen restricties
- JenV intern
- Organisatie intern
- Gelimiteerd tot groep'
                        }
                    )
                }
            );
            Name                 = "Label-03";
            Priority             = 2;
            Tooltip              = "Kies een van de onderstaande labels:
- Geen restricties
- JenV intern
- Organisatie intern
- Gelimiteerd tot groep";
        }
        SCSensitivityLabel "SCSensitivityLabel-Geen restricties"
        {
            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";
            ApplyContentMarkingHeaderFontColor             = "#000000";
            ApplyContentMarkingHeaderFontSize              = "10";
            ApplyContentMarkingHeaderMargin                = "5";
            ApplyContentMarkingHeaderText                  = "Dstricties";
            Comment                                        = "teries. 
Geen aanvullende restricties.";
            ContentType                                    = @("File, Email","Site, UnifiedGroup");
            Credential                                     = $Credscredential;
            DisplayName                                    = "Geen restricties";
            Ensure                                         = "Present";
            LocaleSettings                                 = @(
                MSFT_SCLabelLocaleSettings
                {
                    LocaleKey = 'displayName'
                    LabelSettings  = @(
                        MSFT_SCLabelSetting
                        {
                            Key   = 'default'
                            Value = 'Geen restricties'
                        }
                    )
                }
                MSFT_SCLabelLocaleSettings
                {
                    LocaleKey = 'tooltip'
                    LabelSettings  = @(
                        MSFT_SCLabelSetting
                        {
                            Key   = 'default'
                            Value = 'Gegevens die indien kennisname door niet geautoriseerden schade kan toebrengen aan de belangen van één of meerdere ministeries.'
                        }
                    )
                }
            );
            Name                                           = "Label-03A";
            ParentId                                       = "Label-03";
            Priority                                       = 3;
            SiteAndGroupProtectionAllowAccessToGuestUsers  = $False;
            SiteAndGroupProtectionAllowEmailFromGuestUsers = $True;
            SiteAndGroupProtectionEnabled                  = $True;
            SiteAndGroupProtectionPrivacy                  = "private";
            Tooltip                                        = "ies.";
        }
        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                                        = "ies.
Deelbaar binnen JenV.

Cold.";
            ContentType                                    = @("File, Email","Site, UnifiedGroup");
            Credential                                     = $Credscredential;
            DisplayName                                    = "JenV intern";
            EncryptionContentExpiredOnDateInDaysOrNever    = "Never";
            EncryptionEnabled                              = $True;
            EncryptionOfflineAccessDays                    = "0";
            EncryptionProtectionType                       = "template";
            EncryptionRightsDefinitions                    = "domein.onmicrosoft.com:VIEW,VIEWRIGHTSDATA,DOCEDIT,EDIT,PRINT,EXTRACT,REPLY,REPLYALL,FORWARD,EDITRIGHTSDATA,EXPORT,OBJMODEL,OWNER;frs99170.onmicrosoft.com:VIEW,VIEWRIGHTSDATA,DOCEDIT,EDIT,PRINT,EXTRACT,REPLY,REPLYALL,FORWARD,EDITRIGHTSDATA,EXPORT,OBJMODEL,OWNER";
            Ensure                                         = "Present";
            LocaleSettings                                 = @(
                MSFT_SCLabelLocaleSettings
                {
                    LocaleKey = 'displayName'
                    LabelSettings  = @(
                        MSFT_SCLabelSetting
                        {
                            Key   = 'default'
                            Value = 'ntern'
                        }
                    )
                }
                MSFT_SCLabelLocaleSettings
                {
                    LocaleKey = 'tooltip'
                    LabelSettings  = @(
                        MSFT_SCLabelSetting
                        {
                            Key   = 'default'
                            Value = 's. 
.

Document wordt versleuteld.'
                        }
                    )
                }
            );
            Name                                           = "Label-03B";
            ParentId                                       = "Label-03";
            Priority                                       = 4;
            SiteAndGroupExternalSharingControlType         = "ExternalUserSharingOnly";
            SiteAndGroupProtectionAllowAccessToGuestUsers  = $False;
            SiteAndGroupProtectionAllowEmailFromGuestUsers = $True;
            SiteAndGroupProtectionAllowFullAccess          = $True;
            SiteAndGroupProtectionAllowLimitedAccess       = $False;
            SiteAndGroupProtectionBlockAccess              = $False;
            SiteAndGroupProtectionEnabled                  = $True;
            SiteAndGroupProtectionPrivacy                  = "private";
            Tooltip                                        = "Gegevens die indien kennisname door niet geautoriseerden schade kan toebrengen aan de belangen van één of meerdere ministeries. 
Deelbaar binnen JenV.

Document wordt versleuteld.";
        }
        SCSensitivityLabel "SCSensitivityLabel-Organisatie 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 - Organisatie intern";
            ApplyWaterMarkingEnabled                       = $True;
            ApplyWaterMarkingFontColor                     = "#A5A7A3";
            ApplyWaterMarkingFontSize                      = "35";
            ApplyWaterMarkingLayout                        = "Diagonal";
            ApplyWaterMarkingText                          = "DepV - Organisatie intern";
            Comment                                        = "Gegevens die indien kennisname door niet geautoriseerden schade kan toebrengen aan de belangen van één of meerdere ministeries. 
Deelbaar binnen de eigen organisatie.

Document wordt versleuteld.";
            ContentType                                    = @("File, Email","Site, UnifiedGroup");
            Credential                                     = $Credscredential;
            DisplayName                                    = "Organisatie intern";
            EncryptionContentExpiredOnDateInDaysOrNever    = "Never";
            EncryptionEnabled                              = $True;
            EncryptionOfflineAccessDays                    = "0";
            EncryptionProtectionType                       = "template";
            EncryptionRightsDefinitions                    = "domein.onmicrosoft.com:VIEW,VIEWRIGHTSDATA,DOCEDIT,EDIT,PRINT,EXTRACT,REPLY,REPLYALL,FORWARD,EDITRIGHTSDATA,EXPORT,OBJMODEL,OWNER";
            Ensure                                         = "Present";
            LocaleSettings                                 = @(
                MSFT_SCLabelLocaleSettings
                {
                    LocaleKey = 'displayName'
                    LabelSettings  = @(
                        MSFT_SCLabelSetting
                        {
                            Key   = 'default'
                            Value = 'Organisatie intern'
                        }
                    )
                }
                MSFT_SCLabelLocaleSettings
                {
                    LocaleKey = 'tooltip'
                    LabelSettings  = @(
                        MSFT_SCLabelSetting
                        {
                            Key   = 'default'
                            Value = 'Gegevens die indien kennisname door niet geautoriseerden schade kan toebrengen aan de belangen van één of meerdere ministeries.
Deelbaar binnen de eigen organisatie.

Document wordt versleuteld.'
                        }
                    )
                }
            );
            Name                                           = "Label-03C";
            ParentId                                       = "Label-03";
            Priority                                       = 5;
            SiteAndGroupExternalSharingControlType         = "Disabled";
            SiteAndGroupProtectionAllowAccessToGuestUsers  = $True;
            SiteAndGroupProtectionAllowEmailFromGuestUsers = $True;
            SiteAndGroupProtectionAllowFullAccess          = $False;
            SiteAndGroupProtectionAllowLimitedAccess       = $True;
            SiteAndGroupProtectionBlockAccess              = $False;
            SiteAndGroupProtectionEnabled                  = $True;
            SiteAndGroupProtectionPrivacy                  = "private";
            Tooltip                                        = "s.
Deelbaar binnen de eigen organisatie.

Document wordt versleuteld.";
        }
        SCSensitivityLabel "SCSensitivityLabel-Gelimiteerd tot groep"
        {
            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 - Gelimiteerd tot groep";
            ApplyWaterMarkingEnabled                       = $True;
            ApplyWaterMarkingFontColor                     = "#A5A7A3";
            ApplyWaterMarkingFontSize                      = "35";
            ApplyWaterMarkingLayout                        = "Diagonal";
            ApplyWaterMarkingText                          = "DepV - Gelimiteerd tot groep";
            Comment                                        = "Gegevens die indien kennisname door niet geautoriseerden schade kan toebrengen aan de belangen van één of meerdere ministeries.
Deelbaar binnen een zelf gedefinieerde groep.

Document wordt versleuteld.";
            ContentType                                    = @("File, Email","Site, UnifiedGroup");
            Credential                                     = $Credscredential;
            DisplayName                                    = "Gelimiteerd tot groep";
            EncryptionDoNotForward                         = $True;
            EncryptionEnabled                              = $True;
            EncryptionEncryptOnly                          = $False;
            EncryptionPromptUser                           = $True;
            EncryptionProtectionType                       = "userdefined";
            Ensure                                         = "Present";
            LocaleSettings                                 = @(
                MSFT_SCLabelLocaleSettings
                {
                    LocaleKey = 'displayName'
                    LabelSettings  = @(
                        MSFT_SCLabelSetting
                        {
                            Key   = 'default'
                            Value = 'Gelimiteerd tot groep'
                        }
                    )
                }
                MSFT_SCLabelLocaleSettings
                {
                    LocaleKey = 'tooltip'
                    LabelSettings  = @(
                        MSFT_SCLabelSetting
                        {
                            Key   = 'default'
                            Value = '.
Deelbaar binnen een zelf gedefinieerde groep.

Document wordt versleuteld.'
                        }
                    )
                }
            );
            Name                                           = "Label-03D";
            ParentId                                       = "Label-03";
            Priority                                       = 6;
            SiteAndGroupExternalSharingControlType         = "ExternalUserSharingOnly";
            SiteAndGroupProtectionAllowAccessToGuestUsers  = $False;
            SiteAndGroupProtectionAllowEmailFromGuestUsers = $True;
            SiteAndGroupProtectionAllowFullAccess          = $False;
            SiteAndGroupProtectionAllowLimitedAccess       = $True;
            SiteAndGroupProtectionBlockAccess              = $False;
            SiteAndGroupProtectionEnabled                  = $True;
            SiteAndGroupProtectionPrivacy                  = "private";
            Tooltip                                        = "s.
Deelbaar binnen een zelf gedefinieerde groep.

Document wordt versleuteld.";
        }
               }
       

The operating system the target node is running

Version of the DSC module that was used ('dev' if using current dev branch)

1.23.419.1

@ykuijs ykuijs self-assigned this Apr 25, 2023
@ykuijs ykuijs added Bug Something isn't working Security & Compliance Center labels Apr 25, 2023
@ykuijs
Copy link
Member

ykuijs commented Apr 25, 2023

Already working on this fix

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