Configuring a Service Account manually

To configure a Service Account manually:

  1. Open Microsoft Office 365 Admin Center.
  2. Click the App icon in the upper-left corner and select Admin.

    App icon

  3. In the left part of the window, select UsersActive users and click Add a user.

    Add a user

    The window with user account details opens.

  4. Specify the user account information in the following entry fields: First name, Last name, User name.

    account information

  5. Expand the Password section and choose Let me create the password if you want to use a custom password instead of an auto-generated one.

    password

  6. Expand the Product licenses section and flip on the toggle switch in the Create user without product license section.

    product licenses

  7. Click Add.

Office 365 creates a new user. You can review the specified details and close the window.

To assign necessary roles to the newly created user account:

  1. In the left part of the window, select Admin centersExchange.

    Admin centers - Exchange

  2. Select the Permissions section.
  3. Click the + button.

    permissions

    The New role group window opens.

  4. In the Name field, type any name for the role group.
  5. In the Roles section, click the + button, and in the drop-down list select the ApplicationImpersonation and Mailbox Search roles. If you want to use the application to also manage the Exchange Online quarantined items, select the Security Admin role as well.

    new role

  6. In the Members section, click the + button and select the newly created user in the drop-down list.

    members

  7. Click Save.

Office 365 will update the Exchange Online organization settings. Once the Service Account has been configured, specify its credentials to connect the application to Office 365.

Page top