dsccommunity / ActiveDirectoryDsc

This module contains DSC resources for deployment and configuration of Active Directory Domain Services.
MIT License
345 stars 142 forks source link

DSC Configuration 'AD-BDC' completed with error(s). Following are the first few: Either the target name is incorrect or the server has rejected the client credentials. #695

Closed HariEY7 closed 1 year ago

HariEY7 commented 2 years ago

Problem description

DSC Configuration 'AD-BDC' completed with error(s). Following are the first few: Either the target name is incorrect or the server has rejected the client credentials. PowerShell DSC resource MSFT_xADDomainController failed to execute Set-TargetResource functionality with error message: Domain "****' could not be found. The SendConfigurationApply function did not succeed. LCM failed to start desired state configuration manually.

Verbose logs

VERBOSE: [2022-07-08 05:56:23Z] Extension request for sequence number 0 
attempting to create lock.0 mutex
VERBOSE: [2022-07-08 05:56:23Z] Attempting to grab mutex 
DscExtensionHandler_Lock for sequence number 0
VERBOSE: [2022-07-08 05:56:23Z] Acquired lock for extension instance for 
sequence number 0
VERBOSE: [2022-07-08 05:56:23Z] Attempting to acquire extension lock
VERBOSE: [2022-07-08 05:56:23Z] Attempting to grab mutex 
DscExtensionHandler_Lock
VERBOSE: [2022-07-08 05:56:23Z] Acquired lock for extension
VERBOSE: [2022-07-08 05:56:23Z] lock does not exist: begin processing
VERBOSE: [2022-07-08 05:56:23Z] Starting DSC Extension ...
VERBOSE: [2022-07-08 05:56:23Z] Getting handler execution status 
HKLM:\SOFTWARE\Microsoft\Azure\DSC\2.83.2.0\Status ...
VERBOSE: [2022-07-08 05:56:23Z] Getting handler execution status 
HKLM:\SOFTWARE\Microsoft\Azure\DSC\2.83.2.0\Status ...
VERBOSE: [2022-07-08 05:56:23Z] Reading handler settings from 
C:\Packages\Plugins\Microsoft.Powershell.DSC\2.83.2.0\RuntimeSettings\0.setting
s
VERBOSE: [2022-07-08 05:56:23Z] Found protected settings on Azure VM. 
Decrypting.
VERBOSE: [2022-07-08 05:56:35Z] Getting handler execution status 
HKLM:\SOFTWARE\Microsoft\Azure\DSC\2.83.2.0\Status ...
VERBOSE: [2022-07-08 05:56:35Z] Getting handler execution status 
HKLM:\SOFTWARE\Microsoft\Azure\DSC\2.83.2.0\Status ...
VERBOSE: [2022-07-08 05:56:36Z] Updating execution status 
(HKLM:\SOFTWARE\Microsoft\Azure\DSC\2.83.2.0\Status)
VERBOSE: [2022-07-08 05:56:36Z] Settings handler status to 'transitioning' 
(C:\Packages\Plugins\Microsoft.Powershell.DSC\2.83.2.0\Status\0.status)
VERBOSE: [2022-07-08 05:56:36Z] Will continue the existing configuration. 
Executing Start-DscConfiguration with -UseExisting option ...
VERBOSE: [2022-07-08 05:56:36Z] Settings handler status to 'transitioning' 
(C:\Packages\Plugins\Microsoft.Powershell.DSC\2.83.2.0\Status\0.status)
VERBOSE: [2022-07-08 05:56:37Z] [VERBOSE] Perform operation 'Invoke CimMethod' 
with following parameters, ''methodName' = ApplyConfiguration,'className' = 
MSFT_DSCLocalConfigurationManager,'namespaceName' = 
root/Microsoft/Windows/DesiredStateConfiguration'.
VERBOSE: [2022-07-08 05:56:37Z] [VERBOSE] An LCM method call arrived from 
computer VMName with user sid S-1-5-18.
VERBOSE: [2022-07-08 05:56:37Z] [VERBOSE] [VMName]:                   
         [] Starting consistency engine.
VERBOSE: [2022-07-08 05:56:37Z] [VERBOSE] [VMName]:                   
         [] A pending configuration exists. DSC will process a set request on 
the pending configuration.
VERBOSE: [2022-07-08 05:56:40Z] [VERBOSE] [VMName]: LCM:  [ Start  
Resource ]  [[xRegistry]DisableIPv6]
VERBOSE: [2022-07-08 05:56:40Z] [VERBOSE] [VMName]: LCM:  [ Start  
Test     ]  [[xRegistry]DisableIPv6]
VERBOSE: [2022-07-08 05:56:40Z] [VERBOSE] [VMName]:                   
         [[xRegistry]DisableIPv6] Test-TargetResource is starting for Registry 
resource with Key HKLM:\SYSTEM\CurrentControlSet\Services\Tcpip6\Parameters
VERBOSE: [2022-07-08 05:56:40Z] [VERBOSE] [VMName]:                   
         [[xRegistry]DisableIPv6] Get-TargetResource is starting for Registry 
resource with Key HKLM:\SYSTEM\CurrentControlSet\Services\Tcpip6\Parameters
VERBOSE: [2022-07-08 05:56:40Z] [VERBOSE] [VMName]:                   
         [[xRegistry]DisableIPv6] The registry key at path 
HKLM:\SYSTEM\CurrentControlSet\Services\Tcpip6\Parameters exists.
VERBOSE: [2022-07-08 05:56:40Z] [VERBOSE] [VMName]:                   
         [[xRegistry]DisableIPv6] The registry key at path 
HKLM:\SYSTEM\CurrentControlSet\Services\Tcpip6\Parameters has a value named 
DisabledComponents.
VERBOSE: [2022-07-08 05:56:40Z] [VERBOSE] [VMName]:                   
         [[xRegistry]DisableIPv6] Get-TargetResource has finished for Registry 
resource with Key HKLM:\SYSTEM\CurrentControlSet\Services\Tcpip6\Parameters
VERBOSE: [2022-07-08 05:56:40Z] [VERBOSE] [VMName]:                   
         [[xRegistry]DisableIPv6] The registry key at path 
HKLM:\SYSTEM\CurrentControlSet\Services\Tcpip6\Parameters has a value named 
DisabledComponents.
VERBOSE: [2022-07-08 05:56:40Z] [VERBOSE] [VMName]:                   
         [[xRegistry]DisableIPv6] Test-TargetResource has finished for Registry
 resource with Key HKLM:\SYSTEM\CurrentControlSet\Services\Tcpip6\Parameters
VERBOSE: [2022-07-08 05:56:40Z] [VERBOSE] [VMName]: LCM:  [ End    
Test     ]  [[xRegistry]DisableIPv6]  in 0.2280 seconds.
VERBOSE: [2022-07-08 05:56:40Z] [VERBOSE] [VMName]: LCM:  [ Skip   Set
      ]  [[xRegistry]DisableIPv6]
VERBOSE: [2022-07-08 05:56:40Z] [VERBOSE] [VMName]: LCM:  [ End    
Resource ]  [[xRegistry]DisableIPv6]
VERBOSE: [2022-07-08 05:56:40Z] [VERBOSE] [VMName]: LCM:  [ Start  
Resource ]  [[xScript]Disable6to4]
VERBOSE: [2022-07-08 05:56:40Z] [VERBOSE] [VMName]: LCM:  [ Start  
Test     ]  [[xScript]Disable6to4]
VERBOSE: [2022-07-08 05:56:40Z] [VERBOSE] [VMName]:                   
         [[xScript]Disable6to4] Begin executing test script.
VERBOSE: [2022-07-08 05:56:40Z] [VERBOSE] [VMName]:                   
         [[xScript]Disable6to4] Executing script: 
        return (Get-Net6to4Configuration).State -eq 'Disabled'
VERBOSE: [2022-07-08 05:56:40Z] [VERBOSE] [VMName]:                   
         [[xScript]Disable6to4] End executing test script.
VERBOSE: [2022-07-08 05:56:40Z] [VERBOSE] [VMName]: LCM:  [ End    
Test     ]  [[xScript]Disable6to4]  in 0.3650 seconds.
VERBOSE: [2022-07-08 05:56:40Z] [VERBOSE] [VMName]: LCM:  [ Skip   Set
      ]  [[xScript]Disable6to4]
VERBOSE: [2022-07-08 05:56:40Z] [VERBOSE] [VMName]: LCM:  [ End    
Resource ]  [[xScript]Disable6to4]
VERBOSE: [2022-07-08 05:56:40Z] [VERBOSE] [VMName]: LCM:  [ Start  
Resource ]  [[xWindowsFeature]DNS]
VERBOSE: [2022-07-08 05:56:40Z] [VERBOSE] [VMName]: LCM:  [ Start  
Test     ]  [[xWindowsFeature]DNS]
VERBOSE: [2022-07-08 05:56:40Z] [VERBOSE] [VMName]:                   
         [[xWindowsFeature]DNS] Begin executing Test functionality on the DNS 
feature.
VERBOSE: [2022-07-08 05:56:40Z] [VERBOSE] [VMName]:                   
         [[xWindowsFeature]DNS] Perform operation 'Enumerate CimInstances' with
 following parameters, ''namespaceName' = root\cimv2,'className' = 
Win32_OperatingSystem'.
VERBOSE: [2022-07-08 05:56:40Z] [VERBOSE] [VMName]:                   
         [[xWindowsFeature]DNS] Operation 'Enumerate CimInstances' complete.
VERBOSE: [2022-07-08 05:56:40Z] [VERBOSE] [VMName]:                   
         [[xWindowsFeature]DNS] Loading module from path 
'C:\Windows\system32\WindowsPowerShell\v1.0\Modules\ServerManager\ServerManager
.psd1'.
VERBOSE: [2022-07-08 05:56:40Z] [VERBOSE] [VMName]:                   
         [[xWindowsFeature]DNS] Loading 'FormatsToProcess' from path 
'C:\Windows\system32\WindowsPowerShell\v1.0\Modules\ServerManager\Feature.forma
t.ps1xml'.
VERBOSE: [2022-07-08 05:56:40Z] [VERBOSE] [VMName]:                   
         [[xWindowsFeature]DNS] Loading module from path 
'C:\Windows\system32\WindowsPowerShell\v1.0\Modules\ServerManager\ServerManager
.psm1'.
VERBOSE: [2022-07-08 05:56:40Z] [VERBOSE] [VMName]:                   
         [[xWindowsFeature]DNS] Importing cmdlet 'Get-WindowsFeature'.
VERBOSE: [2022-07-08 05:56:40Z] [VERBOSE] [VMName]:                   
         [[xWindowsFeature]DNS] Importing cmdlet 'Install-WindowsFeature'.
VERBOSE: [2022-07-08 05:56:40Z] [VERBOSE] [VMName]:                   
         [[xWindowsFeature]DNS] Importing cmdlet 'Uninstall-WindowsFeature'.
VERBOSE: [2022-07-08 05:56:40Z] [VERBOSE] [VMName]:                   
         [[xWindowsFeature]DNS] Importing function 
'Disable-ServerManagerStandardUserRemoting'.
VERBOSE: [2022-07-08 05:56:40Z] [VERBOSE] [VMName]:                   
         [[xWindowsFeature]DNS] Importing function 
'Enable-ServerManagerStandardUserRemoting'.
VERBOSE: [2022-07-08 05:56:40Z] [VERBOSE] [VMName]:                   
         [[xWindowsFeature]DNS] Importing alias 'Add-WindowsFeature'.
VERBOSE: [2022-07-08 05:56:40Z] [VERBOSE] [VMName]:                   
         [[xWindowsFeature]DNS] Importing alias 'Remove-WindowsFeature'.
VERBOSE: [2022-07-08 05:56:40Z] [VERBOSE] [VMName]:                   
         [[xWindowsFeature]DNS] Querying for feature DNS using Server Manager 
cmdlet Get-WindowsFeature.
VERBOSE: [2022-07-08 05:56:40Z] [VERBOSE] [VMName]:                   
         [[xWindowsFeature]DNS] The operation 'Get-WindowsFeature' started: 
DNS
VERBOSE: [2022-07-08 05:56:44Z] [VERBOSE] [VMName]:                   
         [[xWindowsFeature]DNS] The operation 'Get-WindowsFeature' succeeded: 
DNS
VERBOSE: [2022-07-08 05:56:44Z] [VERBOSE] [VMName]:                   
         [[xWindowsFeature]DNS] End executing Test functionality on the DNS 
feature.
VERBOSE: [2022-07-08 05:56:44Z] [VERBOSE] [VMName]: LCM:  [ End    
Test     ]  [[xWindowsFeature]DNS]  in 5.5930 seconds.
VERBOSE: [2022-07-08 05:56:44Z] [VERBOSE] [VMName]: LCM:  [ Skip   Set
      ]  [[xWindowsFeature]DNS]
VERBOSE: [2022-07-08 05:56:44Z] [VERBOSE] [VMName]: LCM:  [ End    
Resource ]  [[xWindowsFeature]DNS]
VERBOSE: [2022-07-08 05:56:44Z] [VERBOSE] [VMName]: LCM:  [ Start  
Resource ]  [[xWindowsFeature]DnsTools]
VERBOSE: [2022-07-08 05:56:44Z] [VERBOSE] [VMName]: LCM:  [ Start  
Test     ]  [[xWindowsFeature]DnsTools]
VERBOSE: [2022-07-08 05:56:44Z] [VERBOSE] [VMName]:                   
         [[xWindowsFeature]DnsTools] Begin executing Test functionality on the 
RSAT-DNS-Server feature.
VERBOSE: [2022-07-08 05:56:44Z] [VERBOSE] [VMName]:                   
         [[xWindowsFeature]DnsTools] Perform operation 'Enumerate CimInstances'
 with following parameters, ''namespaceName' = root\cimv2,'className' = 
Win32_OperatingSystem'.
VERBOSE: [2022-07-08 05:56:44Z] [VERBOSE] [VMName]:                   
         [[xWindowsFeature]DnsTools] Operation 'Enumerate CimInstances' 
complete.
VERBOSE: [2022-07-08 05:56:44Z] [VERBOSE] [VMName]:                   
         [[xWindowsFeature]DnsTools] Loading module from path 
'C:\Windows\system32\WindowsPowerShell\v1.0\Modules\ServerManager\ServerManager
.psd1'.
VERBOSE: [2022-07-08 05:56:44Z] [VERBOSE] [VMName]:                   
         [[xWindowsFeature]DnsTools] Importing cmdlet 'Get-WindowsFeature'.
VERBOSE: [2022-07-08 05:56:44Z] [VERBOSE] [VMName]:                   
         [[xWindowsFeature]DnsTools] Importing cmdlet 
'Install-WindowsFeature'.
VERBOSE: [2022-07-08 05:56:44Z] [VERBOSE] [VMName]:                   
         [[xWindowsFeature]DnsTools] Importing cmdlet 
'Uninstall-WindowsFeature'.
VERBOSE: [2022-07-08 05:56:44Z] [VERBOSE] [VMName]:                   
         [[xWindowsFeature]DnsTools] Importing function 
'Disable-ServerManagerStandardUserRemoting'.
VERBOSE: [2022-07-08 05:56:44Z] [VERBOSE] [VMName]:                   
         [[xWindowsFeature]DnsTools] Importing function 
'Enable-ServerManagerStandardUserRemoting'.
VERBOSE: [2022-07-08 05:56:44Z] [VERBOSE] [VMName]:                   
         [[xWindowsFeature]DnsTools] Importing alias 'Add-WindowsFeature'.
VERBOSE: [2022-07-08 05:56:44Z] [VERBOSE] [VMName]:                   
         [[xWindowsFeature]DnsTools] Importing alias 'Remove-WindowsFeature'.
VERBOSE: [2022-07-08 05:56:44Z] [VERBOSE] [VMName]:                   
         [[xWindowsFeature]DnsTools] Querying for feature RSAT-DNS-Server using
 Server Manager cmdlet Get-WindowsFeature.
VERBOSE: [2022-07-08 05:56:44Z] [VERBOSE] [VMName]:                   
         [[xWindowsFeature]DnsTools] The operation 'Get-WindowsFeature' 
started: RSAT-DNS-Server
VERBOSE: [2022-07-08 05:56:48Z] [VERBOSE] [VMName]:                   
         [[xWindowsFeature]DnsTools] The operation 'Get-WindowsFeature' 
succeeded: RSAT-DNS-Server
VERBOSE: [2022-07-08 05:56:48Z] [VERBOSE] [VMName]:                   
         [[xWindowsFeature]DnsTools] End executing Test functionality on the 
RSAT-DNS-Server feature.
VERBOSE: [2022-07-08 05:56:48Z] [VERBOSE] [VMName]: LCM:  [ End    
Test     ]  [[xWindowsFeature]DnsTools]  in 4.2510 seconds.
VERBOSE: [2022-07-08 05:56:48Z] [VERBOSE] [VMName]: LCM:  [ Skip   Set
      ]  [[xWindowsFeature]DnsTools]
VERBOSE: [2022-07-08 05:56:48Z] [VERBOSE] [VMName]: LCM:  [ End    
Resource ]  [[xWindowsFeature]DnsTools]
VERBOSE: [2022-07-08 05:56:48Z] [VERBOSE] [VMName]: LCM:  [ Start  
Resource ]  [[xWaitForDisk]Disk2]
VERBOSE: [2022-07-08 05:56:48Z] [VERBOSE] [VMName]: LCM:  [ Start  
Test     ]  [[xWaitForDisk]Disk2]
VERBOSE: [2022-07-08 05:56:48Z] [VERBOSE] [VMName]:                   
         [[xWaitForDisk]Disk2] Test-TargetResource: Checking for disk with 
Number '2'.
VERBOSE: [2022-07-08 05:56:49Z] [VERBOSE] [VMName]:                   
         [[xWaitForDisk]Disk2] Test-TargetResource: Found disk with Number '2' 
named 'Microsoft Virtual Disk'.
VERBOSE: [2022-07-08 05:56:49Z] [VERBOSE] [VMName]: LCM:  [ End    
Test     ]  [[xWaitForDisk]Disk2]  in 0.6500 seconds.
VERBOSE: [2022-07-08 05:56:49Z] [VERBOSE] [VMName]: LCM:  [ Skip   Set
      ]  [[xWaitForDisk]Disk2]
VERBOSE: [2022-07-08 05:56:49Z] [VERBOSE] [VMName]: LCM:  [ End    
Resource ]  [[xWaitForDisk]Disk2]
VERBOSE: [2022-07-08 05:56:49Z] [VERBOSE] [VMName]: LCM:  [ Start  
Resource ]  [[xDisk]ADDataDisk]
VERBOSE: [2022-07-08 05:56:49Z] [VERBOSE] [VMName]: LCM:  [ Start  
Test     ]  [[xDisk]ADDataDisk]
VERBOSE: [2022-07-08 05:56:49Z] [VERBOSE] [VMName]:                   
         [[xDisk]ADDataDisk] Test-TargetResource: Testing disk with Number '2' 
status for drive letter 'F'.
VERBOSE: [2022-07-08 05:56:49Z] [VERBOSE] [VMName]:                   
         [[xDisk]ADDataDisk] Test-TargetResource: Checking if disk with Number 
'2' is initialized.
VERBOSE: [2022-07-08 05:56:52Z] [VERBOSE] [VMName]:                   
         [[xDisk]ADDataDisk] Perform operation 'Query CimInstances' with 
following parameters, ''queryExpression' = SELECT BlockSize from Win32_Volume 
WHERE DriveLetter = 'F:','queryDialect' = WQL,'namespaceName' = root\cimv2'.
VERBOSE: [2022-07-08 05:56:52Z] [VERBOSE] [VMName]:                   
         [[xDisk]ADDataDisk] Operation 'Query CimInstances' complete.
VERBOSE: [2022-07-08 05:56:52Z] [VERBOSE] [VMName]: LCM:  [ End    
Test     ]  [[xDisk]ADDataDisk]  in 0.1400 seconds.
VERBOSE: [2022-07-08 05:56:52Z] [VERBOSE] [VMName]: LCM:  [ Skip   Set
      ]  [[xDisk]ADDataDisk]
VERBOSE: [2022-07-08 05:56:52Z] [VERBOSE] [VMName]: LCM:  [ End    
Resource ]  [[xDisk]ADDataDisk]
VERBOSE: [2022-07-08 05:56:52Z] [VERBOSE] [VMName]: LCM:  [ Start  
Resource ]  [[xWindowsFeature]ADDSInstall]
VERBOSE: [2022-07-08 05:56:52Z] [VERBOSE] [VMName]: LCM:  [ Start  
Test     ]  [[xWindowsFeature]ADDSInstall]
VERBOSE: [2022-07-08 05:56:52Z] [VERBOSE] [VMName]:                   
         [[xWindowsFeature]ADDSInstall] Begin executing Test functionality on 
the AD-Domain-Services feature.
VERBOSE: [2022-07-08 05:56:52Z] [VERBOSE] [VMName]:                   
         [[xWindowsFeature]ADDSInstall] Perform operation 'Enumerate 
CimInstances' with following parameters, ''namespaceName' = 
root\cimv2,'className' = Win32_OperatingSystem'.
VERBOSE: [2022-07-08 05:56:52Z] [VERBOSE] [VMName]:                   
         [[xWindowsFeature]ADDSInstall] Operation 'Enumerate CimInstances' 
complete.
VERBOSE: [2022-07-08 05:56:52Z] [VERBOSE] [VMName]:                   
         [[xWindowsFeature]ADDSInstall] Loading module from path 
'C:\Windows\system32\WindowsPowerShell\v1.0\Modules\ServerManager\ServerManager
.psd1'.
VERBOSE: [2022-07-08 05:56:52Z] [VERBOSE] [VMName]:                   
         [[xWindowsFeature]ADDSInstall] Importing cmdlet 'Get-WindowsFeature'.
VERBOSE: [2022-07-08 05:56:52Z] [VERBOSE] [VMName]:                   
         [[xWindowsFeature]ADDSInstall] Importing cmdlet 
'Install-WindowsFeature'.
VERBOSE: [2022-07-08 05:56:52Z] [VERBOSE] [VMName]:                   
         [[xWindowsFeature]ADDSInstall] Importing cmdlet 
'Uninstall-WindowsFeature'.
VERBOSE: [2022-07-08 05:56:52Z] [VERBOSE] [VMName]:                   
         [[xWindowsFeature]ADDSInstall] Importing function 
'Disable-ServerManagerStandardUserRemoting'.
VERBOSE: [2022-07-08 05:56:52Z] [VERBOSE] [VMName]:                   
         [[xWindowsFeature]ADDSInstall] Importing function 
'Enable-ServerManagerStandardUserRemoting'.
VERBOSE: [2022-07-08 05:56:52Z] [VERBOSE] [VMName]:                   
         [[xWindowsFeature]ADDSInstall] Importing alias 'Add-WindowsFeature'.
VERBOSE: [2022-07-08 05:56:52Z] [VERBOSE] [VMName]:                   
         [[xWindowsFeature]ADDSInstall] Importing alias 
'Remove-WindowsFeature'.
VERBOSE: [2022-07-08 05:56:52Z] [VERBOSE] [VMName]:                   
         [[xWindowsFeature]ADDSInstall] Querying for feature AD-Domain-Services
 using Server Manager cmdlet Get-WindowsFeature.
VERBOSE: [2022-07-08 05:56:52Z] [VERBOSE] [VMName]:                   
         [[xWindowsFeature]ADDSInstall] The operation 'Get-WindowsFeature' 
started: AD-Domain-Services
VERBOSE: [2022-07-08 05:56:52Z] [VERBOSE] [VMName]:                   
         [[xWindowsFeature]ADDSInstall] The operation 'Get-WindowsFeature' 
succeeded: AD-Domain-Services
VERBOSE: [2022-07-08 05:56:52Z] [VERBOSE] [VMName]:                   
         [[xWindowsFeature]ADDSInstall] End executing Test functionality on the
 AD-Domain-Services feature.
VERBOSE: [2022-07-08 05:56:52Z] [VERBOSE] [VMName]: LCM:  [ End    
Test     ]  [[xWindowsFeature]ADDSInstall]  in 0.2320 seconds.
VERBOSE: [2022-07-08 05:56:52Z] [VERBOSE] [VMName]: LCM:  [ Skip   Set
      ]  [[xWindowsFeature]ADDSInstall]
VERBOSE: [2022-07-08 05:56:52Z] [VERBOSE] [VMName]: LCM:  [ End    
Resource ]  [[xWindowsFeature]ADDSInstall]
VERBOSE: [2022-07-08 05:56:52Z] [VERBOSE] [VMName]: LCM:  [ Start  
Resource ]  [[xWindowsFeature]ADAdminCenter]
VERBOSE: [2022-07-08 05:56:52Z] [VERBOSE] [VMName]: LCM:  [ Start  
Test     ]  [[xWindowsFeature]ADAdminCenter]
VERBOSE: [2022-07-08 05:56:52Z] [VERBOSE] [VMName]:                   
         [[xWindowsFeature]ADAdminCenter] Begin executing Test functionality on
 the RSAT-AD-AdminCenter feature.
VERBOSE: [2022-07-08 05:56:52Z] [VERBOSE] [VMName]:                   
         [[xWindowsFeature]ADAdminCenter] Perform operation 'Enumerate 
CimInstances' with following parameters, ''namespaceName' = 
root\cimv2,'className' = Win32_OperatingSystem'.
VERBOSE: [2022-07-08 05:56:52Z] [VERBOSE] [VMName]:                   
         [[xWindowsFeature]ADAdminCenter] Operation 'Enumerate CimInstances' 
complete.
VERBOSE: [2022-07-08 05:56:52Z] [VERBOSE] [VMName]:                   
         [[xWindowsFeature]ADAdminCenter] Loading module from path 
'C:\Windows\system32\WindowsPowerShell\v1.0\Modules\ServerManager\ServerManager
.psd1'.
VERBOSE: [2022-07-08 05:56:52Z] [VERBOSE] [VMName]:                   
         [[xWindowsFeature]ADAdminCenter] Importing cmdlet 
'Get-WindowsFeature'.
VERBOSE: [2022-07-08 05:56:52Z] [VERBOSE] [VMName]:                   
         [[xWindowsFeature]ADAdminCenter] Importing cmdlet 
'Install-WindowsFeature'.
VERBOSE: [2022-07-08 05:56:52Z] [VERBOSE] [VMName]:                   
         [[xWindowsFeature]ADAdminCenter] Importing cmdlet 
'Uninstall-WindowsFeature'.
VERBOSE: [2022-07-08 05:56:52Z] [VERBOSE] [VMName]:                   
         [[xWindowsFeature]ADAdminCenter] Importing function 
'Disable-ServerManagerStandardUserRemoting'.
VERBOSE: [2022-07-08 05:56:52Z] [VERBOSE] [VMName]:                   
         [[xWindowsFeature]ADAdminCenter] Importing function 
'Enable-ServerManagerStandardUserRemoting'.
VERBOSE: [2022-07-08 05:56:52Z] [VERBOSE] [VMName]:                   
         [[xWindowsFeature]ADAdminCenter] Importing alias 
'Add-WindowsFeature'.
VERBOSE: [2022-07-08 05:56:52Z] [VERBOSE] [VMName]:                   
         [[xWindowsFeature]ADAdminCenter] Importing alias 
'Remove-WindowsFeature'.
VERBOSE: [2022-07-08 05:56:52Z] [VERBOSE] [VMName]:                   
         [[xWindowsFeature]ADAdminCenter] Querying for feature 
RSAT-AD-AdminCenter using Server Manager cmdlet Get-WindowsFeature.
VERBOSE: [2022-07-08 05:56:52Z] [VERBOSE] [VMName]:                   
         [[xWindowsFeature]ADAdminCenter] The operation 'Get-WindowsFeature' 
started: RSAT-AD-AdminCenter
VERBOSE: [2022-07-08 05:56:52Z] [VERBOSE] [VMName]:                   
         [[xWindowsFeature]ADAdminCenter] The operation 'Get-WindowsFeature' 
succeeded: RSAT-AD-AdminCenter
VERBOSE: [2022-07-08 05:56:52Z] [VERBOSE] [VMName]:                   
         [[xWindowsFeature]ADAdminCenter] End executing Test functionality on 
the RSAT-AD-AdminCenter feature.
VERBOSE: [2022-07-08 05:56:52Z] [VERBOSE] [VMName]: LCM:  [ End    
Test     ]  [[xWindowsFeature]ADAdminCenter]  in 0.2170 seconds.
VERBOSE: [2022-07-08 05:56:52Z] [VERBOSE] [VMName]: LCM:  [ Skip   Set
      ]  [[xWindowsFeature]ADAdminCenter]
VERBOSE: [2022-07-08 05:56:52Z] [VERBOSE] [VMName]: LCM:  [ End    
Resource ]  [[xWindowsFeature]ADAdminCenter]
VERBOSE: [2022-07-08 05:56:52Z] [VERBOSE] [VMName]: LCM:  [ Start  
Resource ]  [[xWindowsFeature]ADDSTools]
VERBOSE: [2022-07-08 05:56:52Z] [VERBOSE] [VMName]: LCM:  [ Start  
Test     ]  [[xWindowsFeature]ADDSTools]
VERBOSE: [2022-07-08 05:56:52Z] [VERBOSE] [VMName]:                   
         [[xWindowsFeature]ADDSTools] Begin executing Test functionality on the
 RSAT-ADDS-Tools feature.
VERBOSE: [2022-07-08 05:56:52Z] [VERBOSE] [VMName]:                   
         [[xWindowsFeature]ADDSTools] Perform operation 'Enumerate 
CimInstances' with following parameters, ''namespaceName' = 
root\cimv2,'className' = Win32_OperatingSystem'.
VERBOSE: [2022-07-08 05:56:52Z] [VERBOSE] [VMName]:                   
         [[xWindowsFeature]ADDSTools] Operation 'Enumerate CimInstances' 
complete.
VERBOSE: [2022-07-08 05:56:52Z] [VERBOSE] [VMName]:                   
         [[xWindowsFeature]ADDSTools] Loading module from path 
'C:\Windows\system32\WindowsPowerShell\v1.0\Modules\ServerManager\ServerManager
.psd1'.
VERBOSE: [2022-07-08 05:56:52Z] [VERBOSE] [VMName]:                   
         [[xWindowsFeature]ADDSTools] Importing cmdlet 'Get-WindowsFeature'.
VERBOSE: [2022-07-08 05:56:52Z] [VERBOSE] [VMName]:                   
         [[xWindowsFeature]ADDSTools] Importing cmdlet 
'Install-WindowsFeature'.
VERBOSE: [2022-07-08 05:56:52Z] [VERBOSE] [VMName]:                   
         [[xWindowsFeature]ADDSTools] Importing cmdlet 
'Uninstall-WindowsFeature'.
VERBOSE: [2022-07-08 05:56:52Z] [VERBOSE] [VMName]:                   
         [[xWindowsFeature]ADDSTools] Importing function 
'Disable-ServerManagerStandardUserRemoting'.
VERBOSE: [2022-07-08 05:56:52Z] [VERBOSE] [VMName]:                   
         [[xWindowsFeature]ADDSTools] Importing function 
'Enable-ServerManagerStandardUserRemoting'.
VERBOSE: [2022-07-08 05:56:52Z] [VERBOSE] [VMName]:                   
         [[xWindowsFeature]ADDSTools] Importing alias 'Add-WindowsFeature'.
VERBOSE: [2022-07-08 05:56:52Z] [VERBOSE] [VMName]:                   
         [[xWindowsFeature]ADDSTools] Importing alias 'Remove-WindowsFeature'.
VERBOSE: [2022-07-08 05:56:52Z] [VERBOSE] [VMName]:                   
         [[xWindowsFeature]ADDSTools] Querying for feature RSAT-ADDS-Tools 
using Server Manager cmdlet Get-WindowsFeature.
VERBOSE: [2022-07-08 05:56:52Z] [VERBOSE] [VMName]:                   
         [[xWindowsFeature]ADDSTools] The operation 'Get-WindowsFeature' 
started: RSAT-ADDS-Tools
VERBOSE: [2022-07-08 05:56:52Z] [VERBOSE] [VMName]:                   
         [[xWindowsFeature]ADDSTools] The operation 'Get-WindowsFeature' 
succeeded: RSAT-ADDS-Tools
VERBOSE: [2022-07-08 05:56:52Z] [VERBOSE] [VMName]:                   
         [[xWindowsFeature]ADDSTools] End executing Test functionality on the 
RSAT-ADDS-Tools feature.
VERBOSE: [2022-07-08 05:56:52Z] [VERBOSE] [VMName]: LCM:  [ End    
Test     ]  [[xWindowsFeature]ADDSTools]  in 0.2170 seconds.
VERBOSE: [2022-07-08 05:56:52Z] [VERBOSE] [VMName]: LCM:  [ Skip   Set
      ]  [[xWindowsFeature]ADDSTools]
VERBOSE: [2022-07-08 05:56:52Z] [VERBOSE] [VMName]: LCM:  [ End    
Resource ]  [[xWindowsFeature]ADDSTools]
VERBOSE: [2022-07-08 05:56:52Z] [VERBOSE] [VMName]: LCM:  [ Start  
Resource ]  [[xWaitForADDomain]DscForestWait]
VERBOSE: [2022-07-08 05:56:52Z] [VERBOSE] [VMName]: LCM:  [ Start  
Test     ]  [[xWaitForADDomain]DscForestWait]
VERBOSE: [2022-07-08 05:56:52Z] [VERBOSE] [VMName]:                   
         [[xWaitForADDomain]DscForestWait] Checking for domain "****DomainName*****"
 ...
VERBOSE: [2022-07-08 05:56:52Z] [VERBOSE] [VMName]:                   
         [[xWaitForADDomain]DscForestWait] Found domain "****DomainName*****"
VERBOSE: [2022-07-08 05:56:52Z] [VERBOSE] [VMName]: LCM:  [ End    
Test     ]  [[xWaitForADDomain]DscForestWait]  in 0.0620 seconds.
VERBOSE: [2022-07-08 05:56:52Z] [VERBOSE] [VMName]: LCM:  [ Skip   Set
      ]  [[xWaitForADDomain]DscForestWait]
VERBOSE: [2022-07-08 05:56:52Z] [VERBOSE] [VMName]: LCM:  [ End    
Resource ]  [[xWaitForADDomain]DscForestWait]
VERBOSE: [2022-07-08 05:56:52Z] [VERBOSE] [VMName]: LCM:  [ Start  
Resource ]  [[xADDomainController]BDC]
VERBOSE: [2022-07-08 05:56:52Z] [VERBOSE] [VMName]: LCM:  [ Start  
Test     ]  [[xADDomainController]BDC]
VERBOSE: [2022-07-08 05:56:52Z] [VERBOSE] [VMName]:                   
         [[xADDomainController]BDC] Resolving '"****DomainName*****"' ...
VERBOSE: [2022-07-08 05:56:52Z] [VERBOSE] [VMName]:                   
         [[xADDomainController]BDC] Domain '"****DomainName*****"' is NOT present on
 the current node.
VERBOSE: [2022-07-08 05:56:52Z] [VERBOSE] [VMName]: LCM:  [ End    
Test     ]  [[xADDomainController]BDC]  in 0.5010 seconds.
VERBOSE: [2022-07-08 05:56:52Z] [VERBOSE] [VMName]: LCM:  [ Start  Set
      ]  [[xADDomainController]BDC]
VERBOSE: [2022-07-08 05:56:52Z] [VERBOSE] [VMName]:                   
         [[xADDomainController]BDC] Resolving '"****DomainName*****"' ...
VERBOSE: [2022-07-08 05:56:52Z] [ERROR] Either the target name is incorrect or 
the server has rejected the client credentials.
VERBOSE: [2022-07-08 05:56:52Z] [VERBOSE] [VMName]:                   
         [[xADDomainController]BDC] Checking if domain '"****DomainName*****"' is 
present ...
VERBOSE: [2022-07-08 05:56:52Z] [VERBOSE] [VMName]: LCM:  [ End    Set
      ]  [[xADDomainController]BDC]  in 0.1090 seconds.
VERBOSE: [2022-07-08 05:56:52Z] [ERROR] PowerShell DSC resource 
MSFT_xADDomainController  failed to execute Set-TargetResource functionality 
with error message: Domain '"****DomainName*****"' could not be found. 
VERBOSE: [2022-07-08 05:56:52Z] [VERBOSE] [VMName]:                   
         [] Consistency check completed.
VERBOSE: [2022-07-08 05:56:52Z] [ERROR] The SendConfigurationApply function did
 not succeed. LCM failed to start desired state configuration manually.
VERBOSE: [2022-07-08 05:56:52Z] [VERBOSE] Operation 'Invoke CimMethod' 
complete.
VERBOSE: [2022-07-08 05:56:52Z] [VERBOSE] Time taken for configuration job to 
complete is 13.873 seconds
VERBOSE: [2022-07-08 05:56:53Z] Settings handler status to 'transitioning' 
(C:\Packages\Plugins\Microsoft.Powershell.DSC\2.83.2.0\Status\0.status)
VERBOSE: [2022-07-08 05:56:53Z] LCM state is PendingConfiguration
VERBOSE: [2022-07-08 05:57:53Z] DSC configuration completed.
VERBOSE: [2022-07-08 05:57:53Z] Resetting metaconfiguration...
VERBOSE: [2022-07-08 05:57:53Z] Restoring 
C:\Packages\Plugins\Microsoft.Powershell.DSC\2.83.2.0\DSCWork\AD.0\AD-BDC\local
host.meta.mof.bk...
VERBOSE: [2022-07-08 05:57:53Z] Executing Set-DscLocalConfigurationManager...
VERBOSE: [2022-07-08 05:57:53Z] Settings handler status to 'transitioning' 
(C:\Packages\Plugins\Microsoft.Powershell.DSC\2.83.2.0\Status\0.status)
VERBOSE: [2022-07-08 05:57:56Z] [VERBOSE] Performing the operation 
"Start-DscConfiguration: SendMetaConfigurationApply" on target 
"MSFT_DSCLocalConfigurationManager".
VERBOSE: [2022-07-08 05:57:56Z] [VERBOSE] Perform operation 'Invoke CimMethod' 
with following parameters, ''methodName' = 
SendMetaConfigurationApply,'className' = 
MSFT_DSCLocalConfigurationManager,'namespaceName' = 
root/Microsoft/Windows/DesiredStateConfiguration'.
VERBOSE: [2022-07-08 05:57:56Z] [VERBOSE] An LCM method call arrived from 
computer VMName with user sid S-1-5-18.
VERBOSE: [2022-07-08 05:57:56Z] [VERBOSE] [VMName]: LCM:  [ Start  Set
      ]
VERBOSE: [2022-07-08 05:57:56Z] [VERBOSE] [VMName]: LCM:  [ Start  
Resource ]  [MSFT_DSCMetaConfiguration]
VERBOSE: [2022-07-08 05:57:56Z] [VERBOSE] [VMName]: LCM:  [ Start  Set
      ]  [MSFT_DSCMetaConfiguration]
VERBOSE: [2022-07-08 05:57:56Z] [VERBOSE] [VMName]: LCM:  [ End    Set
      ]  [MSFT_DSCMetaConfiguration]  in 0.0160 seconds.
VERBOSE: [2022-07-08 05:57:56Z] [VERBOSE] [VMName]: LCM:  [ End    
Resource ]  [MSFT_DSCMetaConfiguration]
VERBOSE: [2022-07-08 05:57:56Z] [VERBOSE] [VMName]: LCM:  [ End    Set
      ]
VERBOSE: [2022-07-08 05:57:56Z] [VERBOSE] [VMName]: LCM:  [ End    Set
      ]    in  0.0310 seconds.
VERBOSE: [2022-07-08 05:57:56Z] [VERBOSE] Operation 'Invoke CimMethod' 
complete.
VERBOSE: [2022-07-08 05:57:56Z] [VERBOSE] Set-DscLocalConfigurationManager 
finished in 0.086 seconds.
VERBOSE: [2022-07-08 05:57:57Z] Settings handler status to 'transitioning' 
(C:\Packages\Plugins\Microsoft.Powershell.DSC\2.83.2.0\Status\0.status)
VERBOSE: [2022-07-08 05:57:57Z] Get-DscLocalConfigurationManager: 

ActionAfterReboot              : ContinueConfiguration

AgentId                        : ******************************

AllowModuleOverWrite           : False

CertificateID                  : ******************************

ConfigurationDownloadManagers  : {}

ConfigurationID                : 

ConfigurationMode              : ApplyOnly

ConfigurationModeFrequencyMins : 15

Credential                     : 

DebugMode                      : {NONE}

DownloadManagerCustomData      : 

DownloadManagerName            : 

LCMCompatibleVersions          : {1.0, 2.0}

LCMState                       : PendingConfiguration

LCMStateDetail                 : 

LCMVersion                     : 2.0

StatusRetentionTimeInDays      : 10

SignatureValidationPolicy      : NONE

SignatureValidations           : {}

MaximumDownloadSizeMB          : 500

PartialConfigurations          : 

RebootNodeIfNeeded             : True

RefreshFrequencyMins           : 30

RefreshMode                    : PUSH

ReportManagers                 : {}

ResourceModuleManagers         : {}

PSComputerName                 : 

VERBOSE: [2022-07-08 05:57:57Z] Settings handler status to 'error' 
(C:\Packages\Plugins\Microsoft.Powershell.DSC\2.83.2.0\Status\0.status)
VERBOSE: [2022-07-08 05:57:57Z] Loading VM agent telemetry assemblies ...
VERBOSE: [2022-07-08 05:57:57Z] [ERROR] while enabling MDS telemetry... [MDS 
Telemetry] C:\WindowsAzure\Packages\WindowsAzureEventSource.dll does not exist 
...
VERBOSE: [2022-07-08 05:57:57Z] Getting handler execution status 
HKLM:\SOFTWARE\Microsoft\Azure\DSC\2.83.2.0\Status ...
VERBOSE: [2022-07-08 05:57:57Z] Updating execution status 
(HKLM:\SOFTWARE\Microsoft\Azure\DSC\2.83.2.0\Status)
VERBOSE: [2022-07-08 05:57:57Z] Transitioning to Completed state ...
VERBOSE: [2022-07-08 05:57:57Z] Releasing SameSeq mutex
VERBOSE: [2022-07-08 05:57:57Z] Releasing mutex DscExtensionHandler_Lock

DSC configuration

Configuration AD-BDC
{
  Param(
    # Domain Name for the new Forest
    [Parameter(Mandatory)]
    $DNSServer,
    [Parameter(Mandatory)][string] $DomainName,
    [Parameter(Mandatory)][string] $DomainNetBiosName,
      [Parameter(Mandatory)][PSCredential] $AdminCredentials,
      [Uri] $SoftwareRepoUri,
    [String] $SoftwareRepoSasToken
  )

  Import-DscResource -ModuleName xPSDesiredStateConfiguration
  Import-DscResource -ModuleName xActiveDirectory
  Import-DscResource -ModuleName xStorage
  Import-DscResource -ModuleName ****
  Import-DscResource -ModuleName AuditPolicyDsc
  Import-DscResource -ModuleName SecurityPolicyDsc

  #$password = $password | ConvertTo-SecureString -asPlainText -Force

  if(!(Test-Path "HKLM:\Software\DSCPushProcess\"))
  {
    New-Item -Path "HKLM:\Software\DSCPushProcess\" -Force
  }

  [System.Management.Automation.PSCredential]$DomainCreds = New-Object System.Management.Automation.PSCredential ("${DomainName}\$($AdminCredentials.UserName)", $($AdminCredentials.Password))

  Write-Verbose "Switching Network Location to Private"
  Set-NetConnectionProfile -NetworkCategory Private

  Write-Verbose "Increase MaxEnvelopeSizekb in order to allow big DSC Push configuration"
  Set-Item WSMan:\localhost\MaxEnvelopeSizekb 10240

  if(!(Test-Path "HKLM:\Software\ServerInfo\"))
  {
    New-Item -Path "HKLM:\Software\ServerInfo\" -Force
    New-ItemProperty -Path "HKLM:\Software\ServerInfo\" -Name SBPProduct -PropertyType String -Value "RPAaaS"
  }

  Node localhost
  {
    LocalConfigurationManager 
    {
      ConfigurationMode = 'ApplyOnly'
      RebootNodeIfNeeded = $true
      ActionAfterReboot = 'ContinueConfiguration'
    }

    xRegistry DisableIPv6 {
      Key = "HKLM:\SYSTEM\CurrentControlSet\Services\Tcpip6\Parameters"
      ValueName = "DisabledComponents"
      Ensure = "Present"
      ValueData = 255
      ValueType = "DWord"
      Force = $true
    }

    xScript Disable6to4 {
      GetScript = {
        $result = (Get-Net6to4Configuration).State -eq 'Disabled'
        return @{"Result"=$result}
      }
      TestScript = {
        return (Get-Net6to4Configuration).State -eq 'Disabled'
      }
      SetScript = {
        Set-Net6to4Configuration -State Disabled
        $global:DSCMachineStatus = 1
      }
      DependsOn = "[xRegistry]DisableIPv6"
    }

    xWindowsFeature DNS 
    { 
      DependsOn = "[xScript]Disable6to4"
      Ensure = "Present"  
      Name = "DNS"      
    }

      xWindowsFeature DnsTools
      {
      DependsOn = "[xScript]Disable6to4"
        Ensure = "Present"
      Name = "RSAT-DNS-Server"
    }

    xWaitForDisk Disk2
    {
      DependsOn = "[xScript]Disable6to4"
      DiskId = 2
      RetryIntervalSec =30
      RetryCount = 20
    }

    xDisk ADDataDisk
    {
      DiskId = 2
      DriveLetter = "F"
      DependsOn = "[xWaitForDisk]Disk2"
    }

    xWindowsFeature ADDSInstall 
    {
      Ensure = "Present"
      Name = "AD-Domain-Services"
      DependsOn = "[xDisk]ADDataDisk"
    }

    xWindowsFeature ADAdminCenter
    {
      Ensure = "Present"
      Name = "RSAT-AD-AdminCenter"
      DependsOn = "[xWindowsFeature]ADDSInstall"
    }

    xWindowsFeature ADDSTools 
    {
      Ensure = "Present"
      Name = "RSAT-ADDS-Tools"
      DependsOn = "[xWindowsFeature]ADDSInstall"
    }

    xWaitForADDomain DscForestWait
    {
        DomainName = $DomainName
        DomainUserCredential= $DomainCreds
        RetryCount = 10
        RetryIntervalSec = 45
            DependsOn = "[xWindowsFeature]ADDSTools"
    }

    xADDomainController BDC
      {
        DomainName = $DomainName
        DomainAdministratorCredential = $DomainCreds
        SafemodeAdministratorPassword = $DomainCreds
        DatabasePath = "F:\NTDS"
        LogPath = "F:\NTDS"
        SysvolPath = "F:\SYSVOL"
        DependsOn = "[xWaitForADDomain]DscForestWait"
    }

    xScript EnableADRecycleBin
    {
      DependsOn = "[xADDomainController]BDC"
    PsDscRunAsCredential = ($DomainCreds)   
      GetScript = {@{}}
      TestScript = {
        $Feature = Get-ADOptionalFeature -Filter * | Where-Object {$_.Name -eq "Recycle Bin Feature"}
        if($Feature.EnabledScopes){Return $True}else{Return $False}
      }
      SetScript = {

        $DomainName=Get-ItemProperty -path "HKLM:\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters" -name "Domain" -erroraction SilentlyContinue | select -expandproperty Domain
        $DomainX500Path=""
        foreach ($Chunk In ($DomainName.Split('.'))) {
            if($DomainX500Path -ne '') {
                $DomainX500Path = $DomainX500Path + ","
            }
            $DomainX500Path = $DomainX500Path + "dc=$Chunk"
        }
        Enable-ADOptionalFeature "Recycle Bin Feature" -server ((Get-ADForest -Current LocalComputer).DomainNamingMaster) -Scope ForestOrConfigurationSet -Target (Get-ADForest -Current LocalComputer) -Confirm:$False
        Set-ADObject -Identity "CN=Directory Service,CN=Windows NT,CN=Services,CN=Configuration,$DomainX500Path" -Partition "CN=Configuration,$DomainX500Path" -Replace:@{"msDS-DeletedObjectLifetime" = 180}
      }
    }

    "***********" MSB_For_DC {
      DependsOn = "[xScript]EnableADRecycleBin"
    }

    xScript RebootServer
    {
        TestScript = {
          Try{
            Get-ItemProperty -Path "HKLM:\Software\DSCPushProcess\" -Name Reboot
            Return $True
          }
          Catch{
            Return $False
          }
        }
        SetScript = {
            $global:DSCMachineStatus = 1
            New-ItemProperty -Path "HKLM:\Software\DSCPushProcess\" -Name Reboot -PropertyType String -Value $True
        }
        GetScript = {@{}}
        DependsOn = '[************]MSB_For_DC'
    }
  }
}

Suggested solution

NA

Operating system the target node is running

OsName               : Microsoft Windows Server 2012 R2 Datacenter
OsOperatingSystemSKU : DatacenterServerEdition
OsArchitecture       : 64-bit
WindowsBuildLabEx    : 9600.20396.amd64fre.winblue_ltsb_escrow.220602-1730
OsLanguage           : en-US
OsMuiLanguages       : {en-US}

PowerShell version and build the target node is running

Name                           Value                                                                                 
----                           -----                                                                                 
PSVersion                      5.1.14409.1005                                                                        
PSEdition                      Desktop                                                                               
PSCompatibleVersions           {1.0, 2.0, 3.0, 4.0...}                                                               
BuildVersion                   10.0.14409.1005                                                                       
CLRVersion                     4.0.30319.42000                                                                       
WSManStackVersion              3.0                                                                                   
PSRemotingProtocolVersion      2.3                                                                                   
SerializationVersion           1.1.0.1

ActiveDirectoryDsc version

Get-Module -Name 'ActiveDirectoryDsc' -ListAvailable | ft Name,Version,Path

Above command did not return any output.
johlju commented 2 years ago

Are you experiencing this https://github.com/dsccommunity/ActiveDirectoryDsc/issues/694?

What version of ActiveDirectoryDsc are you using? Suggest trying out the version v6.3.0-preview0002 since it has changes to how domain controllers are detected.

HariEY7 commented 2 years ago

Hi @johlju

Our issue is not similar to "https://github.com/dsccommunity/ActiveDirectoryDsc/issues/694"

Get-Module -Name 'ActiveDirectoryDsc' -ListAvailable | ft Name,Version,Path Above command did not return any output.

Please let me know how to get version details / how we can consume latest version

johlju commented 2 years ago

You should run that command on the node that throws the error.

HariEY7 commented 2 years ago

@johlju I was running on the affected machine and it didnt return any response.

johlju commented 2 years ago

I see in the configuration above that you referencing xActiveDirectory, any version of that module is very old - suggest you try ActiveDirectoryDsc as I mentioned above.

HariEY7 commented 2 years ago

@johlju

Above script works when we retry the same script. Is it because of the version?

How can we update the version from xActiveDirectory? Does removing 'x' would be enough as mentioned here https://github.com/dsccommunity/ActiveDirectoryDsc/issues/312 ?

stale[bot] commented 2 years ago

This issue has been automatically marked as stale because it has not had activity from the community in the last 30 days. It will be closed if no further activity occurs within 10 days. If the issue is labelled with any of the work labels (e.g bug, enhancement, documentation, or tests) then the issue will not auto-close.

stale[bot] commented 1 year ago

This issue has been automatically closed because it is has not had activity from the community in the last 40 days.