> ## Documentation Index
> Fetch the complete documentation index at: https://knowledge.goautonomous.io/llms.txt
> Use this file to discover all available pages before exploring further.

# Microsoft Calendar Connector

> Let Go Autonomous read Outlook calendars and book appointments in them, for the people you choose.

The Microsoft Calendar connector lets Go Autonomous read the Outlook calendars of the people you choose and create appointments in them. Signed-in users and AI agents can, for example, find a free slot and book a delivery or a service visit straight into a technician's calendar.

It is a separate Microsoft app, **Go Autonomous Calendar**, from the [Microsoft connector](https://knowledge.goautonomous.io/knowledge-base/administration/connectors/ms-connector.md) that reads your inboxes. Approving one does not approve the other.

## Before you start

* Approving the app requires an IT representative with **Azure Active Directory admin rights**.

* The app asks Microsoft for two application permissions:

  | Permission | Why |
  | - | - |
  | `Calendars.ReadWrite` | Read calendars and create appointments in them |
  | `User.Read.All` | Find the people you add, by name or email |

* Go Autonomous never sends invitations. Appointments are created without attendees, only in the calendar of the person they are for.

***

## Two layers of control

Go Autonomous only touches a calendar when **both** layers allow it:

1. **Your list in Go Autonomous.** Only the people added on the connector page can be read or written to, and each has its own **Read** and **Write** switch. Go Autonomous checks this list on every call.
2. **Microsoft's own limit (recommended).** Microsoft can restrict the app to a group of mailboxes, so even a mistake on our side can't reach anyone else. Go Autonomous checks this when you add a person: if Microsoft refuses, the person is not added and you see why.

### Limit the app to a group of mailboxes

> [!NOTE]
>
> Requires Exchange Online admin rights.

Use [RBAC for Applications in Exchange Online](https://learn.microsoft.com/en-us/exchange/permissions-exo/application-rbac) to give the Go Autonomous Calendar app access to a mail-enabled security group only. In Exchange Online PowerShell:

```powershell theme={null}
# 1. Point Exchange to the Go Autonomous Calendar app
New-ServicePrincipal -AppId <application-id> -ObjectId <enterprise-app-object-id> -DisplayName "Go Autonomous Calendar"

# 2. A scope that matches the members of your group
New-ManagementScope -Name "Go Autonomous Calendar users" -RecipientRestrictionFilter "MemberOfGroup -eq '<group-distinguished-name>'"

# 3. Allow calendar access inside that scope only
New-ManagementRoleAssignment -App <application-id> -Role "Application Calendars.ReadWrite" -CustomResourceScope "Go Autonomous Calendar users"
```

Then remove the tenant-wide `Calendars.ReadWrite` grant from the app in Microsoft Entra, so only the scoped assignment remains. Ask your Go Autonomous Success Manager for the application ID of your environment.

***

## Enable the connector

> [!NOTE]
>
> Requires Microsoft Azure AD admin rights and Go Autonomous admin rights.

**1. Open the connectors**

In Go Autonomous, open **Company Settings** and go to **Connectors**.

**2. Add Microsoft Calendar**

Under **Add connection**, click **Microsoft Calendar**. A Microsoft sign-in opens in a new tab.

**3. Approve the app**

Sign in with your Microsoft admin account and click **Accept**. Microsoft handles the sign-in; Go Autonomous never sees the credentials.

**4. Wait for the connector**

Go back to Go Autonomous. **Microsoft Calendar** appears under the active connectors within a few minutes.

![Microsoft Calendar under the active connectors](https://mintlify.s3.us-west-1.amazonaws.com/goautonomous/images/Calendar-connector-active.png)

***

## Choose the people

Click the **Microsoft Calendar** connector to open its page.

1. Click **Add people**, search by name or email, and pick one or more people.
2. Choose what Go Autonomous may do:
   * **Read** shows their calendar on this page and lets users and agents check when they are free.
   * **Write** lets users and agents create appointments in their calendar.
3. Click **Add**. Go Autonomous first reads each calendar once to check that Microsoft allows it.

![Add people: search the directory and pick people](https://mintlify.s3.us-west-1.amazonaws.com/goautonomous/images/Calendar-connector-add-people.png)

In the table you can switch Read and Write on or off at any time, pick the calendar appointments are written to (**Writes to**), or remove a person (you are asked to confirm). **Writes to** can only be changed while **Write** is on. Every change shows in the change log.

![The people on the connector, with Read, Write and Writes to](https://mintlify.s3.us-west-1.amazonaws.com/goautonomous/images/Calendar-connector-people.png)

### Preview a calendar

For anyone with **Read** on, hover the row and click the preview icon. You see their week, or an agenda, in your own time zone:

* Time, subject, location and organizer of each appointment.
* Appointment bodies are never shown.
* Private appointments only show as **Busy**.
* Appointments created by Go Autonomous are marked with a sparkle.

![Preview of a calendar: a private appointment shows as Busy](https://mintlify.s3.us-west-1.amazonaws.com/goautonomous/images/Calendar-connector-preview.png)

***

## Using the calendar from agents and the API

Once the connector is active, calendars can be read and booked by AI agents through the Go Autonomous MCP server, or by signed-in users through the PlatformApi REST API under `v3/calendar`.

### Who can use it

* Any user with **Flow** access.
* Only the people on the connector page, and only what their switches allow: reading needs **Read** on, booking needs **Write** on.
* An external AI agent can only book if **Allow changes** was ticked when it signed in to Go Autonomous. Without it, the agent can still read.

### Tools and routes

| MCP tool | REST (`v3/calendar`) | What it does |
| - | - | - |
| `list_calendar_people` (read-only) | `GET people` | Lists the people on the connector page, with their **Read** and **Write** switches. |
| `get_calendar_events` (read-only) | `GET people/{person}/events?start_time=…&end_time=…[&calendar_id=…]` | Lists a person's appointments, up to 31 days at a time. Bodies are never returned, and private appointments only show as **Busy**. |
| `find_free_slots` (read-only) | `POST free_slots` | Finds free time that all the given people share. Body: `people` (1–10), `window_start`, `window_end`, `duration_minutes` (5–1440) and optional `max_results`. Working hours are ignored, so choose the window accordingly. |
| `create_calendar_event` (needs **Allow changes**) | `POST people/{person}/events` | Books an appointment. Body: `subject`, `start`, `end`, and optional `body`, `location`, `time_zone`, `show_as`, `calendar_id` and `transaction_id`. Nobody is invited and no email is sent. Sending the same `transaction_id` again returns the first appointment instead of booking twice. |

* Every tool and route accepts an optional `connector_id`. Without it, the organization's primary active Microsoft Calendar connector is used.
* Times are ISO 8601 with an offset, for example `2026-11-24T09:00:00+01:00`.
* Bookings show in the audit log on the **Connectors** page, with the person who made them. Go Autonomous only ever changes or removes appointments it created itself.

### Errors

| Status | When |
| - | - |
| `403` with code `CALENDAR_ACCESS_REFUSED` | The person is not on the connector page, **Read** or **Write** is off, or Microsoft refuses. The response says which. |
| `400` | The range is longer than 31 days, or the end is before the start. |
| `404` | The organization has no active Microsoft Calendar connector. |

***

## Troubleshooting

| Message | What to do |
| - | - |
| Microsoft refused access to the calendar | The person is outside the group allowed by your Exchange policy. Add them to the group, wait a few minutes, and try again. |
| The person is not added, or can't be written to | Add them on the connector page and switch **Write** on. |
| The calendar is not one of theirs | The calendar chosen in **Writes to**, or passed as `calendar_id`, was deleted or is not theirs. Pick another. |

When Microsoft refuses a person while you add them, the **Add people** dialog shows the reason and keeps only that person selected. The people who could be added are already on the list.

![Microsoft refused access when adding a person](https://mintlify.s3.us-west-1.amazonaws.com/goautonomous/images/Calendar-connector-refused.png)
