STSADM command to add AD Groups to a SharePoint Group
Does anyone see what is wrong with the following command? The error return is says "command line error" but does not tell me where the error occurs. We are on SharePoint 2007. Thanks... stsadm -o adduser url http://xxx/departments/InformationSystems/ISOperations/infrastructure/default.aspx -userlogin "xxx\domain is web services" -usermail "donotreply@xxx.com" -group "Information Systems Owners" -username "xxx\yyy"JimK
June 28th, 2012 6:53pm

Hi, It seems that stsadm o adduser command by default doesnt support AD group. I suggest you do that through UI in site settings. Or You can use Gary lapoint stsadm command to add AD group http://stsadm.blogspot.com/2007/12/add-user-2.html create a script like a addGroupAD.bat there you add the line to your sites Example: stsadm -o gl-adduser2 -url "http://intranet" -userlogin "nt authority\authenticated users" -group "Viewers" I provide you the link about stsadm -o adduser for your reference: http://technet.microsoft.com/en-us/library/cc262627(v=office.12).aspx Thanks, Rock Wang Forum Support Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact tnmff@microsoft.com.Rock Wang TechNet Community Support
Free Windows Admin Tool Kit Click here and download it now
June 29th, 2012 5:28am

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics