Take the 2-minute tour ×
SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. It's 100% free, no registration required.

In sharepoint 2013 I have to create user profile synchronization connection using sharepoint active directory through scripts. I have created the user profile service using powershell after that is there any way to select the option in Configure Synchronization Settings to select Use SharePoint Active Directory in Synchronization Options. After that I have to create the synchronization connection using scripts.

I have scripts for sharepoint 2010 but I could't find scripts for sharepoint 2013. If anyone have tried this before please help me out

Thank You

share|improve this question

1 Answer 1

Use the Add-SPProfileSyncConnection cmdlet. Here is the TechNet documentation: http://technet.microsoft.com/en-us/library/jj219677.aspx

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.