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

SmtpDaneInbound Test-TargetResource missing CertificatePassword #5709

Closed
martincaddick opened this issue Feb 3, 2025 · 0 comments · Fixed by #5720 or #5758
Closed

SmtpDaneInbound Test-TargetResource missing CertificatePassword #5709

martincaddick opened this issue Feb 3, 2025 · 0 comments · Fixed by #5720 or #5758

Comments

@martincaddick
Copy link
Contributor

Description of the issue

The command Test-TargetResource of the PS module MSFT_EXOSmtpDaneInbound does not implement the write property 
CertificatePassword mentioned in the corresponding MOF schema file C:\Program Files\WindowsPowerShell\Modules\Microsoft
365DSC\1.25.122.1\DscResources\MSFT_EXOSmtpDaneInbound\MSFT_EXOSmtpDaneInbound.schema.mof. All write paramenters 
mentioned in the schema file must be implemented by the command Test-TargetResource.
    + CategoryInfo          : InvalidOperation: (root/Microsoft/...gurationManager:String) [], CimException
    + FullyQualifiedErrorId : WriteParameterNotImplemented
    + PSComputerName        : localhost

Microsoft 365 DSC Version

1.25.122.1

Which workloads are affected

Exchange Online

The DSC configuration

In the Environment#Exchange.psd1 file with config and then running Compliance Check.

            SmtpDaneInbounds = @(
                @{
                    DomainName = 'environment.mail.onmicrosoft.com'
                    Ensure = 'Absent'
                    UniqueId = 'EXOSmtpDaneInbound-environment.mail.onmicrosoft.com'
                },

Verbose logs showing the problem

2025-02-03 02:07:52 [INFO] CheckDscCompliance.ps1:  
2025-02-03 02:07:52 [INFO] CheckDscCompliance.ps1: ---------------------------------------------------------
2025-02-03 02:07:52 [INFO] CheckDscCompliance.ps1:  Testing compliance on all environments
2025-02-03 02:07:52 [INFO] CheckDscCompliance.ps1: ---------------------------------------------------------
2025-02-03 02:07:52 [INFO] CheckDscCompliance.ps1:  
2025-02-03 02:07:52 [INFO] CheckDscCompliance.ps1: Processing all MOF files in 'C:\Agent\_work\1\Build MOF\DeployPackage'
2025-02-03 02:07:52 [INFO] CheckDscCompliance.ps1: - Found 2 MOF files
2025-02-03 02:07:52 [INFO] CheckDscCompliance.ps1: Processing environment: AUDev
VERBOSE: Perform operation 'Invoke CimMethod' with following parameters, ''methodName' = TestConfiguration,'className' 
= MSFT_DSCLocalConfigurationManager,'namespaceName' = root/Microsoft/Windows/DesiredStateConfiguration'.
VERBOSE: An LCM method call arrived from computer adminwkstn with user sid 
S-1-5-21-3444867702-1180750075-3660211714-1000.
VERBOSE: [adminwkstn]: LCM:  [ Start  Compare  ]
VERBOSE: [adminwkstn]: LCM:  [ *FAILED*Compare  ]     Completed processing compare operation. The operation returned 
False.

Environment Information + PowerShell Version

PS C:\Users\dscadmin> Get-ComputerInfo -Property @(
>> 'OsName',
>> 'OsOperatingSystemSKU',
>> 'OSArchitecture',
>> 'WindowsVersion',
>> 'WindowsBuildLabEx',
>> 'OsLanguage',
>> 'OsMuiLanguages')


OsName               : Microsoft Windows Server 2019 Datacenter
OsOperatingSystemSKU : DatacenterServerEdition
OsArchitecture       : 64-bit
WindowsVersion       : 1809
WindowsBuildLabEx    : 17763.1.amd64fre.rs5_release.180914-1434
OsLanguage           : en-US
OsMuiLanguages       : {en-US}



PS C:\Users\dscadmin>
PS C:\Users\dscadmin> $PSVersionTable

Name                           Value
----                           -----
PSVersion                      5.1.17763.6766
PSEdition                      Desktop
PSCompatibleVersions           {1.0, 2.0, 3.0, 4.0...}
BuildVersion                   10.0.17763.6766
CLRVersion                     4.0.30319.42000
WSManStackVersion              3.0
PSRemotingProtocolVersion      2.3
SerializationVersion           1.1.0.1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant