I'm having this error with our production servers with win srv 2016 OS. But this also works on our lab server with same OS.
PS C:\WINDOWS\system32> $Schedule_Cred = Get-Credential
Set-RMADCollection –InputObject $Get_Collection –AgentCredential $Agent_Cred -AgentCredentialEnabled $true -Schedule $Schedule -ScheduleCredential $Schedule_Cred
cmdlet Get-Credential at command pipeline position 1
Supply values for the following parameters:
Set-RMADCollection : Failed to save the schedule.
No mapping between account names and security IDs was done.
At line:3 char:1
+ Set-RMADCollection –InputObject $Get_Collection –AgentCredential $Age ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : NotSpecified: (:) [Set-RMADCollection], COMException
+ FullyQualifiedErrorId : System.Runtime.InteropServices.COMException,QuestSoftware.RecoveryManager.AD.PowerShell.Cmdlets.SetCollectionCmdlet