Hi @Goh Wee Suah ,
To map your Azure AD objects with their on-premises counterparts, you would need to perform either a hard match or a soft match. A match on sourceAnchor is known as hard match, whereas a match on userPrincipalName and proxyAddresses is known as a soft match. Then when Azure AD finds an object where the attribute values are the same for an object coming from Connect and that it is already present in Azure AD, then the object in Azure AD is taken over by Connect and overwritten with the on-premises value.
If you haven't seen it already, the guide Azure AD Connect: When you have an existing tenant goes over this scenario.
As discussed in the guide, one option is to export the list of users and their attributes via PowerShell (using Get-MsolUser or Get-AzureADUser) or the Graph API. Then you would use leverage exported data to recreate them in AD and "match" the on-premises users with the cloud ones.
Additional resources:
How to Sync an Existing Office365 Tenant into a New Active Directory Domain
-
If the information provided was helpful to you, please remember to "mark as answer" so that others in the community with similar questions can more easily find a solution.