Applies to: Live@edu
Topic last modified: 2011-12-02
Important: |
|---|
| Outlook Live Directory Sync (OLSync) is the synchronisation solution for Microsoft Live@edu customers. If you are running a cloud-based email service with Microsoft Office 365 for enterprises, you must use the Microsoft Online Services Directory Synchronisation tool to synchronise your directories. |
After you create or delete users, mail users or contacts in your on-premises organisation, you have to resynchronise Outlook Live Directory Sync (OLSync) data to keep your corresponding Outlook Live domain up-to-date.
If you've never synchronised your OLSync configuration, make sure you follow the procedures in Perform a Full OLSync Synchronisation to Outlook Live.
There are two ways to resynchronise OLSync data. Using a Windows PowerShell script is the recommended approach.
-
Run the synchronisation operations by using a Windows PowerShell script (recommended)
-
Run the synchronisation operations by using the FIM 2010 or ILM 2007 user interface
Run the synchronisation 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 synchronisation 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 synchronisation 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.
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 synchronisation operations by using the FIM 2010 or ILM 2007 user interface
Synchronisation operations must be run in order. If they're not run in order, you may corrupt your metaverse data. Running the synchronisation 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 > Synchronisation 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 synchronise and then click Run.
-
In the Run Management Agent dialogue box, select the operation you want to run and then click OK.
Note You can queue up more than one management agent synchronisation in the FIM 2010 or ILM 2007 user interface. Synchronisations 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 synchronisation was successful, click Operations. Synchronisation is successful when all values in the Status column say "success". If you get errors, see Troubleshoot Outlook Live Directory Sync.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
-
Plan Your Outlook Live Directory Sync Deployment for Live@edu
-
Deploy Outlook Live Directory Sync for Live@edu
-
OLSync Prerequisites
-
Prepare Your On-Premises Organisation for OLSync
-
Create an OLSync Service Account in Outlook Live
-
Create an On-Premises OLSync Service Account
-
Run OLSync Setup
-
Configure the OLSync Hosted Management Agent
-
Specify the On-Premises Organisational Units that are Synchronised to Outlook Live
-
Configure Password Change Notification Service (PCNS) for use with OLSync for Live@edu (optional)
-
Perform a Full OLSync Synchronisation to Outlook Live
-
Verify OLSync Synchronisation to Outlook Live
-
Perform Subsequent OLSync Data Synchronisations to Outlook Live
-
OLSync Prerequisites
-
Outlook Live Directory Sync Reference
Important: