> Documentation index: https://metorial.com/llms.txt. Every page is available as Markdown by adding .md to its URL.

# Set up D2L Brightspace in Metorial for Claude, ChatGPT and Cursor
URL: https://metorial.com/docs/integrations/d2l-brightspace
Last updated: 2026-11-24

Share D2L Brightspace with your team in Claude, ChatGPT and Cursor through Metorial: OAuth or bearer token sign-in, 54 tools (28 read-only).

---

To give your team D2L Brightspace in Claude, ChatGPT, Cursor and other AI clients, an admin shares the D2L Brightspace integration in a Metorial portal, and each person signs in to D2L Brightspace with their own account. Agents can manage Brightspace users, courses, enrollments, grades, assignment folders, content modules, announcements, discussions, calendar events, groups, sections, and awards. The integration has 54 tools, 28 read-only, 19 write and 7 destructive, plus 4 triggers.

**What you will learn**

- How an admin shares D2L Brightspace in a portal and how each person connects
- The 47 OAuth scopes D2L Brightspace can request, and what each one allows
- How to keep the 28 read-only tools and reject the other 26

**Before you start**

- A [portal](https://metorial.com/docs/platform/workforce/portals) with at least one access group
- An account with D2L Brightspace for each person who connects
- For the CLI steps: the [Metorial CLI](https://metorial.com/docs/platform/cli), signed in to your portal

## Sign-in methods

| Method | Type | What a person provides |
| --- | --- | --- |
| **Bearer Token** | API token | `token` |
| **Brightspace OAuth** (default) | OAuth | Signs in to D2L Brightspace after entering `instanceUrl` |

The portal and `metorial setup` use **Brightspace OAuth** unless someone picks another method.

### Bearer Token

To connect, a person enters:

- `token`: Brightspace OAuth bearer token or API access token

### Brightspace OAuth

Before the sign-in, setup asks for:

- `instanceUrl` (optional): Your Brightspace instance URL (e.g. https://myschool.brightspace.com). Used only for token refresh and profile retrieval.

People sign in to D2L Brightspace and approve the scopes you allow. The integration can request:

| Scope | Name | What it allows |
| --- | --- | --- |
| `core:*:*` | Core Full Access | Full access to core APIs (fallback for unmapped actions) |
| `users:userdata:read` | Users Read | Read user data |
| `users:userdata:create` | Users Create | Create user accounts |
| `users:userdata:update` | Users Update | Update user accounts |
| `users:userdata:delete` | Users Delete | Delete user accounts |
| `users:profile:read` | Profile Read | Read user profiles |
| `users:own_profile:read` | Own Profile | Read own profile |
| `enrollment:orgunit:read` | Enrollment Read | Read enrollment data |
| `enrollment:orgunit:create` | Enrollment Create | Create enrollments |
| `enrollment:orgunit:delete` | Enrollment Delete | Delete enrollments |
| `enrollment:own_enrollment:read` | Own Enrollment | Read own enrollment data |
| `orgunits:course:read` | Course Read | Read course offerings |
| `orgunits:course:create` | Course Create | Create course offerings |
| `orgunits:course:update` | Course Update | Update course offerings |
| `orgunits:course:delete` | Course Delete | Delete course offerings |
| `orgunits:coursetemplate:read` | Template Read | Read course templates |
| `orgunits:coursetemplate:create` | Template Create | Create course templates |
| `content:modules:read` | Content Read | Read course content modules |
| `content:modules:manage` | Content Manage | Manage course content modules |
| `content:topics:read` | Topics Read | Read course content topics |
| `content:topics:manage` | Topics Manage | Manage course content topics |
| `grades:gradevalues:read` | Grades Read | Read grade data |
| `grades:gradevalues:write` | Grades Write | Write grade data |
| `grades:gradeobjects:read` | Grade Items Read | Read grade objects |
| `grades:gradeobjects:write` | Grade Items Write | Write grade objects |
| `dropbox:folders:read` | Dropbox Read | Read assignment dropbox folders |
| `dropbox:folders:write` | Dropbox Write | Write assignment dropbox folders |
| `dropbox:folders:delete` | Dropbox Delete | Delete assignment dropbox folders |
| `quizzes:quizzes:read` | Quizzes Read | Read quizzes |
| `quizzes:quizzes:write` | Quizzes Write | Manage quizzes |
| `discussions:forums:read` | Discussions Read | Read discussion forums |
| `discussions:forums:manage` | Discussions Manage | Manage discussion forums |
| `discussions:posts:read` | Posts Read | Read discussion posts |
| `discussions:posts:manage` | Posts Manage | Manage discussion posts |
| `news:newsitems:read` | News Read | Read news/announcements |
| `news:newsitems:manage` | News Manage | Manage news/announcements |
| `calendar:events:read` | Calendar Read | Read calendar events |
| `calendar:events:write` | Calendar Write | Manage calendar events |
| `awards:awards:read` | Awards Read | Read awards and badges |
| `awards:awards:manage` | Awards Manage | Manage awards and badges |
| `groups:groups:read` | Groups Read | Read groups and sections |
| `groups:groups:manage` | Groups Manage | Manage groups and sections |
| `orgunits:orgunit:read` | OrgUnit Read | Read org unit structure |
| `orgunits:orgunit:manage` | OrgUnit Manage | Manage org unit structure |
| `enrollment:completion:read` | Completion Read | Read enrollment completion data |
| `enrollment:completion:update` | Completion Update | Update enrollment completion |
| `users:password:write` | Password Write | Manage user passwords |

### Setup settings

Whichever method you pick, setup also asks for:

- `instanceUrl`: Your Brightspace instance URL (e.g. https://myschool.brightspace.com)
- `lpVersion` (optional): Learning Platform API version (default: 1.49)
- `leVersion` (optional): Learning Environment API version (default: 1.82)
- `basVersion` (optional): Badge and Award System API version (default: 2.5)

## Use your own D2L Brightspace OAuth app

With your own OAuth app, people see your company's name on the D2L Brightspace consent screen, and the client ID and secret belong to you.

1. **Start the credentials in Metorial**

   In the dashboard, select **Settings**, then **Organization Settings**. Under **Integrations and MCP**, select **Provider Auth**, then **Create Auth Credentials**. Choose D2L Brightspace and copy the **Redirect URI**.

2. **Register the app with D2L Brightspace**

   Create an OAuth app or client in D2L Brightspace and add the redirect URI from Metorial as its redirect or callback URL.

3. **Finish in Metorial**

   Copy the app's client ID and client secret. Back in Metorial, enter a **Name**, the **Client ID** and the **Client Secret**, review **Scopes**, and select **Create**. Then pick these credentials for the D2L Brightspace integration.

## Admin: share D2L Brightspace in a portal

### In the dashboard

1. **Open Shared Resources**

   Open **Workforce**, choose the portal, and select **Shared Resources** under **Access**.

2. **Share a new integration**

   Select **Share a Resource**, then **New Integration**, and choose D2L Brightspace. Under **Auth Method**, keep **Brightspace OAuth** or pick another. For how members connect, choose **Each person connects**, so everyone signs in to D2L Brightspace as themselves.

3. **Limit the tools**

   Under **Tool Filters**, set the write and destructive groups to **Reject** if agents should only read from D2L Brightspace.

4. **Choose who gets it**

   Add the access groups that should see D2L Brightspace. When a person asks for access from the portal, the request appears under **Access Requests**.

### With the CLI

The CLI cannot create the per-user D2L Brightspace integration. Once it exists, check which groups have it:

```bash
metorial-admin portals access list <portal-id> --type provider_template --search "d2l brightspace"
```

## Employee: connect D2L Brightspace

### In the portal

1. **Open D2L Brightspace in the catalog**

   Sign in to your portal and open D2L Brightspace. The status reads **Available**.

2. **Authenticate**

   Under **Quick setup**, select **Authenticate**. A D2L Brightspace sign-in tab opens. Sign in and approve the permissions listed.

3. **Confirm**

   The status changes to **Configured**. If it later reads **Needs reconnect**, select **Reconnect** and sign in again.

### With the CLI

```bash
metorial catalog search "d2l brightspace"
metorial setup <catalog-item-id>
```

`catalog search` prints the catalog item ID. `metorial setup` uses **Brightspace OAuth**. To connect with **Bearer Token** instead, find its ID with `metorial catalog get <catalog-item-id>` and add `--auth-method <auth-method-id>`.

### Add it to your AI client

`metorial install` adds your D2L Brightspace connection to a local MCP client such as Claude Code, Cursor or Codex. `metorial list` prints the integration ID and `metorial client list` the client identifiers.

```bash
metorial list "d2l brightspace"
metorial client list
metorial install <client-identifier> <integration-id>
```

For a client that takes a server URL, such as ChatGPT, `metorial install custom <integration-id>` creates an installation token and shows the endpoint details.

## Make it read-only

Open the integration's **Tool Filters** and set the write and destructive groups to **Reject**. Agents keep the 28 read-only tools, such as `get_quiz` and `get_user`, and lose the 19 write tools, such as `create_user` or `enroll_user`, and the 7 destructive tools, such as `revoke_award` or `delete_course`.

Employees see the result on the integration's page in the portal under **Tool access**. For the full walkthrough, see [Tool permissions](https://metorial.com/docs/platform/guides/tool-permissions).

## Check it worked

```bash
metorial list "d2l brightspace"
metorial tools <integration-id>
metorial call <integration-id> list_roles -d '{}'
```

`metorial tools` lists the 54 tools, minus any you rejected. `list_roles` takes no input. It lists all available roles in the Brightspace instance.

To see every input a tool takes, run `metorial schema <integration-id> <tool-key>`.

## Tools

### Read-only tools (28)

- `get_assignment_submissions`: Retrieve submissions for an assignment. Needs `orgUnitId` and `folderId`.
- `get_classlist`: Retrieve the classlist (enrolled users) for a course. Needs `orgUnitId`.
- `list_grade_items`: List all grade objects (items) in a course's gradebook, including their type, max points, and weight. Needs `orgUnitId`.
- `get_grade_value`: Retrieve a specific student's grade for a grade item, or get all students' grades for a grade item. Needs `orgUnitId` and `gradeObjectId`.
- `get_user`: Retrieve a Brightspace user's details by their user ID, or look up users by username, email, or org-defined ID.
- `get_course`: Retrieve details for a Brightspace course offering by its org unit ID, including name, code, dates, active status, and course template information. Needs `orgUnitId`.
- `list_assignments`: List all assignment (dropbox) folders in a course. Needs `orgUnitId`.
- `get_assignment`: Get detailed information about a specific assignment folder, including its instructions, due date, assessment settings, and availability. Needs `orgUnitId` and `folderId`.
- `list_enrollments`: List enrollments for a specific user or org unit.
- `list_content_modules`: List root-level content modules for a course, or get the structure (children) of a specific module. Needs `orgUnitId`.
- `get_final_grades`: Retrieve final calculated grades for all students in a course. Needs `orgUnitId`.
- `list_users`: List and search Brightspace users.
- `list_groups_sections`: List group categories, groups within a category, or sections within a course. Needs `orgUnitId`.
- `list_awards`: List awards (badges and certificates) available in the organization, or list awards issued to a specific user.
- `list_quizzes`: List all quizzes in a course. Needs `orgUnitId`.
- `list_calendar_events`: List calendar events for a course or org unit. Needs `orgUnitId`.
- `list_discussion_forums`: List all discussion forums in a course, or get topics within a specific forum. Needs `orgUnitId`.
- `list_org_units`: Search and list organizational units (courses, departments, semesters, etc.).
- `list_roles`: List all available roles in the Brightspace instance.
- `list_announcements`: List all news items (announcements) in a course or org unit. Needs `orgUnitId`.
- `get_quiz`: Get detailed information about a specific quiz, including its configuration, questions, and attempts. Needs `orgUnitId` and `quizId`.
- `list_discussion_posts`: List posts/threads within a discussion topic. Needs `orgUnitId`, `forumId` and `topicId`.
- `list_org_unit_types`: Discover organizational unit type IDs and names to filter list_org_units, such as courses, semesters, and departments.
- `list_award_associations`: Discover awards associated with an org unit before issue_award.
- `get_announcement`: Retrieve an announcement by an ID from list_announcements, including its full body and publication settings.
- `get_calendar_event`: Retrieve a calendar event by an ID from list_calendar_events, including its recurrence, visibility, location, and associated activity.
- `get_org_unit`: Retrieve an organizational unit by an ID from list_org_units or list_enrollments, including its type and content path.
- `get_content_topic`: Retrieve a course content topic, its type, URL, dates, and visibility.

### Write tools (19)

- `update_course`: Update an existing course offering's name, code, dates, active status, description, or self-registration setting. Needs `orgUnitId`.
- `update_content_module`: Update an existing content module's title, description, visibility, or dates. Needs `orgUnitId` and `moduleId`.
- `create_assignment`: Create a new assignment (dropbox folder) in a course with instructions, due date, and submission settings. Needs `orgUnitId` and `name`.
- `update_user`: Update an existing Brightspace user's details such as name, email, username, activation status, or org-defined ID. Needs `userId`.
- `set_grade_value`: Set or update a student's grade for a specific grade item. Needs `orgUnitId`, `gradeObjectId`, `userId` and `pointsNumerator`.
- `create_content_module`: Create a new content module in a course. Needs `orgUnitId` and `title`.
- `create_course`: Create a new course offering in Brightspace. Needs `name`, `code` and `courseTemplateId`.
- `create_user`: Create a new user account in Brightspace. Needs `firstName`, `lastName`, `userName` and `roleId`.
- `enroll_user`: Enroll a user in a course or org unit with a specific role. Needs `orgUnitId`, `userId` and `roleId`.
- `update_announcement`: Update an existing news item (announcement) in a course or org unit. Needs `orgUnitId` and `newsItemId`.
- `update_calendar_event`: Update an existing calendar event's title, description, or dates. Needs `orgUnitId` and `calendarEventId`.
- `create_discussion_topic`: Create a new discussion topic within an existing forum. Needs `orgUnitId`, `forumId` and `name`.
- `manage_group_enrollment`: Add or remove a user from a group within a course. Needs `orgUnitId`, `groupCategoryId`, `groupId`, `userId` and `action`.
- `create_discussion_forum`: Create a new discussion forum in a course with a name, description, and optional visibility/locking settings. Needs `orgUnitId` and `name`.
- `create_discussion_post`: Create a new post or reply in a discussion topic. Needs `orgUnitId`, `forumId`, `topicId`, `subject` and `message`.
- `issue_award`: Issue a badge or certificate to a user within an org unit. Needs `orgUnitId`, `awardId` and `userId`.
- `create_announcement`: Create a new news item (announcement) in a course or org unit. Needs `orgUnitId`, `title` and `body`.
- `create_calendar_event`: Create a new calendar event for a course or org unit. Needs `orgUnitId`, `title`, `startDateTime` and `endDateTime`.
- `update_assignment`: Update an assignment name, instructions, visibility, or dates while preserving other folder settings.

### Destructive tools (7)

- `delete_course`: Permanently delete a course offering from Brightspace by its org unit ID. Needs `orgUnitId`.
- `unenroll_user`: Remove a user's enrollment from a course or org unit. Needs `orgUnitId` and `userId`.
- `delete_content_module`: Delete a content module from a course. Needs `orgUnitId` and `moduleId`.
- `delete_calendar_event`: Delete a calendar event from a course or org unit. Needs `orgUnitId` and `calendarEventId`.
- `revoke_award`: Revoke a previously issued award (badge or certificate) by its issued award ID. Needs `issuedId`.
- `delete_announcement`: Delete a news item (announcement) from a course or org unit. Needs `orgUnitId` and `newsItemId`.
- `delete_assignment`: Delete an assignment folder and its associated submissions.

## Triggers

D2L Brightspace has 4 triggers, which fire on events in D2L Brightspace:

- `grade_changes`: Triggers when grade values are updated for students in a course.
- `inbound_webhook`
- `announcement_changes`: Triggers when announcements (news items) are created or updated in a specific course or org unit.
- `enrollment_changes`: Triggers when users are enrolled in or unenrolled from a specific course/org unit.

## Next steps

- [Claude Code](https://metorial.com/docs/platform/clients/claude-code), [Cursor](https://metorial.com/docs/platform/clients/cursor), [Codex](https://metorial.com/docs/platform/clients/codex) and [ChatGPT](https://metorial.com/docs/platform/clients/chatgpt): connect each client to your portal and use D2L Brightspace there
- [Create custom OAuth credentials](https://metorial.com/docs/platform/integrations/create-custom-oauth-credentials): the Provider Auth screens in more detail
- [Tool permissions](https://metorial.com/docs/platform/guides/tool-permissions): tool filters and what employees see
- [D2L Brightspace on metorial.com](https://metorial.com/integrations/d2l-brightspace): the integration overview