Skip to content

Commit e91257d

Browse files
authored
Merge pull request #26699 from microsoftgraph/lauragra-connectorRebranding
Update Microsoft Graph connectors to Copilot connectors.
2 parents 929cfa3 + 5c6d44b commit e91257d

File tree

61 files changed

+192
-1090
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

61 files changed

+192
-1090
lines changed

api-reference/beta/resources/connectors-api-overview.md

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,37 +1,37 @@
11
---
2-
title: "Use the Microsoft Graph connectors API"
3-
description: "Use the Microsoft Graph connectors API to index external data that powers intelligent experiences in Microsoft 365."
2+
title: "Use the Microsoft 365 Copilot connectors API"
3+
description: "Use the Copilot connectors API to index external data that powers intelligent experiences in Microsoft 365."
44
ms.localizationpriority: high
55
author: "snlraju-msft"
66
ms.subservice: "search"
77
doc_type: conceptualPageType
8-
ms.date: 06/04/2024
8+
ms.date: 05/19/2025
99
---
1010

11-
# Use the Microsoft Graph connectors API
11+
# Use the Copilot connectors API
1212

1313
[!INCLUDE [beta-disclaimer](../../includes/beta-disclaimer.md)]
1414

15-
You can use Microsoft Graph connectors to bring data from external services into Microsoft Graph. The Microsoft Graph connectors API enables you to index external data in order to power intelligent experiences in Microsoft 365, such as [Copilot](/microsoft-365-copilot/microsoft-365-copilot-overview) and [Microsoft Search](/microsoftsearch/overview-microsoft-search).
15+
You can use Microsoft 365 Copilot connectors (formerly Microsoft Graph connectors) to bring data from external services into Microsoft Graph. The Copilot connectors API enables you to index external data in order to power intelligent experiences in Microsoft 365, such as [Copilot](/microsoft-365-copilot/microsoft-365-copilot-overview) and [Microsoft Search](/microsoftsearch/overview-microsoft-search).
1616

1717
Requests to index data are performed on behalf of an application without the presence of a signed-in user via an [access token with application permission](/graph/auth-v2-service).
1818

19-
## Build a custom Microsoft Graph connector
19+
## Build a custom Copilot connector
2020

21-
Building a custom Microsoft Graph connector involves four steps:
21+
Building a custom Copilot connector involves four steps:
2222

2323
1. Create an Entra ID (formerly known as Azure Active Directory) app registration. Along with the request to Microsoft Graph, you submit the name of the app registration and API permissions that your app needs. Microsoft Graph responds with information about the newly created app registration.
2424
2. Create an external connection. Each connection requires a unique ID, name, and a description.
2525
3. Create the schema for the external connection. The schema defines the shape of external content that you'll ingest through this Microsoft Graph connection. Creating the schema is a long-running operation. After you submit the schema to create the connection, Microsoft Graph responds with a URL that you can use to check the status of the operation. The schema is being provisioned as long as the operation status is `inprogress`. When provisioning completes, the operation will return a `completed` status.
2626
4. Ingest external content. For each external item, extract it from the source content repository, transform it so that it matches the schema for your external connection, and submit it to Microsoft Graph as an external item. Along with the item, include information about who's allowed to access it, also known as the access control list (ACL).
2727

28-
The following is a sequence diagram that illustrates the four steps to build a Microsoft Graph connector.
28+
The following is a sequence diagram that illustrates the four steps to build a Copilot connector.
2929

30-
![A diagram that shows the four steps to build a Microsoft Graph connector](../images/graph-connectors-sequence-diagram.png)
30+
![A diagram that shows the four steps to build a Copilot connector](../images/graph-connectors-sequence-diagram.png)
3131

3232
## Common use cases
3333

34-
The following table lists common use cases for the Microsoft Graph connectors API.
34+
The following table lists common use cases for the Copilot connectors API.
3535

3636
| Use cases | REST resources | See also |
3737
|:-------------------------------------------------|:--------------------------------------------|:--|
@@ -51,9 +51,9 @@ The following are current known limitations:
5151
- Connections have a capacity limit of 5,000,000 items or ~350 GB of data.
5252
- Maximum size of an **externalItem** entity is 4 MB.
5353

54-
## Next steps
54+
## Related content
5555

56-
- See the [Microsoft Graph connectors overview](/graph/connecting-external-content-connectors-overview).
56+
- See the [Copilot connectors overview](/graph/connecting-external-content-connectors-overview).
5757
- Drill down on the methods, properties, and relationships of the [externalConnection](externalconnectors-externalconnection.md), [schema](externalconnectors-schema.md), and [externalItem](externalconnectors-externalitem.md) resources.
5858
- Check out the [Microsoft Graph postman collection](https://www.postman.com/microsoftgraph/workspace/microsoft-graph/folder/455214-66cbb476-ad94-448e-ba5a-ef58e1da7a90?ctx=documentation).
5959
- Check out the [sample search connector](https://github.com/microsoftgraph/msgraph-search-connector-sample).

api-reference/beta/resources/externalconnectors-connectionquota.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ ms.date: 07/22/2024
1212

1313
Namespace: microsoft.graph.externalConnectors
1414

15-
Represents the [connection](externalconnectors-externalconnection.md) quota that contains calculated information about the quota utilization of an external connection. It returns the allowed number of items that you can ingest into a connection by considering items ingested for the connection against the tenant-level quota for Microsoft Graph connectors.
15+
Represents the [connection](externalconnectors-externalconnection.md) quota that contains calculated information about the quota utilization of an external connection. It returns the allowed number of items that you can ingest into a connection by considering items ingested for the connection against the tenant-level quota for Microsoft 365 Copilot connectors (formerly Microsoft Graph connectors).
1616

1717
## Methods
1818

api-reference/beta/resources/search-api-overview.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ The following table describes the types available to query and the supported per
5656
|[driveItem](driveitem.md)|Files.Read.All, Files.ReadWrite.All, Sites.Read.All, Sites.ReadWrite.All| SharePoint and OneDrive | Files, folders, pages, and news. |
5757
|[list](list.md)|Sites.Read.All, Sites.ReadWrite.All| SharePoint and OneDrive | Lists. Document libraries are also returned as lists. |
5858
|[listItem](listitem.md)|Sites.Read.All, Sites.ReadWrite.All| SharePoint and OneDrive | List items. Files and folders are also returned as list items; **listItem** is the super class of **driveItem**. |
59-
|[externalItem](externalconnectors-externalitem.md)|ExternalItem.Read.All| Microsoft Graph connectors| All content ingested with the Microsoft Graph connectors API.|
59+
|[externalItem](externalconnectors-externalitem.md)|ExternalItem.Read.All| Microsoft 365 Copilot connectors| All content ingested with the Copilot connectors API.|
6060
|[person](person.md)|People.Read|Exchange Online|Personal contacts and contacts or addressable objects in your organization.|
6161
|[qna](search-qna.md)|QnA.Read.All|Microsoft Search|Questions and answers in Microsoft Search in your organization.|
6262
|[site](site.md)|Sites.Read.All, Sites.ReadWrite.All| SharePoint | Sites in SharePoint.|
@@ -106,7 +106,7 @@ If you don't specify any **fields** in the request, you'll get the default set
106106

107107
- **listItem** won't return any custom field.
108108
- **driveItem** will return an internal listItem with an empty field.
109-
- **externalItem** will return all the fields marked with the **retrievable** attribute in the Microsoft Graph connector schema for that particular connection.
109+
- **externalItem** will return all the fields marked with the **retrievable** attribute in the Copilot connector schema for that particular connection.
110110

111111
## Keyword Query Language (KQL) support
112112

@@ -156,7 +156,7 @@ The properties on which the aggregation is requested need to be refinable in the
156156

157157
Once the response is returned containing the collection of [searchBucket](searchBucket.md) objects, it's possible to refine the search request to only the matching elements contained in one [searchBucket](searchBucket.md). This is achieved by passing back the **aggregationsFilterToken** value in the **aggregationFilters** property of the subsequent [searchRequest](./searchrequest.md).
158158

159-
Aggregations are currently supported for any refinable property on the following SharePoint and OneDrive types: [driveItem](driveitem.md), [listItem](listitem.md), [list](list.md), [site](site.md), and on Microsoft Graph connectors [externalItem](externalconnectors-externalitem.md).
159+
Aggregations are currently supported for any refinable property on the following SharePoint and OneDrive types: [driveItem](driveitem.md), [listItem](listitem.md), [list](list.md), [site](site.md), and on Copilot connectors [externalItem](externalconnectors-externalitem.md).
160160

161161
See [refine search results](/graph/search-concept-aggregation) for examples that show using aggregation to enhance and narrow down search results.
162162

api-reference/beta/resources/searchrequest.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
title: "searchRequest resource type"
3-
description: "The search request to be sent to the query endpoint. It contains the type of entities expected in the response, the underlying sources, the paging parameters, the fields request and the actual search query."
3+
description: "The search request to be sent to the query endpoint. It contains the type of entities expected in the response, the underlying sources, the paging parameters, the fields request, and the actual search query."
44
ms.localizationpriority: medium
55
author: "njerigrevious"
66
ms.subservice: "search"
@@ -18,7 +18,7 @@ Namespace: microsoft.graph
1818

1919
A search request formatted in a JSON blob.
2020

21-
The JSON blob contains the types of resources expected in the response, the underlying sources, paging parameters, sort options, requested aggregations and fields, and actual search query. See [examples](#related-content) of search requests on various resources.
21+
The JSON blob contains the types of resources expected in the response, the underlying sources, paging parameters, sort options, requested aggregations and fields, and the actual search query. See [examples](#related-content) of search requests on various resources.
2222

2323
> [!NOTE]
2424
> Be aware of [known limitations](search-api-overview.md#known-limitations) on searching specific combinations of entity types, and sorting or aggregating search results.
@@ -30,19 +30,19 @@ The JSON blob contains the types of resources expected in the response, the unde
3030
|aggregations|[aggregationOption](aggregationOption.md) collection|Specifies aggregations (also known as refiners) to be returned alongside search results. Optional.|
3131
|aggregationFilters|String collection|Contains one or more filters to obtain search results aggregated and filtered to a specific value of a field. Optional.<br>Build this filter based on a prior search that aggregates by the same field. From the response of the prior search, identify the [searchBucket](searchBucket.md) that filters results to the specific value of the field, use the string in its **aggregationFilterToken** property, and build an aggregation filter string in the format **"{field}:\\"{aggregationFilterToken}\\""**. <br>If multiple values for the same field need to be provided, use the strings in its **aggregationFilterToken** property and build an aggregation filter string in the format **"{field}:or(\\"{aggregationFilterToken1}\\",\\"{aggregationFilterToken2}\\")"**. <br>For example, searching and aggregating drive items by file type returns a **searchBucket** for the file type `docx` in the response. You can conveniently use the **aggregationFilterToken** returned for this **searchBucket** in a subsequent search query and filter matches down to drive items of the `docx` file type. [Example 1](/graph/search-concept-aggregation#example-1-request-aggregations-by-string-fields) and [example 2](/graph/search-concept-aggregation#example-2-apply-an-aggregation-filter-based-on-a-previous-request) show the actual requests and responses.|
3232
|collapseProperties|[collapseProperty](collapseproperty.md) collection|Contains the ordered collection of fields and limit to collapse results. Optional.|
33-
|contentSources|String collection|Contains the connection to be targeted. <br>Respects the following format : `/external/connections/connectionid` where `connectionid` is the ConnectionId defined in the Connectors Administration. <br> Note: contentSource is only applicable when entityType=`externalItem`. Optional.|
33+
|contentSources|String collection|Contains the connection to be targeted. <br>Respects the following format: `/external/connections/connectionid` where `connectionid` is the ConnectionId defined in the connectors administration. <br> Note: contentSource is only applicable when entityType=`externalItem`. Optional.|
3434
|enableTopResults|Boolean|This triggers hybrid sort for messages: the first 3 messages are the most relevant. This property is only applicable to entityType=`message`. Optional.|
3535
|entityTypes|entityType collection| One or more types of resources expected in the response. Possible values are: `list`, `site`, `listItem`, `message`, `event`, `drive`, `driveItem`, `person`, `externalItem`, `acronym`, `bookmark`, `chatMessage`. For details about combinations of two or more entity types that are supported in the same search request, see [known limitations](search-api-overview.md#known-limitations). Required.|
36-
|fields|String collection |Contains the fields to be returned for each resource object specified in **entityTypes**, allowing customization of the fields returned by default otherwise, including additional fields such as custom managed properties from SharePoint and OneDrive, or custom fields in **externalItem** from content that Microsoft Graph connectors bring in. <br>The fields property can be using the [semantic labels](/microsoftsearch/configure-connector#step-5-assign-property-labels) applied to properties. For example, if a property is label as title, you can retrieve it using the following syntax : label_title.<br>Optional.|
36+
|fields|String collection |Contains the fields to be returned for each resource object specified in **entityTypes**, allowing customization of the fields returned by default otherwise, including additional fields such as custom managed properties from SharePoint and OneDrive, or custom fields in **externalItem** from content that Microsoft 365 Copilot connectors bring in. <br>The fields property can be using the [semantic labels](/microsoftsearch/configure-connector#step-5-assign-property-labels) applied to properties. For example, if a property is labeled as title, you can retrieve it using the following syntax : label_title.<br>Optional.|
3737
|from|Int32|Specifies the offset for the search results. Offset 0 returns the very first result. Optional.|
3838
|query|[searchQuery](searchquery.md)|Contains the query terms. Required.|
3939
|queryAlterationOptions|[searchAlterationOptions](searchalterationoptions.md)|Provides query alteration options formatted as a JSON blob that contains two optional flags related to spelling correction. Optional. |
4040
|region|string|Required for searches that use application permissions. Represents the geographic location for the search. For details, see [Get the region value](/graph/search-concept-searchAll). |
4141
|resultTemplateOptions|[resultTemplateOption](resultTemplateOption.md) collection|Provides the search result templates options for rendering connectors search results.|
42-
|sharePointOneDriveOptions|[sharePointOneDriveOptions](sharePointOneDriveOptions.md)|Indicates the kind of contents to be searched when a search is performed using application permissions. Optional.|
42+
|sharePointOneDriveOptions|[sharePointOneDriveOptions](sharePointOneDriveOptions.md)|Indicates the kind of content to be searched when a search is performed using application permissions. Optional.|
4343
|size|Int32|The size of the page to be retrieved. The maximum value is 500. Optional.|
4444
|sortProperties|[sortProperty](sortProperty.md) collection|Contains the ordered collection of fields and direction to sort results. There can be at most 5 sort properties in the collection. Optional.|
45-
|trimDuplicates|Boolean|Indicates whether to trim away the duplicate SharePoint files from search results. Default value is `false`. Optional.|
45+
|trimDuplicates|Boolean|Indicates whether to trim away the duplicate SharePoint files from search results. The default value is `false`. Optional.|
4646
|stored_fields (deprecated)|String collection |This is now replaced by the **fields** property. |
4747

4848
## JSON representation

api-reference/includes/copilot-aiinteraction-subscription-notes.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ ms.localizationpriority: medium
1111

1212
Subscriptions on Copilot AI interactions require a valid Copilot license that includes the following Copilot service plans:
1313

14-
* **Microsoft Graph connectors in Microsoft 365 Copilot**: 82d30987-df9b-4486-b146-198b21d164c7
14+
* **Microsoft 365 Copilot connectors in Microsoft 365 Copilot**: 82d30987-df9b-4486-b146-198b21d164c7
1515
* **Intelligent search**: 931e4a88-a67f-48b5-814f-16a5f1e6028d
1616
* **Microsoft 365 Copilot in Microsoft Teams**: b95945de-b3bd-46db-8437-f2beb6ea2347
1717
* **Microsoft 365 Copilot in productivity apps**: a62f8878-de10-42f3-b68f-6149a25ceb97

api-reference/includes/search-api-preview-signup.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,4 +8,4 @@ ms.localizationpriority: medium
88
<!-- markdownlint-disable MD041-->
99

1010
> [!IMPORTANT]
11-
> Microsoft Graph connectors and are currently in public preview status. To gain access to connectors functionality, you must turn on the Targeted release option in your tenant. See more details on the [connectors preview program](/microsoftsearch/connectors-preview).
11+
> Microsoft 365 Copilot connectors are currently in public preview status. To gain access to connectors functionality, you must turn on the Targeted release option in your tenant. For more information, see the [connectors preview program](/microsoftsearch/connectors-preview).

0 commit comments

Comments
 (0)