For detailed instructions about configuring target environments for a multi-forest environment with a one-way trust, see Setting up a multi-forest environment with a one-way trust .
| 2  | Click Target Environments. | 
| 3  | Click + beside Target Environments. | 
| 4  | Select Active Directory Forest / Office 365 (hybrid). | 
| 5  | Under Name, click Active Directory Forest / Office 365 (hybrid). | 
| 7  | Under Forest Name, click the <None specified> field. | 
| 9  | 
| 10  | Click Resolve Forest Name. | 
| 11  | Click Apply. | 
| 12  | If this environment is to be used for authenticating users, select the check box beside Allow users from this target environment to log in to UC Analytics. | 
| 14  | Click Set Azure application ID and enter the Azure application (client) ID that was registered for UC Analytics with the Microsoft Azure portal. | 
| 15  | Select Use specific connection URLs under Office 365 Hybrid Connections. | 
| 17  | 
For each forest target environment, you must add a Domain Controller data source.
In the Admin Settings, the configuration process is as follows:
| a  | In each Exchange Configuration data source, select the Search additional forests for master accounts of linked mailboxes check box. | 
| a  | In each Skype for Business / Lync Configuration data source, select the Search additional forests for user accounts for the linked Skype for Business / Lync services check box. | 
| • | 
| • | 
| • | 
| 2  | 
| 3  | Select Office 365 (native). | 
| 4  | Under Name, click Office 365 (native).  | 
| 6  | To use this environment for authenticating users, select the check box beside Allow users from this target environment to log in to UC Analytics. | 
| 7  | Click Set credential and enter the Office 365 credential to be used to resolve user security settings for users that log in with Office 365 credentials. | 
| 8  | Click Set. | 
| 9  | Click Set Azure application ID and enter the Azure application (client) ID that was registered for UC Analytics with the Microsoft Azure portal. | 
| 10  | Select Use specific connection URLs under Office 365 Native Connections. | 
| 11  | Click Set URLs. | 
| 13  | 
The data aging job runs automatically at midnight (local time).
| 1  | Click Data Collection. |