Connecting to Office 365 Calendar using an OAuth 2.0 connection

In this article, you will learn how to connect to your Office 365 Calendar using an encrypted OAuth 2.0 connection.

When you connect to your Office 365 Calendar with  an encrypted OAuth 2.0 connection, ScheduleOnce does not store your password. Instead, a token generated by Microsoft is used to communicate with the Office 365 API. In order to maintain security, the The Office 365 password expires automatically after 90 days. When this happens, your Office 365 calendar is disconnected from ScheduleOnce. This means that you will have to reconnect to Office 365 every 90 days.
If you would rather not reconnect every 90 days, you can connect your Office 365 calendar using an app-specific password.

Important: To connect ScheduleOnce to your Office 365 Calendar, you must have a calendar in Outlook on the web for business, which is provided with Exchange Online.

To connect to your Office 365 Calendar using an encrypted OAuth 2.0 connection:

1. Log in to your ScheduleOnce account.

2. Go to Setup and open the left sidebar. Select Integration -> Calendar integration.
โ€‹Important: If you are switching to Office 365 Calendar from a different calendar, you will need to disconnect from that calendar first. All future events scheduled with your previous calendar will be automatically synced with your connected Office 365 Calendar.


Figure 1: Connect to Office 365 from the Calendar integration lobby

3. In the Office 365 Calendar box, click Connect. A new tab will open, asking you to enter your Office 365 credentials. Once you’re done, click Sign in.

4. Your ScheduleOnce and Office 365 accounts are now connected. You can receive reminders in your connected Office 365 calendar when events are created via ScheduleOnce.

5. To configure default Office 365 Calendar alerts, simply select an option from the Default Office 365 Calendar reminders drop-down list. (see Figure 2)

Figure 2: Default Office 365 Calendar reminders

Now you only need to configure which calendar(s) ScheduleOnce should create appointments in. To do this, just follow these steps:

1. Go to Setup -> Relevant Booking page -> Associated calendars.

A list of your Office 365 Calendars will appear, with your default calendar marked as the Main booking calendar. You can change this by checking the box in the Main booking calendar column for another calendar.

Note: The connection to Office 365 can only retrieve calendars under your ownership. Shared calendars and resource calendars are not supported through the Office 365 API.

2. Select any other calendar from which you wish to retrieve busy time or to which you’d like to add ScheduleOnce bookings and click Save.

3. Your ScheduleOnce Booking page is now completely integrated with your Office 365 Calendar. Learn more about configuring your Calendar settings

The last thing to do is to test it out to make sure ScheduleOnce bookings appear in your calendar. Simply access your Booking page link and schedule an appointment with yourself using a different email than the one you used to sign up. Once the booking has been made, check your Office 365 Calendar to make sure a calendar event has been created for the meeting, with the relevant alert.


Rate this article