In this scenario presented here, we need to transfer the source of authority for a user account when that account was created by using Office 365 management tools. We need to transfer the source of authority so that the account can be managed through an on-premises Active Directory Domain Services by using directory synchronization provided by AD Connect.
Current Settings
Initially, we have configured:
- Office 365 accounts/mailboxes already provisioned in Office 365/Exchange Online.
- Users ID and passwords are set up in Office 365.
- Local Active Directory has all account objects.
- There is no AD Connect Server locally installed and there is no sync from On-premises to Office 365.
- There is no Exchange Server locally Installed.

We need to:
- Link Office 365 accounts back to On-premises Active Directory accounts.
- The password needs to be sync from the On-premises Active Directory to Office 365.
- All mailbox properties need to be managed locally and propagated to Office 365 using AD Connect.
Those two conditions had to be meet first in our example.
- The local AD account and UPN was set to first@9tech.ca
- Exchange Online Primary SMTP (first@9tech.ca) is matching local UPN (first@9tech.ca)
Here is the view from Office 365. Account “First” is “In Cloud” account as you can see from the figure.
![]()
Use Active Directory User and Tools and make sure that the Email field in AD properties of account is populated with Primary SMTP address.

Install AD Connect and run a sync
At this step, we are installing AD Connect and enabling OU filtering to OU where our test account is located.
After AD Connect sync to Office 365, account (first@9tech.ca) is converted from “In-Cloud” to “Sync with On-premises Active Directory” as you can see from the following picture.
![]()
The source of authority for directory sync has been moved from Azure AD to the local On-premises Active Directory.
The following table shows how attributes of objects changes in Office 365 after the sync.
Fields in green color were changed in Office 365 after the sync.

The following table show syncing behavior for attributes which are synced from On-premises to Office 365

After we populate all necessary fields, AD Connect will propagate those attribute properties to Azure AD/Exchange Online.
We can manually copy all basic attributes (title, phone, street etc.) from Azure AD/Exchange Online and to Local Active Directory using Active Directory User and Tools.
How to fix additional Exchange Online proxy email address?
It is more difficult with an additional email address because Active Directory User and Tools have no field for the proxy address attribute.
After the initial sync, additional proxy email addresses were deleted from Office 365.

We can try to add the missing resume@9tech.ca email address back to the mailbox in Exchange Online
But when we press save, we are presented with an error which notifies us that we should change properties on On-premises objects in AD instead in Office 365.

We can use native AD PowerShell commands to check attributes of objects in local AD.
Get -ADUser -identity first -properties * | fl DisplayName,mail,ProxyAddresses

We can add resume@9tech.ca to local AD account using the following PowerShell command
Set-ADUser -identity first -Add @{Proxyaddresses=”SMTP:first@9tech.ca”,”smtp:resume@9tech.ca”}
![]()
After we sync the local Active Directory to Azure AD new proxy email address is added to the Exchange Online Mailbox,

After this step existing user is fully functional in Office 365, all attributes are copied from local AD to Office 365 and local Active Directory passwords are propagated to Office 365.
Provision new Mailboxes in Office 365
The following paragraph shows a process to how to provision a mailbox to Office 365 using on-premises Active Directory.
- Creating the User
- Open Active Directory Users and Computers on Local AD
- Create an Active Directory user as you normally would.
- Ensure that the user’s email address on the General tab of the AD properties is correct.

- Ensure that the user’s UPN name match their primary SMTP address.

- Run the following command to add any additional SMTP address to the mailbox
Set-ADUser -identity new -Add @{Proxyaddresses=”SMTP:new@9tech.ca”,”smtp:new2@9tech.ca”} - Run AD Connect Sync
- Login to Office 365 configure user location and assign a license

- Check if additional email addresses are assigned correctly

There are some of settings and features which we are not able to configure without installing a local exchange server.
Those are some of the examples which you will not be able to set up.
- Hide mailbox in GAL
- Provision Archive mailbox in Exchange Online for users who are synced from On-premises.
- Create shared or room mailbox which is synced from On-premises.
If you try to hide the mailbox in Office 365 or a newly created mailbox, an error will occur and we will be notified that the operation needs to be performed in local AD instead of in Exchange Online.

This article explained how to change source authority from Office 365 identities to local Active Directory.
Is this method of provisioning and managing identities supported by Microsoft?
The following TechNet article describes what supported tools are:
How and when to decommission your on-premises Exchange servers in a hybrid deployment
“The Exchange Management Console, the Exchange Administration Center (EAC), and the Exchange Management Shell are the only supported tools that are available to manage Exchange recipients and objects.”
We need to have Exchange on-premises.
The next article outlines a scenario in which local on-prem exchange servers are presented.


