Step 1 – Prerequisites
Account needed for Syncing
We need an account set up for the AD profile synchronization. Let’s call it “Service-spADsync“, we need to configure a couple of things on this account in AD:-
Add “Replicate Directory Changes” permission
- On the domain controller, click Start, click Administrative Tools, and then click Active Directory Users and Computers.
- In Active Directory Users and Computers, right-click the domain, and then click Delegate Control.
- On the first page of the Delegation of Control Wizard, click Next.
- In the Users or Groups page, click Add.
- Type the name of the synchronization account, and then click OK.
- Click Next.
- In the Tasks to Delegate page, select Create a custom task to delegate, and then click Next.
- On the Active Directory Object Type page, select This folder, existing objects in this folder, and creation of new objects in this folder, and then click Next.
- On the Permissions page, in the Permissions box, select Replicate Directory Changes, and then click Next.
- Click Finish.
-
Add account to “Pre-Windows 2000 Compatible Access” group
- On the domain controller, click Start, click Administrative Tools, and then click Active Directory Users and Computers.
- In Active Directory Users and Computers, expand the domain, expand Builtin, right-click Pre-Windows 2000 Compatible Access, and then click Properties.
- In the Properties dialog box, select the Members tab, and then click Add.
- Type the name of the synchronization account, and then click OK.
- Click OK.
-
Grant Replicate Directory Changes permission on the cn=configuration container
- On the domain controller, click Start, click Run, type adsiedit.msc, and then click OK.
- In ADSI Edit, if the Configuration node is not already present, select ADSI Edit, on the Action menu click Connect to, in the Connection Point area of the Connection Settings dialog box select Select a well known Naming Context, select Configuration from the drop-down list, and then click OK.
- Expand the Configuration node, right-click the CN=Configuration… node, and then click Properties.
- In the Properties dialog box, select the Security tab.
- In the Group or user names section, click Add.
- Type the name of the synchronization account, and then click OK.
- In the Group or user names section, select the synchronization account.
- In the Permissions section, select Replicating Directory Changes (select Replicate Directory Changes on Windows Server 2003), and then click OK.
Forefront Services
On the box that will be running the “User Profile Synchronization Service”Go to Start > Administrative Tools > Services
Set both “Forefront Identity Manager Service” and “Forefront Identity Manager Synchronization Service” to run under your farm account and set them to automatically start and start both services
Step 2 – Delete any current User Profile Service Application (Optional)
I like to delete the current “User Profile Service Application” that gets created if you use the wizard to create your farm, I will be creating my own in the next step.Under Central Administration > Application Management > Manage Service Applications
Select “User Profile Service Application” and then select Delete from the ribbon bar
Press “OK”
Step 3 – Create New User Profile Service Application
Under Central Administration > Application Management > Manage Service ApplicationsSelect “User Profile Service Application” under the “New” button on the ribbon bar
If you do not have “User Profile Service” installed then you will have more options than the couple of options listed below. Just fill out all the appropriate information to create the application. Other options that will appear are things like creating the Profile DB and other options related to My Sites. |
Create a new application pool called WSS_ADSYNC
Select the account to use for the application pool; I use my farm account which also runs all other service applications
Press “Create”
Step 4 – Configure the Service
Under Central Administration > System Settings > Manage services on serverPress “Start” next to “User Profile Synchronization Service”
Enter the password for the service account you are using
Press “OK”
Type in “IISRESET”
Step 5 – Configure connections and import data from Active Directory
Under Central Administration > Application Management > Manage Service ApplicationsSelect “AD Sync User Profile Service Application” and then select Manage from the ribbon bar or you can just click the name “AD Sync User Profile Service Application”
Click “Configure Synchronization Connections”
The type is “Active Directory”
The Forest name is “PINTOLAKE”
The Authentication Provider Type is “Windows Authentication”
Enter the Service Account we created in Step 1 and the password
The port for AD is “389”
Press “OK”
Step 6 -Synchronization Options (Optional)
There are a couple options you can go through before you start synchronization- Define connection filters – this is if you want to filter information from the AD sync
Select “AD Sync User Profile Service Application” and then select Manage from the ribbon bar or you can just click the name “AD Sync User Profile Service Application”
Click “Configure Synchronization Connections” then pull the drop down menu on your connection then select “Edit Connection Filters”
- Map User Profile Properties – this option already has a bunch of preconfigured fields but you might need to change some of them or reconfigure existing ones
Select “AD Sync User Profile Service Application” and then select Manage from the ribbon bar or you can just click the name “AD Sync User Profile Service Application”
Click “Manage User Properties” under the “People” section
Step 7 -Start Profile Synchronization
Under Central Administration > Application Management > Manage Service ApplicationsSelect “AD Sync User Profile Service Application” and then select Manage from the ribbon bar or you can just click the name “AD Sync User Profile Service Application”
Under “Synchronization” select “Start Profile Synchronization”
Press “OK”
Start of Sync
Select “AD Sync User Profile Service Application” and then select Manage from the ribbon bar or you can just click the name “AD Sync User Profile Service Application”
Under “Synchronization” select “Configure Synchronization Timer Job”
0 comments:
Post a Comment