-
Notifications
You must be signed in to change notification settings - Fork 490
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
[SCLabelPolicy/SCRetentionComplianceRule] - A parameter cannot be found that matches parameter name 'ApplicationId'. #3075
Comments
Same issue in SCRetentionComplianceRule. Should I open another issue for that or can we regroup them here? |
Just updated the title to reflect both resources |
@ykuijs
Happy to raise a new issue if you like |
Details of the scenario you tried and the problem that is occurring
Same issue as #3050
Verbose logs showing the problem
Suggested solution to the issue
https://github.com/microsoft/Microsoft365DSC/blob/Dev/Modules/Microsoft365DSC/DSCResources/MSFT_SCLabelPolicy/MSFT_SCLabelPolicy.psm1
Add $VAR.Remove('ApplicationId') | Out-Null
etc on all interaction with native MS commands.
The DSC configuration that is used to reproduce the issue (as detailed as possible)
# insert configuration here
The operating system the target node is running
OsName : Microsoft Windows Server 2022 Datacenter Azure Edition
OsOperatingSystemSKU : 407
OsArchitecture : 64-bit
WindowsVersion : 2009
WindowsBuildLabEx : 20348.1.amd64fre.fe_release.210507-1500
OsLanguage : en-US
OsMuiLanguages : {en-US}
Version of the DSC module that was used ('dev' if using current dev branch)
1.23.322.1
The text was updated successfully, but these errors were encountered: