Hi All,
Wondering if anyone has been able to use the CMDLet Add-NcCifsServer to place a SVM in a particular Active Directory OU? I am getting the error when running the below:
$ADCred = Get-Credential -Message "Enter Active Directory account"
$SVM = "TestSVM"
Add-NcCifsServer -Name $SVM -Domain test.domain -OrganizationalUnit "OU=NetApp,OU=NonWindows,OU=Servers" -AdminCredential $ADCred -VserverContext $SVM
Error Message:
Add-NcCifsServer : Failed to create the Active Directory machine account "TestSVM". Reason: Cmd failed.
At line:1 char:1
+ Add-NcCifsServer -Name $SVM -Domain test.domain -OrganizationalUnit "OU=NetApp ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : InvalidOperation: (192.168.x.x:NcController) [Add-NcCifsServer], EAPIERROR
+ FullyQualifiedErrorId : ApiException,DataONTAP.C.PowerShell.SDK.Cmdlets.Cifs.AddNcCifsServer
Any help most welcome.
Kind regards,
Jason