Skip to content

Merge branch 'main' into spn

639205c
Select commit
Loading
Failed to load commit list.
Open

ADManagedServiceAccount: add ServicePrincipalNames setting #719

Merge branch 'main' into spn
639205c
Select commit
Loading
Failed to load commit list.
Azure Pipelines / dsccommunity.ActiveDirectoryDsc failed May 9, 2025 in 12m 1s

Build #6.7.0-PR0719.3 had test failures

Details

Tests

  • Failed: 1 (0.02%)
  • Passed: 5,018 (99.46%)
  • Other: 26 (0.52%)
  • Total: 5,045

Annotations

Check failure on line 6438 in Build log

See this annotation in the file changed.

@azure-pipelines azure-pipelines / dsccommunity.ActiveDirectoryDsc

Build log #L6438

PowerShell exited with code '1'.

Check failure on line 1 in MSFT_ADManagedServiceAccount\Set-TargetResource.When the Resource should be Present.When the Resource is Present.Should call the correct mocks when ServicePrincipalNames has changed

See this annotation in the file changed.

@azure-pipelines azure-pipelines / dsccommunity.ActiveDirectoryDsc

MSFT_ADManagedServiceAccount\Set-TargetResource.When the Resource should be Present.When the Resource is Present.Should call the correct mocks when ServicePrincipalNames has changed

System.InvalidOperationException: Error setting Group Account 'TestGMSA'. (MSA0014) ---> System.Management.Automation.ParameterBindingException: Cannot convert 'System.String[]' to the type 'System.Collections.Hashtable' required by parameter 'ServicePrincipalNames'. Specified method is not supported. ---> System.NotSupportedException: Specified method is not supported.
   at System.Management.Automation.ParameterBinderBase.CoerceTypeAsNeeded(CommandParameterInternal argument, String parameterName, Type toType, ParameterCollectionTypeInformation collectionTypeInfo, Object currentValue)
   --- End of inner exception stack trace ---
   at System.Management.Automation.ExceptionHandlingOps.CheckActionPreference(FunctionContext funcContext, Exception exception)
   at System.Management.Automation.Interpreter.ActionCallInstruction`2.Run(InterpretedFrame frame)
   at System.Management.Automation.Interpreter.EnterTryCatchFinallyInstruction.Run(InterpretedFrame frame)
   at System.Management.Automation.Interpreter.EnterTryCatchFinallyInstruction.Run(InterpretedFrame frame)
   --- End of inner exception stack trace ---
Raw output
at <ScriptBlock>, D:\a\1\s\output\ActiveDirectoryDsc\6.7.0\Modules\DscResource.Common\0.23.0\DscResource.Common.psm1: line 4222
4222:         throw $errorRecord