SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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

Use the Add-SPProfileSyncConnection cmdlet. Here is the TechNet documentation:

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.