Sync-GalToMutipleTenants
1.1
SINGLE EXCHANGE ONPREMISE EXCHANGE TO MULTIPLE O365 TENANT CONTACT SYNC
Script reads recipients from each OU and create contacts in the respective tenants.
Each OU should uniquely identify a department & domain
Address Lists should be precreated in the tenant
# GUIDE #
https://technicallypossible.com/
# SCRIPT PATH #
Script should be copied to C:\POWERSHELL\Sync-GalToM
Script reads recipients from each OU and create contacts in the respective tenants.
Each OU should uniquely identify a department & domain
Address Lists should be precreated in the tenant
# GUIDE #
https://technicallypossible.com/
# SCRIPT PATH #
Script should be copied to C:\POWERSHELL\Sync-GalToM
SINGLE EXCHANGE ONPREMISE EXCHANGE TO MULTIPLE O365 TENANT CONTACT SYNC
Script reads recipients from each OU and create contacts in the respective tenants.
Each OU should uniquely identify a department & domain
Address Lists should be precreated in the tenant
# GUIDE #
https://technicallypossible.com/
# SCRIPT PATH #
Script should be copied to C:\POWERSHELL\Sync-GalToMultipleTenants folder. Path can be changed using $ScriptPath variable
# FILES #
Script Requires 2 CSV files (Tenants.csv & OUSyncMaps.csv) in the \Configs Subfolder
Tenants.csv # Sample File
Tenant,AppID,CertThumbPrint
FirstTenant.onmicrosoft.com,abcdefghi-1234-5678-abcd-123456784321,ABCD699BA1E5A5E12347B4B12ABCD7CC01FABCD
SecondTenant.onmicrosoft.com,cdefghiab-1234-5678-cdef-023456784320,ABCD699BA1E5A5E12347B4B12ABCD7CC01FABCD
OuSyncMaps.csv # Sample File
DeptCode,ADOU,ParentTenant,GlobalHide
DEPT1_CODE,OU=Sync,OU=First Department,OU=HOSTING,DC=techposs,DC=internal,FirstTenant.onmicrosoft.com
DEPT2_CODE,OU=Sync,OU=Second Department,OU=HOSTING,DC=techposs,DC=internal,SecondTenant.onmicrosoft.com
# MODULES #
OnPremise Exchange Management Shell should be instlledin the server
Latest ExchangeOnlineManagement Modules should be installed in the Server
# CERTS #
Certificate should be installed in the user store/
# PARAMETERS #
-FullSync - Compares each contact in the tenant./ use -FullSync Switch
-NoGroupSync - Do not create contact for each group object / use -NoGroupSync Switch
-UpdateGuestUser - Update the mail users came from Azure AD guest user / use -UpdateGuestUser switch
Show more
Script reads recipients from each OU and create contacts in the respective tenants.
Each OU should uniquely identify a department & domain
Address Lists should be precreated in the tenant
# GUIDE #
https://technicallypossible.com/
# SCRIPT PATH #
Script should be copied to C:\POWERSHELL\Sync-GalToMultipleTenants folder. Path can be changed using $ScriptPath variable
# FILES #
Script Requires 2 CSV files (Tenants.csv & OUSyncMaps.csv) in the \Configs Subfolder
Tenants.csv # Sample File
Tenant,AppID,CertThumbPrint
FirstTenant.onmicrosoft.com,abcdefghi-1234-5678-abcd-123456784321,ABCD699BA1E5A5E12347B4B12ABCD7CC01FABCD
SecondTenant.onmicrosoft.com,cdefghiab-1234-5678-cdef-023456784320,ABCD699BA1E5A5E12347B4B12ABCD7CC01FABCD
OuSyncMaps.csv # Sample File
DeptCode,ADOU,ParentTenant,GlobalHide
DEPT1_CODE,OU=Sync,OU=First Department,OU=HOSTING,DC=techposs,DC=internal,FirstTenant.onmicrosoft.com
DEPT2_CODE,OU=Sync,OU=Second Department,OU=HOSTING,DC=techposs,DC=internal,SecondTenant.onmicrosoft.com
# MODULES #
OnPremise Exchange Management Shell should be instlledin the server
Latest ExchangeOnlineManagement Modules should be installed in the Server
# CERTS #
Certificate should be installed in the user store/
# PARAMETERS #
-FullSync - Compares each contact in the tenant./ use -FullSync Switch
-NoGroupSync - Do not create contact for each group object / use -NoGroupSync Switch
-UpdateGuestUser - Update the mail users came from Azure AD guest user / use -UpdateGuestUser switch
Installation Options
Owners
Copyright
https://technicallypossible.com
Package Details
Author(s)
- SHAHIN BASHEER - shahinbasheer@hotmail.com
Tags
GalSync ContactSync OneToManyHYBRID ExchangeOnline
Functions
Get-Now Add-ExContact Update-ExContact Remove-ExContact
Dependencies
This script has no dependencies.
Release Notes
FullSync, GroupSync & UpdateGuestUser included
FileList
- Sync-GalToMutipleTenants.nuspec
- Sync-GalToMutipleTenants.ps1
Version History
Version | Downloads | Last updated |
---|---|---|
1.1 (current version) | 145 | 12/19/2020 |