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
Navigate to Templates
Click the New button
Name and Describe the template
In our example, we will name our template “Cloud to Cloud GAL Sync Source to Target”, Click Next
Click Cloud as the source environment type, Click Next
Click Cloud as the target environment type, Click Next
Set CREATE NEW USERS AS = AS-IS (See Pro Tip 19)
Set UPDATE CREATED USERS= ENABLE
Set UPDATE MATCHED USERS= DISABLE
Click Next
Set CREATE GROUPS AS = SKIP
Set UPDATE CREATED GROUPS = DISABLE
Set UPDATE MATCHED GROUPS = ENABLE
Click Next
Set CREATE OFFICE365 GROUPS AND TEAMS AS = SKIP
Set UPDATE CREATED CONTACTS = DISABLE
Set UPDATE MATCHED CONTACTS = DISABLE
Click Next
Set CREATE NEW CONTACTS AS = DO NOT CREATE
Set UPDATE CREATED CONTACTS = DISABLE
Set UPDATE MATCHED CONTACTS = DISABLE
Click Next
Enter a default password, Click Next
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
Leave rest of the mappings as default.
Click Next
Click Finish
Navigate to Templates
Click the New button
Name and Describe the template
In our example, we will name our template “Cloud to Cloud GAL Sync Target to Source”, Click Next
Click Cloud as the source environment type, Click Next
Click Cloud as the target environment type, Click Next
Set CREATE NEW USERS AS = CONTACT (See Pro Tip 22)
Set UPDATE CREATED USERS= ENABLE
Set UPDATE MATCHED USERS= DISABLE
Click Next
Set CREATE GROUPS AS = SKIP
Set UPDATE CREATED GROUPS = DISABLE
Set UPDATE MATCHED GROUPS = ENABLE
Click Next
Set CREATE OFFICE365 GROUPS AND TEAMS AS = SKIP
Set UPDATE CREATED CONTACTS = DISABLE
Set UPDATE MATCHED CONTACTS = DISABLE
Click Next
Set CREATE NEW CONTACTS AS = DO NOT CREATE
Set UPDATE CREATED CONTACTS = DISABLE
Set UPDATE MATCHED CONTACTS = DISABLE
Click Next
Enter a default password, Click Next
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
Leave rest of the mappings as default.
Click Next
Click Finish
Navigate to Templates
Click the New button
Name and Describe the template
In our example, we will name our template “Local to Local GAL Sync”, Click Next
Click Local as the source environment type, Click Next
Click Local as the target environment type, Click Next
Set CREATE NEW USERS AS = CONTACT (See Pro Tip 23)
Set UPDATE CREATED USERS= ENABLE
Set UPDATE MATCHED USERS= DISABLE
Set IF TARGET ADDRESS EXISTS setting as OVERWRITE ONCE.
Click Next
Set CREATE GROUPS AS = SKIP
Set UPDATE CREATED GROUPS = DISABLE
Set UPDATE MATCHED GROUPS = DISABLE
Click Next
Set CREATE NEW CONTACTS AS = DO NOT CREATE
Set UPDATE CREATED CONTACTS = DISABLE
Set UPDATE MATCHED CONTACTS = DISABLE
Click Next
Set CREATE NEW DEVICES AS = SKIP
Set UPDATE CREATED CONTACTS = DISABLE
Set UPDATE MATCHED CONTACTS = DISABLE
Click Next
Enter a default password, Click Next
Leave SYNCHRONIZE SID HISTORY unchecked, Click Next
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"
Leave rest of the mappings as default or update them based on your project needs.
Click Next
Click Finish
© 2024 Quest Software Inc. ALL RIGHTS RESERVED. 使用条款 隐私 Cookie Preference Center