Skip to content

xExchAcceptedDomain: Errors while adding accepted domains  #476

@ranabanerjee15

Description

@ranabanerjee15

Problem description

Hello Team,

First, I want to say, wonderful module. this has helped me a lot to automate deployments of Exchange 2019. now coming to the issue, I get the following error while deploying Exchange 2019 Accepted domain resources.

Verbose logs

Status Message: VM has reported a failure when processing extension 'ExchangeSetup2019'. Error message: "DSC Configuration 'SetupEx19' completed with error(s). Following are the first few: t" to type "Systet32". Error:Cannot convert value "MakeDefaul "Input string was not in a correct format." Exception calling "Remove" with "1" argument(s): "Collection was of a fixed size." The PowerShell DSC resource '[xExchAcceptedDomain]AccDomLab01' with SourceInfo 'C:\Packages\Plugins\Microsoft.Powershell.DSC\2.83.2.0\DSCWork\SetupEx19.0\SetupEx19.ps1::372::9::xExchAcceptedDomain' threw one or more non-terminating errors while running the Test-TargetResource functionality. These errors are logged to the ETW channel called Microsoft-Windows-DSC/Operational. Refer to this channel for more details."

DSC configuration

xExchAcceptedDomain AccDomLab01 #ResourceName
        {
            Name               = "Lab01.online"
            Credential         = $ExCreds
            DomainName         = "Lab01.online"
            AddressBookEnabled = $true
            DomainType         = "Authoritative"
            Ensure             = 'Present'
            MakeDefault        = $true
            DependsOn          = "[xPendingReboot]AfterExchangeInstall"

        }
        xExchAcceptedDomain AccDomDomain02 #ResourceName
        {
            Name               = 'Domain02.online'
            Credential         = $ExCreds
            DomainName         = 'Domain02.online'
            AddressBookEnabled = $true
            DomainType         = 'Authoritative'
            Ensure             = 'Present'
            MakeDefault        = $False
            DependsOn          = "[xExchAcceptedDomain]AccDomLab01"
        }

Suggested solution

none yet

Operating system the target node is running

windows Server 2019

Exchange Server edition and version the target node is running

Exchange 2019

PowerShell version and build the target node is running

5.1

xExchange version

Latest Release

Metadata

Metadata

Assignees

No one assigned

    Labels

    needs more informationThe issue needs more information from the author or the community.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions