Create a Service Account to Connect to Microsoft Calendar Services

Set up an account with the correct permissions to connect your Microsoft calendar service to Recruiting. Supported services are Microsoft Exchange and Microsoft Office 365.

Important:

These instructions are intended for your organization's email domain administrator. Regular users do not have permission to create the service account.

To allow access to your company Microsoft Office 365 or on-premise Microsoft Exchange calendar service, you’ll need to configure a Service Account to manage events in the calendars of your users. Then you'll configure the Service Account with the ApplicationImpersonation role.

The Calendar Integration feature only accesses the calendar folders in a mailbox. However, if required by your organization, you can restrict the access of your Service Account to explicitly prevent it from accessing email folders.

To allow the Calendar Integration feature to create events on your company calendar, the Service Account must have write access to the mailbox. If you restrict the account to availability information only, Recruiting cannot reserve time on your interviewers' calendars.

For more general help with configuring service accounts and the ApplicationImpersonation role, refer to the Microsoft help.

Note:

If you encounter problems setting up the Service Account, Cronofy has provided some useful Windows PowerShell commands that can help diagnose the most common configuration issues. View the troubleshooting document.

  1. Go to Office 365 admin center > USERS > Active Users.

    Microsoft 365 Admin Center

  2. Click on the plus icon (+) and create a new user account.
  3. Fill in the required information for the Service Account:
    1. Enter the first name, last name, display name, user name, and your email domain.
    2. Select Let me create the password and enter the password for the service account. Uncheck the “Require this user to change their password when they first sign in” checkbox.
    3. Enter the email address of the recipient to whom the password must be sent. Select Create.
    4. Assign a license, and finish the account creation wizard by checking the details and selecting Next.

    Note:

    In order for Rooms and Resources on your Office365/Exchange domain to function with Cronofy, the Service Account must have an Office 365 E3 (or higher) license to sync users, and an active mailbox associated with it.

    Set Up the Basics page for new account creation in Office 365 Admin Center

  4. Configure the Service Account to assign the ApplicationImpersonation role.
    The ApplicationImpersonation role allows Service Accounts to manage events on behalf of rooms and users, with full audit logs.
    1. In the Office 365 Admin portal, go to Permissions.

      Permissions link in the Office 365 Admin Center

    2. Select admin roles, then select the plus icon (+).

      Adding a new admin role in the Office 365 Admin Center

    3. Enter the required information:
      • In Role name, enter: ApplicationImpersonation
      • In Write scope, select Default.

      New Role Group page when creating a new admin role group in Office 365 Admin Center

    4. Select the plus icon (+) above Roles, and select ApplicationImpersonation from the list. Select Add, then select OK.

      Adding the ApplicationImpersonation role in Office 365 Admin Center

    5. Select the plus icon (+) above Members, and select your Service Account from the list. Select Add, then select OK.

      Adding a member to a role in Office 365 Admin Center

    6. Select Save.
  5. Test the Service Account credentials using the Microsoft Remote Connectivity Analyzer.
    You’ll need the credentials for your Service Account, as well as the email address of a user or resource mailbox configured for impersonation. If you don’t have Autodiscover configured for your domain, then you will also need the public Exchange Server URL.
Related Topics