Connecting to Office 365
This article will guide you through all the steps necessary to connect to your Office 365 tenant. If you need to connect to an on-premises Exchange server, read these instructions.
You can connect to one server at a time. CodeTwo Out of Office does not support multiple server connections.
If you're running the program for the first time, the Target server connection wizard will open automatically. To open the wizard from the Administration Panel, click Connection on the toolbar (Fig. 1.).
|Fig. 1. Locating the Connection button.|
In the first step, Target server, select Office 365 (Fig. 2.) and click Next.
|Fig. 2. Choosing the server type connection.|
|Fig. 3. Entering the administrator's credentials.|
In the last step of the wizard, Verification, click the Verify button to check if a connection to the target server can be established. The program also checks if the administrator has been assigned the impersonation rights and if the connection to the target PowerShell console is possible (Fig. .).
|Fig. 4. Verification step of the Target server connection wizard.|
Lastly, you can check if the administrator can impersonate a specific user in your organization. In the Steps to consider section, click Test. In the window that opens, click Browse to select a mailbox, and then click Test to do the check (Fig. 5.).
|Fig. 5. Impersonation rights test window.|
If the administrator has been granted appropriate rights to the selected mailbox, the Test succeeded notification will show (Fig. 6.).
|Fig. 6. Test succeeded notification.|
If the administrator has not been assigned the impersonation rights to that mailbox, you will receive the Test failed warning (Fig. 7.). In such a case, double check the entered email address and password, and confirm if administrator's permissions are sufficient to access the user mailbox. Read this KB article to learn how to assign the impersonation rights manually.
|Fig. 7. Test failed notification.|
If the Verification step finishes successfully and the administrator is granted appropriate permissions, you can click the Finish button to submit your settings.
You can modify the Office 365 connection settings by clicking the Connection button again (Fig. 1.).