---
title: "List the associations of an Office 365 instance"
method: GET
path: "/office365s/{office365_id}/associations"
tags: ["Graph", "Office 365"]
---

# List the associations of an Office 365 instance

`GET /office365s/{office365_id}/associations`

## Request

- Base URL: `https://console.jumpcloud.com/api/v2`
- URL: `https://console.jumpcloud.com/api/v2/office365s/{office365_id}/associations`
- Auth: API key in header `x-api-key`
- TypeScript: <https://skmtc.dev/jumpcloud/apis/jumpcloud-api-2/docs/office365s/:office365_id/associations/get.ts> (a function with typed inputs; its response is checked against the schema)

This endpoint returns _direct_ associations of an Office 365 instance.


A direct association can be a non-homogeneous relationship between 2 different objects, for example Office 365 and Users.

#### Sample Request
```
curl -X GET 'https://console.jumpcloud.com/api/v2/office365s/{OFFICE365_ID}/associations?targets=user_group' \
  -H 'Accept: application/json' \
  -H 'Content-Type: application/json' \
  -H 'x-api-key: {API_KEY}'

```

## Query parameters

- `targets` string[], required
- `limit` integer
- `skip` integer

## Headers

- `x-org-id` string

## Response `200`

OK

- GraphConnection[]
  - `attributes` GraphAttributes, nullable: The graph attributes.
  - `from` GraphObject
    - `attributes` GraphAttributes, nullable: The graph attributes.
    - `id` string, required: The ObjectID of the graph object.
    - `type` string, required: The type of graph object.
  - `to` GraphObject, required
    - `attributes` GraphAttributes, nullable: The graph attributes.
    - `id` string, required: The ObjectID of the graph object.
    - `type` string, required: The type of graph object.

---

[API](https://skmtc.dev/jumpcloud/apis/jumpcloud-api-2.md) - [All operations](https://skmtc.dev/jumpcloud/apis/jumpcloud-api-2/llms.txt) - [OpenAPI document](https://skmtc.dev/jumpcloud/apis/jumpcloud-api-2/revisions/3f09fe63caaa?raw)
