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

If SCAutoSensitivityLabelPolicy Priority=3 or higher, an error occurs #4036

Closed
kochi-shunsuke opened this issue Dec 14, 2023 · 1 comment
Closed

Comments

@kochi-shunsuke
Copy link

Description of the issue

I built my environment according to the devops whitepaper.
I also added a parameter to SecurityCompliance.schema.psm1.
Release pipeline fails when SCAutoSensitivityLabelPolicy Priority is greater than or equal to 3.
How do I avoid errors when Priority is 3 or higher?

Microsoft 365 DSC Version

V1.23.1101.1

Which workloads are affected

Security & Compliance Center

The DSC configuration

No response

Verbose logs showing the problem

##[error]PowerShell DSC resource MSFT_SCAutoSensitivityLabelPolicy  failed to execute Test-TargetResource functionality with 
error message: Cannot validate argument on parameter 'Priority'. The 3 argument is greater than the maximum allowed 
range of 2. Supply an argument that is less than or equal to 2 and then try the command again. 
    + CategoryInfo          : InvalidOperation: (:) [], CimException
    + FullyQualifiedErrorId : ProviderOperationExecutionFailure
    + PSComputerName        : localhost

Environment Information + PowerShell Version

No response

@malauter
Copy link
Member

malauter commented Jan 2, 2024

This was fixed in release v1.23.1220.1

@malauter malauter closed this as completed Jan 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants