Chat now with support
Chat with Support

On Demand Migration Current - Active Directory GAL Sync Setup Quick Start Guide

Setup Templates

Before we can build our workflow, it is best to set up your template(s). Templates contain common mappings and settings used to sync Users, Contacts, Devices, Groups, Office 365 Groups and Microsoft Teams. A template can then be applied to any workflow with a Stage Data step.

For the purpose of this guide, the following templates will need to be created GAL objects.  Additional templates may be created for group membership synchronization.

  • Cloud to Cloud GAL Sync Source to Target

  • Cloud to Cloud GAL Sync Target to Source

  • Local to Local GAL Sync

How to create a Cloud to Cloud Source to Target template

  1. Navigate to Templates

  1. Click the New button

  2. Name and Describe the template

  3. In our example, we will name our template “Cloud to Cloud GAL Sync Source to Target”, Click Next

  4. Click Cloud as the source environment type, Click Next

  5. Click Cloud as the target environment type, Click Next

  6. Set CREATE NEW USERS AS = AS-IS (See Pro Tip 19)

  7. Set UPDATE CREATED USERS= ENABLE

  8. Set UPDATE MATCHED USERS= DISABLE

  9. Click Next

  10. Set CREATE GROUPS AS = SKIP

  11. Set UPDATE CREATED GROUPS = DISABLE

  12. Set UPDATE MATCHED GROUPS = ENABLE

  13. Click Next

  14. Set CREATE OFFICE365 GROUPS AND TEAMS AS = SKIP

  15. Set UPDATE CREATED CONTACTS = DISABLE

  16. Set UPDATE MATCHED CONTACTS = DISABLE

  17. Click Next

  18. Set CREATE NEW CONTACTS AS = DO NOT CREATE

  19. Set UPDATE CREATED CONTACTS = DISABLE

  20. Set UPDATE MATCHED CONTACTS = DISABLE

  21. Click Next

  22. Enter a default password, Click Next

  23. Under mappings, we need to make several modifications to the default template in order to make the MEU to be compatible with Tenant to Tenant.  

    • Select mapping for ‘EmailAddresses’ and double click, enter the below expression under value field. (See Pro Tip 20)

GetProxyAddresses(null, null, prefix(Result("WindowsEmailAddress"), "SMTP:"), prefix(LegacyExchangeDN, "x500:"))

Select User as the Target Object Type

  • Select mapping for ‘CustomAttribute1 and double click, enter the below expression under value field. (See Pro Tip 21)

“s.WindowsEmailAddress”

Select All as the Target Object Type

  1. Leave rest of the mappings as default. 

  2. Click Next

  3. Click Finish

How to create a Cloud to Cloud Target to Source template

  1. Navigate to Templates

  1. Click the New button

  2. Name and Describe the template

  3. In our example, we will name our template “Cloud to Cloud GAL Sync Target to Source”, Click Next

  4. Click Cloud as the source environment type, Click Next

  5. Click Cloud as the target environment type, Click Next

  6. Set CREATE NEW USERS AS = CONTACT (See Pro Tip 22)

  7. Set UPDATE CREATED USERS= ENABLE

  8. Set UPDATE MATCHED USERS= DISABLE

  9. Click Next

  10. Set CREATE GROUPS AS = SKIP

  11. Set UPDATE CREATED GROUPS = DISABLE

  12. Set UPDATE MATCHED GROUPS = ENABLE

  13. Click Next

  14. Set CREATE OFFICE365 GROUPS AND TEAMS AS = SKIP

  15. Set UPDATE CREATED CONTACTS = DISABLE

  16. Set UPDATE MATCHED CONTACTS = DISABLE

  17. Click Next

  18. Set CREATE NEW CONTACTS AS = DO NOT CREATE

  19. Set UPDATE CREATED CONTACTS = DISABLE

  20. Set UPDATE MATCHED CONTACTS = DISABLE

  21. Click Next

  22. Enter a default password, Click Next

  23. Under mappings, we need to make several modifications to the default template in order to make the MailContact to be compatible with Tenant to Tenant.  

    • Select mapping for ‘EmailAddresses’ and double click, enter the below expression under value field. (See Pro Tip 20)

GetProxyAddresses(null, null, prefix(Result("WindowsEmailAddress"), "SMTP:"), prefix(LegacyExchangeDN, "x500:"))

Select Contact as the Target Object Type

  • Select mapping for ‘CustomAttribute1 and double click, enter the below expression under value field. (See Pro Tip 21)

“s.WindowsEmailAddress”

Select All as the Target Object Type

  1. Leave rest of the mappings as default.

  2. Click Next

  3. Click Finish

How to create a Local to Local template

  1. Navigate to Templates

  1. Click the New button

  1. Name and Describe the template

  2. In our example, we will name our template “Local to Local GAL Sync”, Click Next

  3. Click Local as the source environment type, Click Next

  4. Click Local as the target environment type, Click Next

  5. Set CREATE NEW USERS AS = CONTACT (See Pro Tip 23)

  6. Set UPDATE CREATED USERS= ENABLE

  7. Set UPDATE MATCHED USERS= DISABLE

  8. Set IF TARGET ADDRESS EXISTS setting as OVERWRITE ONCE.

  9. Click Next

  10. Set CREATE GROUPS AS = SKIP

  11. Set UPDATE CREATED GROUPS = DISABLE

  12. Set UPDATE MATCHED GROUPS = DISABLE

  13. Click Next

  14. Set CREATE NEW CONTACTS AS = DO NOT CREATE

  15. Set UPDATE CREATED CONTACTS = DISABLE

  16. Set UPDATE MATCHED CONTACTS = DISABLE

  17. Click Next

  18. Set CREATE NEW DEVICES AS = SKIP

  19. Set UPDATE CREATED CONTACTS = DISABLE

  20. Set UPDATE MATCHED CONTACTS = DISABLE

  21. Click Next

  22. Enter a default password, Click Next

  23. Leave SYNCHRONIZE SID HISTORY unchecked, Click Next

  24. Under mappings, we need to make several modifications to the default template in order to make the MailContact to be compatible with Tenant to Tenant.  

    • Select mapping for ‘ExtensionAttribute1 and double click, enter the below expression under value field. (See Pro Tip 19)

“s.mail”

Select Contact as the Target Object Type

  • Select mapping for ‘DistinguishName and double click, enter the below expression under value field. (See Pro Tip 24)

GetDn(NewGuid())

  • Select mapping for ‘targetAddress’ and double click, enter the below expression under value field. (See Pro Tip 25)

prefix(S.mail, "SMTP:")

  • Select mapping for ‘msExchRecipientDisplayType’ and double click, enter the below expression under value field. (See Pro Tip 26)

"6"

  • Select mapping for ‘msExchRecipientTypeDetails’ and double click, enter the below expression under value field. (See Pro Tip 26)

"64"

  1. Leave rest of the mappings as default or update them based on your project needs.      

  2. Click Next

  3. Click Finish

Related Documents

The document was helpful.

Select Rating

I easily found the information I needed.

Select Rating