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

SCSecutityFilter should accept empty region as it's not mandatory #3854

Closed
pkernevez opened this issue Oct 31, 2023 · 0 comments · Fixed by #3858
Closed

SCSecutityFilter should accept empty region as it's not mandatory #3854

pkernevez opened this issue Oct 31, 2023 · 0 comments · Fixed by #3858

Comments

@pkernevez
Copy link
Contributor

Description of the issue

SCSecutityFilter should accept empty region as it's not mandatory

Microsoft 365 DSC Version

1.23.1025.1

Which workloads are affected

Security & Compliance Center

The DSC configuration

1. Create a SCSecurityFilter with an empty region
2. Export it 
3. Apply the current configuration as Test-TargetResource doesn't accept an empty region

Verbose logs showing the problem

InvalidOperation: PowerShell DSC resource MSFT_SCSecurityFilter  failed to execute Test-TargetResource functionality with error message: Cannot validate argument on parameter 'Region'. The argument "" does not belong to the set "APC,AUS,CAN,EUR,FRA,GBR,IND,JPN,LAM,NAM" specified by the ValidateSet attribute. Supply an argument that is in the set and then try the command again.
CimException: The SendConfigurationApply function did not succeed.

Environment Information + PowerShell Version

No response

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

Successfully merging a pull request may close this issue.

1 participant