You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Details of the scenario you tried and the problem that is occurring
When creating a new Site Link, the ADReplicationSiteLink throws an exception stating that "the parameter could not be found" if any site link options have been specified.
Verbose logs showing the problem
VERBOSE: Perform operation 'Invoke CimMethod' with following parameters, ''methodName' = Resourceset,'className' =
MSFT_DSCLocalConfigurationManager,'namespaceName' = root/Microsoft/Windows/DesiredStateConfiguration'.
VERBOSE: An LCM method call arrived from computer DC01-2019 with user sid
S-1-5-21-3553084080-2500667019-4197401787-500.
VERBOSE: [DC01-2019]: LCM: [ Start Set ] [[ADReplicationSiteLink]DirectResourceAccess]
VERBOSE: [DC01-2019]: [[ADReplicationSiteLink]DirectResourceAccess] Could not find test site
link. (ADRSL0008)
VERBOSE: [DC01-2019]: [[ADReplicationSiteLink]DirectResourceAccess] Creating AD Site Link
test. (ADRSL0006)
A parameter cannot be found that matches parameter name 'OptionChangeNotification'.
+ CategoryInfo : InvalidArgument: (:) [], CimException
+ FullyQualifiedErrorId : NamedParameterNotFound,Microsoft.ActiveDirectory.Management.Commands.NewADReplicationSit
eLink
+ PSComputerName : localhost
VERBOSE: [DC01-2019]: LCM: [ End Set ] [[ADReplicationSiteLink]DirectResourceAccess] in 0.0940 seconds.
The PowerShell DSC resource '[ADReplicationSiteLink]DirectResourceAccess' with SourceInfo '' threw one or more
non-terminating errors while running the Set-TargetResource functionality. These errors are logged to the ETW channel
called Microsoft-Windows-DSC/Operational. Refer to this channel for more details.
+ CategoryInfo : InvalidOperation: (root/Microsoft/...gurationManager:String) [], CimException
+ FullyQualifiedErrorId : NonTerminatingErrorFromProvider
+ PSComputerName : localhost
VERBOSE: Operation 'Invoke CimMethod' complete.
VERBOSE: Time taken for configuration job to complete is 0.409 seconds
Suggested solution to the issue
Add Site Link option processing to the New-ADReplicationSiteLink parameters.
The DSC configuration that is used to reproduce the issue (as detailed as possible)
Details of the scenario you tried and the problem that is occurring
When creating a new Site Link, the
ADReplicationSiteLink
throws an exception stating that "the parameter could not be found" if any site link options have been specified.Verbose logs showing the problem
Suggested solution to the issue
Add Site Link option processing to the
New-ADReplicationSiteLink
parameters.The DSC configuration that is used to reproduce the issue (as detailed as possible)
The operating system the target node is running
Version and build of PowerShell the target node is running
Version of the DSC module that was used
5.0.0
The text was updated successfully, but these errors were encountered: