Set up calendar sign-in for meeting reminders
Create the Google and Microsoft apps that let customers connect a calendar by signing in, and add the service account and permission for organisation-wide access.
On this page
Customers can always add a calendar by its private link. The settings here add sign-in with Google and Microsoft, and organisation-wide access. They are under Platform settings, Meeting reminders: calendar sign-in.
All of this uses your own Google Cloud project and your own Microsoft app registration.
Google sign-in
- In the Google Cloud console, open your project and enable the Google Calendar API.
- Under APIs and services, Credentials, create an OAuth client ID of type Web application.
- Add the redirect address shown in Platform settings.
- Paste the client ID and client secret into Platform settings and save.
The scope used is read-only access to calendar events. Google asks you to verify the app before people outside your own organisation can use it without a warning.
Google organisation-wide access (domain-wide delegation)
- In the same project, go to IAM and admin, Service accounts, and create one. It needs no roles.
- Open it, go to Keys, Add key, JSON. A key file is downloaded.
- Paste the whole file into Service account key in Platform settings and save.
The key is stored encrypted and is never shown again. Platform settings then shows the service account, its project and its client ID. Customers see that client ID and the scope on their Meeting reminders screen, and their Google Workspace administrator authorises it under domain-wide delegation.
A customer can only add people from the Workspace domain they signed in from, and a domain belongs to the first account that signs in from it.
Microsoft sign-in
- In the Microsoft Entra admin centre, open App registrations and register an app for accounts in any organisation and personal accounts.
- Add the Web redirect address shown in Platform settings.
- Add the delegated permissions Calendars.Read, User.Read and offline_access.
- Create a client secret. Paste the application (client) ID and the secret into Platform settings and save.
Microsoft organisation-wide access (admin consent)
- In the same app registration, add the application permission Calendars.Read under Microsoft Graph.
- Add the second redirect address shown in Platform settings.
A customer's Global Administrator then selects Approve for my organisation on the Meeting reminders screen and approves the app at Microsoft. The organisation is the one Microsoft reports for the account they signed in with, never one typed in.
Good to know
- Sign-in returns people to your platform's own address. On a partner's branded address, customers use a calendar link instead.
- Removing the service account key stops Google organisation calendars being read.