Windows Server + Exchange +office365 Hybrid Deployment (iii)
The previous two articles focused on the pre-deployment of hybrid deployments, which are almost ready, since we are doing a hybrid deployment, we also need to synchronize local domain users to Office365. How do you synchronize it? specifically see below:
We first need to add my custom field on Office365, and the custom field is also my local domain byssoft.com. Of course, the domain of the local and office365 can be different, according to their own environment, and then prepare to install the Synchronization Server installation Synchronization tool for data synchronization; Azure Active Directory Connect
We log in to the management page in the cloud via the OFFICE365 Administrator account and then---> Add domains under the home page
650) this.width=650; "title=" image "style=" border-top:0px;border-right:0px;background-image:none;border-bottom:0 px;padding-top:0px;padding-left:0px;border-left:0px;margin:0px;padding-right:0px; "border=" 0 "alt=" image "src=" Http://s3.51cto.com/wyfs02/M02/06/21/wKiom1myK5DgGIUSAACfu2VyIqw622.png "height="/>
We confirm after entering the local domain,
650) this.width=650; "title=" image "style=" border-top:0px;border-right:0px;background-image:none;border-bottom:0 px;padding-top:0px;padding-left:0px;border-left:0px;margin:0px;padding-right:0px; "border=" 0 "alt=" image "src=" Http://s3.51cto.com/wyfs02/M01/06/21/wKiom1myK5CjvgEsAAB2WIZvw3A540.png "height=" 296 "/>
Then for security, you need to add the corresponding TXT record in DNS in the local domain to verify
650) this.width=650; "title=" image "style=" border-top:0px;border-right:0px;background-image:none;border-bottom:0 px;padding-top:0px;padding-left:0px;border-left:0px;margin:0px;padding-right:0px; "border=" 0 "alt=" image "src=" Http://s3.51cto.com/wyfs02/M00/06/21/wKiom1myK5Dgg2wyAAEUf_HwW-g948.png "height=" 328 "/>
Record additions completed
650) this.width=650; "title=" image "style=" border-top:0px;border-right:0px;background-image:none;border-bottom:0 px;padding-top:0px;padding-left:0px;border-left:0px;padding-right:0px; "border=" 0 "alt=" image "src=" http:// S3.51cto.com/wyfs02/m01/a4/d2/wkiol1myk2-gz6phaacfltigoes225.png "height=" 211 "/>
After the next step, we select Exchange and Skype will prompt you to also add the parsing records to the DNS within the domain to verify;
650) this.width=650; "title=" image "style=" border-top:0px;border-right:0px;background-image:none;border-bottom:0 px;padding-top:0px;padding-left:0px;border-left:0px;margin:0px;padding-right:0px; "border=" 0 "alt=" image "src=" Http://s3.51cto.com/wyfs02/M01/06/21/wKiom1myK5LRTeSZAAEb3sp4drg486.png "height=" 278 "/>
Domain additions completed;
650) this.width=650; "title=" image "style=" border-top:0px;border-right:0px;background-image:none;border-bottom:0 px;padding-top:0px;padding-left:0px;border-left:0px;margin:0px;padding-right:0px; "border=" 0 "alt=" image "src=" Http://s3.51cto.com/wyfs02/M02/A4/D2/wKioL1myK3HSAH-7AACzl8JVw-o138.png "height=" 308 "/>
Once the domain has been added, we can install the synchronization service; We need to install a single server to be used primarily for synchronizing data;
650) this.width=650; "title=" image "style=" border-top:0px;border-right:0px;background-image:none;border-bottom:0 px;padding-top:0px;padding-left:0px;border-left:0px;padding-right:0px; "border=" 0 "alt=" image "src=" http:// S3.51cto.com/wyfs02/m01/06/21/wkiom1myk5odausvaacyjvupcx4530.png "height=" 339 "/>
We got the server ready, and we joined the byssoft.com domain.
650) this.width=650; "title=" image "style=" border-top:0px;border-right:0px;background-image:none;border-bottom:0 px;padding-top:0px;padding-left:0px;border-left:0px;margin:0px;padding-right:0px; "border=" 0 "alt=" image "src=" Http://s3.51cto.com/wyfs02/M02/06/21/wKiom1myK5PiPYGmAAD45hIyGls835.png "height=" 390 "/>
Then download and install the Sync tool
Https://docs.microsoft.com/zh-cn/azure/active-directory/connect/active-directory-aadconnect-get-started-custom
Download the installation link
https://www.microsoft.com/en-us/download/details.aspx?id=47594
650) this.width=650; "title=" image "style=" border-top:0px;border-right:0px;background-image:none;border-bottom:0 px;padding-top:0px;padding-left:0px;border-left:0px;margin:0px;padding-right:0px; "border=" 0 "alt=" image "src=" Http://s3.51cto.com/wyfs02/M01/A4/D2/wKioL1myK3LjDiEJAAEOKCNn21A086.png "height=" 245 "/>
650) this.width=650; "title=" image "style=" border-top:0px;border-right:0px;background-image:none;border-bottom:0 px;padding-top:0px;padding-left:0px;border-left:0px;margin:0px;padding-right:0px; "border=" 0 "alt=" image "src=" Http://s3.51cto.com/wyfs02/M00/06/21/wKiom1myK5TRIXbxAACaHLZCIQc132.png "height=" 359 "/>
Start installation after download
650) this.width=650; "title=" image "style=" border-top:0px;border-right:0px;background-image:none;border-bottom:0 px;padding-top:0px;padding-left:0px;border-left:0px;margin:0px;padding-right:0px; "border=" 0 "alt=" image "src=" Http://s3.51cto.com/wyfs02/M00/A4/D2/wKioL1myK3SgtBIfAAH4nEFxA8c993.png "height=" 443 "/>
After installation we double-click to run;
Agree to the terms of next step;
650) this.width=650; "title=" image "style=" border-top:0px;border-right:0px;background-image:none;border-bottom:0 px;padding-top:0px;padding-left:0px;border-left:0px;margin:0px;padding-right:0px; "border=" 0 "alt=" image "src=" Http://s3.51cto.com/wyfs02/M01/06/21/wKiom1myK5aSm-MjAAF9fcZnjPM058.png "height=" 380 "/>
Configuration type: Quick setup, custom settings;
Here we use the Quick settings
650) this.width=650; "title=" image "style=" border-top:0px;border-right:0px;background-image:none;border-bottom:0 px;padding-top:0px;padding-left:0px;border-left:0px;margin:0px;padding-right:0px; "border=" 0 "alt=" image "src=" Http://s3.51cto.com/wyfs02/M01/A4/D2/wKioL1myK3WSLkxRAAB5mNwDNDg925.png "height=" 171 "/>
After we choose the quick setup, according to the thought we need to verify the link to Azure ad
After we enter OFFICE365 management account information, the next step
650) this.width=650; "title=" image "style=" border-top:0px;border-right:0px;background-image:none;border-bottom:0 px;padding-top:0px;padding-left:0px;border-left:0px;margin:0px;padding-right:0px; "border=" 0 "alt=" image "src=" Http://s3.51cto.com/wyfs02/M02/06/21/wKiom1myK5eh1JN4AACve7xG1Sg524.png "height=" 435 "/>
Then enter the local domain with the July administrator credentials for the user to authenticate
650) this.width=650; "title=" image "style=" border-top:0px;border-right:0px;background-image:none;border-bottom:0 px;padding-top:0px;padding-left:0px;border-left:0px;margin:0px;padding-right:0px; "border=" 0 "alt=" image "src=" Http://s3.51cto.com/wyfs02/M00/06/21/wKiom1myK5exVLV4AADG-ftw1Gk316.png "height=" 433 "/>
We tick the automatic synchronization process after configuration is complete.
650) this.width=650; "title=" image "style=" border-top:0px;border-right:0px;background-image:none;border-bottom:0 px;padding-top:0px;padding-left:0px;border-left:0px;margin:0px;padding-right:0px; "border=" 0 "alt=" image "src=" Http://s3.51cto.com/wyfs02/M02/A4/D2/wKioL1myK3ayvm__AAEIdrRyvRc913.png "height=" 432 "/>
Start the installation and configuration
650) this.width=650; "title=" image "style=" border-top:0px;border-right:0px;background-image:none;border-bottom:0 px;padding-top:0px;padding-left:0px;border-left:0px;margin:0px;padding-right:0px; "border=" 0 "alt=" image "src=" Http://s3.51cto.com/wyfs02/M01/06/21/wKiom1myK5iwaEdLAACdj3JUY14682.png "height=" 432 "/>
Installation and Configuration complete
650) this.width=650; "title=" image "style=" border-top:0px;border-right:0px;background-image:none;border-bottom:0 px;padding-top:0px;padding-left:0px;border-left:0px;margin:0px;padding-right:0px; "border=" 0 "alt=" image "src=" Http://s3.51cto.com/wyfs02/M00/06/21/wKiom1myK5qD0BQ5AAG-01Ts5D4503.png "height=" 424 "/>
We found that the user was synced, but all the users in my domain were synced.
650) this.width=650; "title=" image "style=" border-top:0px;border-right:0px;background-image:none;border-bottom:0 px;padding-top:0px;padding-left:0px;border-left:0px;margin:0px;padding-right:0px; "border=" 0 "alt=" image "src=" Http://s3.51cto.com/wyfs02/M01/06/21/wKiom1myK5uzcBG4AADxxoyWzmM934.png "height=" 280 "/>
Then we want to define which of the specified OUs are synchronized under the user
We run the Sync tool again---configuration
650) this.width=650; "title=" image "style=" border-top:0px;border-right:0px;background-image:none;border-bottom:0 px;padding-top:0px;padding-left:0px;border-left:0px;margin:0px;padding-right:0px; "border=" 0 "alt=" image "src=" Http://s3.51cto.com/wyfs02/M02/06/21/wKiom1myK5vD44AKAAC-Uwek_Uk666.png "height=" 430 "/>
Select the custom sync option, Next
650) this.width=650; "title=" image "style=" border-top:0px;border-right:0px;background-image:none;border-bottom:0 px;padding-top:0px;padding-left:0px;border-left:0px;margin:0px;padding-right:0px; "border=" 0 "alt=" image "src=" Http://s3.51cto.com/wyfs02/M00/06/21/wKiom1myK5zQ5YGGAAEK7Ty59cU768.png "height=" 429 "/>
Start verifying the office365 management side
650) this.width=650; "title=" image "style=" border-top:0px;border-right:0px;background-image:none;border-bottom:0 px;padding-top:0px;padding-left:0px;border-left:0px;margin:0px;padding-right:0px; "border=" 0 "alt=" image "src=" Http://s3.51cto.com/wyfs02/M01/06/21/wKiom1myK5yj-VlgAADjIxWs374135.png "height="/>
Select Domain Next
650) this.width=650; "title=" image "style=" border-top:0px;border-right:0px;background-image:none;border-bottom:0 px;padding-top:0px;padding-left:0px;border-left:0px;margin:0px;padding-right:0px; "border=" 0 "alt=" image "src=" Http://s3.51cto.com/wyfs02/M01/A4/D2/wKioL1myK3zR6Lo6AADeWdtJNF4147.png "height=" 446 "/>
We select the OU that needs to be synchronized, we only synchronize the two OUs under Bys users
650) this.width=650; "title=" image "style=" border-top:0px;border-right:0px;background-image:none;border-bottom:0 px;padding-top:0px;padding-left:0px;border-left:0px;margin:0px;padding-right:0px; "border=" 0 "alt=" image "src=" Http://s3.51cto.com/wyfs02/M00/06/21/wKiom1myK57xYJXWAAGKyB8TyAM346.png "height=" 455 "/>
We tick the default password sync;
650) this.width=650; "title=" image "style=" border-top:0px;border-right:0px;background-image:none;border-bottom:0 px;padding-top:0px;padding-left:0px;border-left:0px;margin:0px;padding-right:0px; "border=" 0 "alt=" image "src=" Http://s3.51cto.com/wyfs02/M01/06/21/wKiom1myK5_xO_N4AAEigy3pNLg145.png "height="/>
Confirm information; Start configuration
650) this.width=650; "title=" image "style=" border-top:0px;border-right:0px;background-image:none;border-bottom:0 px;padding-top:0px;padding-left:0px;border-left:0px;margin:0px;padding-right:0px; "border=" 0 "alt=" image "src=" Http://s3.51cto.com/wyfs02/M02/06/21/wKiom1myK6CjcLNzAAD1-qOzMEM345.png "height="/>
Update configuration Complete
650) this.width=650; "title=" image "style=" border-top:0px;border-right:0px;background-image:none;border-bottom:0 px;padding-top:0px;padding-left:0px;border-left:0px;margin:0px;padding-right:0px; "border=" 0 "alt=" image "src=" Http://s3.51cto.com/wyfs02/M00/06/21/wKiom1myK6DBQPE4AAF8nIkqleo917.png "height=" 451 "/>
We confirm the change in the cloud is in effect;
650) this.width=650; "title=" image "style=" border-top:0px;border-right:0px;background-image:none;border-bottom:0 px;padding-top:0px;padding-left:0px;border-left:0px;margin:0px;padding-right:0px; "border=" 0 "alt=" image "src=" Http://s3.51cto.com/wyfs02/M01/06/21/wKiom1myK6HBMtgfAACcVCnZpww839.png "height=" 265 "/>
We finally say that the system defaults to 30 minutes of synchronization, if we want to do real-time synchronization by hand how to do it?
We need to execute two commands under PowerShell, and of course, the command executed is different from the previous version; I would like you to be a PowerShell upgrade;
It is important to note that under the original version dirsync we need to perform
Import-module DirSync
Start-onlinecoexistencesync
But when we upgrade to the Azure AD Connect tool We need to execute the following command import-module adsync import adsync module Start-adsyncsynccycle-policytype Delta
Incremental synchronization
650) this.width=650; "title=" image "style=" border-top:0px;border-right:0px;background-image:none;border-bottom:0 px;padding-top:0px;padding-left:0px;border-left:0px;margin:0px;padding-right:0px; "border=" 0 "alt=" image "src=" Http://s3.51cto.com/wyfs02/M01/A4/D2/wKioL1myK4DBfcHXAABKqRtHYtY732.png "height=" 122 "/>
Start-adsyncsynccycle-policytype Initial
Fully synchronized
650) this.width=650; "title=" image "style=" border-top:0px;border-right:0px;background-image:none;border-bottom:0 px;padding-top:0px;padding-left:0px;border-left:0px;margin:0px;padding-right:0px; "border=" 0 "alt=" image "src=" Http://s3.51cto.com/wyfs02/M02/A4/D2/wKioL1myK4CT_iQYAAA-_DxZr6c803.png "height=" 147 "/>
Of course, we can also view detailed synchronization information in the installation directory of the installation tool.
650) this.width=650; "title=" image "style=" border-top:0px;border-right:0px;background-image:none;border-bottom:0 px;padding-top:0px;padding-left:0px;border-left:0px;margin:0px;padding-right:0px; "border=" 0 "alt=" image "src=" Http://s3.51cto.com/wyfs02/M00/A4/D2/wKioL1myK4CRO2KsAAD5_EYu11A446.png "height="/>
And then under the Uishell directory
650) this.width=650; "title=" image "style=" border-top:0px;border-right:0px;background-image:none;border-bottom:0 px;padding-top:0px;padding-left:0px;border-left:0px;margin:0px;padding-right:0px; "border=" 0 "alt=" image "src=" Http://s3.51cto.com/wyfs02/M02/06/21/wKiom1myK6KQb0DuAADKxCuHsOI416.png "height=" 262 "/>
Then open the Miisclient application
650) this.width=650; "title=" image "style=" border-top:0px;border-right:0px;background-image:none;border-bottom:0 px;padding-top:0px;padding-left:0px;border-left:0px;padding-right:0px; "border=" 0 "alt=" image "src=" http:// S3.51cto.com/wyfs02/m01/a4/d2/wkiol1myk4hh04d8aaikfg4e9ji571.png "height=" 373 "/>
Open to see Operation record
650) this.width=650; "title=" image "style=" border-top:0px;border-right:0px;background-image:none;border-bottom:0 px;padding-top:0px;padding-left:0px;border-left:0px;padding-right:0px; "border=" 0 "alt=" image "src=" http:// S3.51cto.com/wyfs02/m02/a4/d2/wkiol1myk4liltyhaad-m-cn2to051.png "height=" 415 "/>
This article from "Gao Wenrong" blog, declined reprint!
Windows Server + Exchange +office365 Hybrid Deployment (iii)