Calendar access for IT admins
What Attia asks Microsoft 365 and Google Workspace for, why, and how an admin approves Attia for the whole organization.
Overview
This page is for the IT admin of a company that uses Attia. Your users connect their own Outlook or Google calendar in Attia, so Attia can find free interview times and put interviews in their calendar. Here you find what Attia asks for, why, and how to approve it for your whole organization. For the user's side, see Connect your calendar.
The publisher is Attia AS. In Microsoft, Attia AS is a verified publisher.
What Attia does with a calendar
- It asks when the user is busy. It uses only whether the user is busy and the start and end times. Outlook can also send the title and the place of each event. Attia drops them.
- It makes, moves and cancels the interview events the user hosts. When the place is Microsoft Teams and the user connected Outlook, the event gets a Teams link. When the place is Google Meet and the user connected Google, the event gets a Meet link.
- It reads the events it made by their stored event id (in Google Calendar or Outlook), to keep them up to date, and when finding or checking times to move an interview the user hosts, to get that event's shared id (iCalUID) so an interviewer's Google Calendar copy does not count as busy. It never saves or caches that move lookup.
- Separately, in Google Calendar, when finding or checking times to move an interview, it lists the events in the interview's current time so its own event does not count as busy. Of each attendee it reads only the reply and whether that attendee is the user, and it uses only the user's own reply. It reads no title, place, attendee names or addresses, or notes of those events, and never saves or caches them.
Attia reads a calendar only through that user's own connection. It never reads one person's calendar through another person's connection, and it never changes an event it did not make.
Attia saves the account's address and id, its keys encrypted, and for each event it made, the event's id and the description Attia wrote in it. It saves no busy times, and it keeps no copy of the user's other events.
The interview event holds the candidate's name, the job title and a link to the application in Attia. The interviewers are attendees. The candidate is not an attendee. The event holds no CV, no answers and no notes.
Microsoft 365 permissions
Attia asks Microsoft for these delegated permissions. Attia acts only as the signed-in user, and never as an app with access to every mailbox.
| Permission | Why Attia needs it |
|---|---|
openid | Signs the user in, so Microsoft tells Attia which account connected. |
profile | Gives Attia the account's id and its organization's id, so a reconnect finds the same account and a personal account is refused. |
email | Gives Attia the account's address, which the user sees on the card in Attia. |
offline_access | Lets Attia keep working when the user is not signed in, for example when a candidate books a time at night. |
Calendars.ReadWrite | Lets Attia read the user's busy times, read the address of the user's own calendar, make, move and cancel the interview events in it, and read back the events it made by id (to keep them up to date and, when finding or checking times to move a hosted interview, to get the event's iCalUID). Microsoft has no permission that writes events without read access. Of other events, Attia uses only the busy status and the start and end times. |
Only work and school accounts connect. Attia refuses a personal Microsoft account.
Approve Attia for your organization
In most Microsoft 365 organizations, a user can't approve Calendars.ReadWrite alone. Microsoft then shows the user that an admin must approve Attia, and nothing connects. You approve Attia once for the whole organization. You need a role that can grant tenant-wide consent, such as Global Administrator, Cloud Application Administrator or Application Administrator.
Approve in one of two ways:
- From Attia. You need an Attia account in the workspace. Open Settings › Connected accounts and choose Connect on the Outlook Calendar card. Sign in with your admin account. On Microsoft's page, tick Consent on behalf of your organization, and choose Accept. This also connects your own Outlook calendar to your Attia account. You can disconnect it after.
- From the Microsoft Entra admin center. If Attia is listed under Enterprise applications, open it. Open Permissions, choose Grant admin consent for your organization, check the permissions in the table above, and accept.
When Microsoft's admin consent page sends you back to Attia, Attia shows Approved. and Your users can now connect Outlook Calendar. That page needs no sign-in and changes nothing. Microsoft has already saved the approval.
Then each user connects their own calendar. Your approval connects no calendar by itself.
You can remove Attia at any time in Enterprise applications. Attia then can't reach any calendar in your organization. Each user's card in Attia shows that Attia can no longer reach their calendar.
Google Workspace permissions
Attia asks Google for these scopes:
| Scope | Why Attia needs it |
|---|---|
openid | Signs the user in, so Google tells Attia which account connected. |
email | Gives Attia the account's address, which the user sees on the card in Attia. |
https://www.googleapis.com/auth/calendar.events.owned | Gives access to the events on calendars the user owns. Attia uses it to make, move and cancel the interview events in the user's primary calendar, and to read those events back by id (to keep them up to date and, when finding or checking times to move a hosted interview, to get the event's iCalUID). Separately, when finding or checking times to move an interview, Attia also lists the events in the interview's current time, so its own event does not count as busy. Of each attendee it reads only the reply and whether that attendee is the user. It reads no title, place, attendee names or addresses, or notes of those events. |
https://www.googleapis.com/auth/calendar.freebusy | Lets Attia read the user's busy times: start and end times only. |
Attia asks Google for offline access, so it keeps working when the user is not signed in. When a user disconnects, Attia tries to end its access at Google.
A Google Workspace admin decides which outside apps can reach Google data. In the Google Admin console, under Security › Access and data control › API controls › Manage App Access, you can mark Attia as trusted, limit it or block it, for the whole organization or for organizational units. When you block Attia, your users can't connect their Google calendar to Attia.
What users see
Each user connects their own calendar in Settings › Connected accounts, and can disconnect it there. On disconnect, Attia deletes the keys it saved, and the events it already made stay in the calendar. When a member leaves the workspace, Attia tries to cancel the interview events it made in that member's calendar, then disconnects it.