Applies to: Live@edu
Topic Last Modified: 2011-12-02
Important: |
|---|
| Outlook Live Directory Sync (OLSync) is the synchronization solution for Microsoft Live@edu customers. If you are running a cloud-based e-mail service with Microsoft Office 365 for enterprises, you must use the Microsoft Online Services Directory Synchronization tool to synchronize your directories. |
After you create or delete users, mail users, or contacts in your on-premises organization, you have to resynchronize Outlook Live Directory Sync (OLSync) data to keep your corresponding Outlook Live domain up-to-date.
If you've never synchronized your OLSync configuration, make sure you follow the procedures in Perform a Full OLSync Synchronization to Outlook Live for Live@edu.
There are two ways to resynchronize OLSync data. Using a Windows PowerShell script is the recommended approach.
-
Run the synchronization operations by using a Windows PowerShell script. (recommended)
-
Run the synchronization operations by using the FIM 2010 or ILM 2007 user interface.
Run the synchronization operations by using a Windows PowerShell script
When you run OLSync Setup, the script, StartSync.ps1, is copied to the following directory: <system drive>:\Program Files\Microsoft Identity Integration Server\SourceCode\Scripts. Use this script to automate synchronization operations with Windows PowerShell.
-
On the computer that is running FIM 2010 or ILM 2007, click Start > All Programs > Windows PowerShell > Windows PowerShell.
-
Navigate to <system drive>:\Program Files\Microsoft Identity Integration Server\SourceCode\Scripts.
-
Run the following command:
Windows PowerShell will run each synchronization operation and then report on the status. All data in the Status column should say "success." If you get errors, see Troubleshoot Outlook Live Directory Sync for Live@edu.
To create a scheduled task that runs the StartSync.ps1 script, run the following command:
This command creates a scheduled task that runs the StartSync.ps1 script every two hours from 8 A.M. to 8 P.M. You can change the frequency on the task by opening the StartSync.ps1 script and modifying the sc, mo, st, and du parameters in the following line of code:
schtasks.exe /create /sc HOURLY /MO 2 /st 08:00:00 /du 0012:00 /tn "$taskname" /tr "$PSHOME\powershell.exe -c $($myinvocation.mycommand.definition)"
For more information about the sc, mo, st, and du parameters and how to modify Schtask.exe, see How to use Schtasks.exe to Schedule Tasks in Windows Server 2003.
Run the synchronization operations by using the FIM 2010 or ILM 2007 user interface
Synchronization operations must be run in order. If they're not run in order, you may corrupt your metaverse data. Running the synchronization operations manually requires several similar steps and is error-prone. Therefore, it is a best practice to use the script as described in the first section of this topic. We include the manual steps here in case you need to refer to them for troubleshooting purposes.
-
If you’re using FIM 2010, click Start > All Programs > Microsoft Forefront Identity Manager > Synchronization Service.
If you’re using ILM 2007, click Start > All Programs > Microsoft Identity Integration Server > Identity Manager.
-
Click Management Agents.
-
Right-click the management agent that you want to synchronize and then click Run.
-
In the Run Management Agent dialog box, select the operation you want to run, and then click OK.
Note You can queue up more than one management agent synchronizations in the FIM 2010 or ILM 2007 user interface. Synchronizations are run in the order that you set them. You can view a log of operations that have run by clicking the Operations tab.
Run the following operations on these management agents in this order.
To verify that the synchronization was successful, click Operations. Synchronization is successful when all values in the Status column say "success". If you get errors, see Troubleshoot Outlook Live Directory Sync for Live@edu.Management agent Operation 1. OnPremise
Delta Import (Stage Only)
2. Hosted
Delta Import (Stage Only)
3. OnPremise
Delta Sync
4. Hosted
Delta Sync
5. Hosted
Export
6. Hosted
Delta Import (Stage Only)
Read more
Implement Outlook Live Directory Sync for Live@edu
-
How Outlook Live Directory Sync Works for Live@edu
-
Plan Your Outlook Live Directory Sync Deployment for Live@edu
-
Deploy Outlook Live Directory Sync for Live@edu
-
OLSync Prerequisites for Live@edu
-
Prepare Your On-Premises Organization for OLSync for Live@edu
-
Create an OLSync Service Account in Outlook Live for Live@edu
-
Create an On-Premises OLSync Service Account for Live@edu
-
Run OLSync Setup for Live@edu
-
Configure the OLSync Hosted Management Agent for Live@edu
-
Specify the On-Premises Organizational Units that Are Synchronized to Outlook Live for Live@edu
-
Configure Password Change Notification Service (PCNS) for use with OLSync for Live@edu (optional)
-
Perform a Full OLSync Synchronization to Outlook Live for Live@edu
-
Verify OLSync Synchronization to Outlook Live for Live@edu
-
Perform Subsequent OLSync Data Synchronizations to Outlook Live for Live@edu
-
OLSync Prerequisites for Live@edu
-
Outlook Live Directory Sync for Live@edu Reference
Important: