Microsoft/Outlook Calendar
How to use our Microsoft Calendar Integration.
Written By Toby Egbuna
Last updated 9 months ago
Connect your company's Microsoft Calendar account to distribute meeting invites to guests and track people's responses to calendar invites. This integration is authenticated via OAuth.
Note:
Service account needs to be SSO-enabled.
Service account needs to have a valid O365 license.
How the Microsoft Calendar integration is used
The Chezie MS Calendar integration allows you to:
Create events and distribute calendar invites to the people invited to them (in-group members, all employees, etc.).
Update calendar invitations if an event is changed
Cancel calendar invitations if an event is canceled
Track user responses to calendar invites (accepted invite, declined invite, tentative)
How to connect your Microsoft Calendar account
Service account requirements
The application primarily uses:
Calendar – requires exchange online
Teams (Teams for Business) – for online meetings
The service account should, at the minimum, have a Microsoft 365 Business Basic license.
Creating your service account
From your Azure Admin portal, please create a new user. We suggest giving the user the following information
First name: [Company]
Last name: ERGs
Email: ergs@company.com
Connecting the service account in Chezie
Before you Begin
Our Microsoft Calendar integration is not yet approved for the Microsoft integration marketplace (we are working on this, but Microsoft’s review process is antiquated and very long, so we’ve elected to share all of our integration details in this document directly with you, our customer).
Since the application is not approved, an admin will need to grant access to it for you to make the integration connection.
The best way to handle this is to temporarily give the service account admin permissions from your Azure portal, and then return to Chezie to complete step 5. If you don’t do this, the integration will be set up with the admin account you use to approve the application and not with the service account. Please note that you can remove these admin permissions as soon as the integration is complete.

How to connect your service account
To connect your Microsoft Calendar, follow these instructions:
Sign in to Chezie with the Service account you created.
Click View as admin to switch to Admin view

Click Settings → Integrations

Find Microsoft Calendar and click Connect
If you see this screen, then the application needs to be approved by an admin to complete the connection.

You will be prompted to accept permissions requests, select Accept.
Do not consent on behalf of your organization; leave the checkbox blank.

Confirm on the integrations page that the integration is complete.

If you gave your service account admin privileges before starting the process, you can remove those privileges in your Azure portal.
Go back to your Azure directory and click Enterprise Applications → Chezie.
Click the button to Grant Admin Consent for Default Directory. This enables automatic attendance tracking for MS teams ERG events.
Because we are only connected to the service account (i.e. ergs@companyname.com) that you created, the only meetings that we have access to are the meetings created from that service account.

When you click the Grant admin consent button, you’ll see another screen like this. Sign in with your own admin account (not the service account), to accept the permissions.

Now, you should see a screen with the following permissions:

Delete all of the highlighted Delegated permissions.

Confirm that only the two permissions in the image below are visible for the Chezie application. If your screen looks like this, then you’re done.

Email support@chezie.co to confirm that you’ve completed the setup. Thank you!
Microsoft Calendar Integration - IT Details
User role to install app
Owner and Contributor.
Scopes
Microsoft scope reference page here.
Calendar permissions
API / Permissions name | Type | Description | Admin consent required |
Calendars.ReadWrite | Delegated | Have full access to user calendars | No (granted through user consent) |
Mail.Send | Delegated | Read and write user and shared calendars | No (granted through user consent) |
Delegated | Sign in and read user profile | No (granted through user consent) | |
offline_access | Delegated | Maintain access to data you have given it access to | No (granted through user consent) |
Online meeting permissions
API / Permissions name | Type | Description | Admin consent required |
Onlinemeetings.ReadWrite | Delegated | Read and create user online meetings | No (granted through user consent) |
Delegated | Read user online meetings | No (granted through user consent) |
Online meeting application permissions
API / Permissions name | Type | Description | Admin consent required |
Onlinemeetings.ReadWrite | Application | Read and create user online meetings | Yes |
Application | Read user online meetings | Yes |
Troubleshooting
For Error Mailbox Not Enabled for Rest API:
Make sure the tenant has a Microsoft 365 plan
If none already have a Microsoft 365 subscription, you must purchase one from Microsoft or a certified reseller. Choose a plan that includes Exchange Online, such as Microsoft 365 Business Basic, Microsoft 365 Business Standard, or Microsoft 365 Enterprise plans.
Assign License to User
Once you have the Microsoft 365 license, you can assign it to the user whose mailbox needs to create the online meeting. Here's how admin:
Go to the Microsoft 365 admin center (.microsoft.com) and sign in with your admin credentials.
In the admin center, go to the "Users" or "Active users" section.
Find the user for whom you want to enable Exchange Online (the mailbox user).
Select the user and then click on "Edit" or "Product licenses" (the wording may vary depending on the admin center's version).
In the license assignment window, check the box for the Microsoft 365 license that includes Exchange Online (e.g., Microsoft 365 Business Basic, Microsoft 365 Business Standard).
Save the changes.
Verify Mailbox Setup
After assigning the license, the mailbox should be automatically set up for Exchange Online. You can verify this by checking the user's mailbox settings in the Microsoft 365 admin center or by accessing the Exchange admin center.