Skip to content

Commit d3c4b24

Browse files
authored
Merge pull request #28225 from microsoftgraph/bala5765-patch-2
Enhance external connectors documentation with new properties
2 parents 0188b0e + d6c790c commit d3c4b24

7 files changed

Lines changed: 358 additions & 2 deletions

File tree

api-reference/v1.0/resources/enums-externalconnectors.md

Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -78,6 +78,26 @@ Namespace: microsoft.graph.externalConnectors
7878
| externalGroup
7979
| unknownFutureValue
8080

81+
### contentCategory values
82+
83+
| Member
84+
|:----------
85+
| uncategorized
86+
| knowledgeBase
87+
| wikis
88+
| fileRepository
89+
| qna
90+
| crm
91+
| dashboard
92+
| people
93+
| media
94+
| email
95+
| messaging
96+
| meetingTranscripts
97+
| taskManagement
98+
| learningManagement
99+
| unknownFutureValue
100+
81101
### label values
82102

83103
| Member
@@ -93,6 +113,24 @@ Namespace: microsoft.graph.externalConnectors
93113
| fileExtension
94114
| iconUrl
95115
| unknownFutureValue
116+
| containerName
117+
| containerUrl
118+
| assignedToPeople
119+
| dueDate
120+
| closedDate
121+
| closedBy
122+
| reportedBy
123+
| sprintName
124+
| severity
125+
| state
126+
| priority
127+
| secondaryId
128+
| itemParentId
129+
| parentUrl
130+
| tags
131+
| itemType
132+
| itemPath
133+
| numberOfReactions
96134

97135
### propertyType values
98136

@@ -107,6 +145,8 @@ Namespace: microsoft.graph.externalConnectors
107145
| int64Collection
108146
| doubleCollection
109147
| dateTimeCollection
148+
| principal
149+
| principalCollection
110150
| unknownFutureValue
111151

112152
### ruleOperation values

api-reference/v1.0/resources/externalconnectors-externalconnection.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@ A logical container to add content from an external source into Microsoft Graph.
3131
| activitySettings |[microsoft.graph.externalConnectors.activitySettings](../resources/externalconnectors-activitysettings.md)| Collects configurable settings related to activities involving connector content.|
3232
| configuration |[microsoft.graph.externalConnectors.configuration](../resources/externalconnectors-configuration.md)|Specifies additional application IDs that are allowed to manage the connection and to index content in the connection. Optional.|
3333
| connectorId | String | The Teams app ID. Optional.|
34+
| contentCategory | microsoft.graph.externalConnectors.contentCategory | Specifies the domain category of the content associated with the external connection. This property helps Microsoft Graph optimize relevance, ranking, and semantic understanding by signaling the nature of the ingested content. For example, setting this value correctly ensures better query interpretation and improves Copilot experiences. Possible values are: `uncategorized`, `knowledgeBase`, `wikis`, `fileRepository`, `qna`, `crm`, `dashboard`, `people`, `media`, `email`, `messaging`, `meetingTranscripts`, `taskManagement`, `learningManagement`, `unknownFutureValue`. Optional. The default value is `uncategorized`. |
3435
| description |String|Description of the connection displayed in the Microsoft 365 admin center. Optional.|
3536
| id |String| Developer-provided unique ID of the connection within the Microsoft Entra tenant. Must be between 3 and 32 characters in length. Must only contain alphanumeric characters. Cannot begin with `Microsoft` or be one of the following values: `None`, `Directory`, `Exchange`, `ExchangeArchive`, `LinkedIn`, `Mailbox`, `OneDriveBusiness`, `SharePoint`, `Teams`, `Yammer`, `Connectors`, `TaskFabric`, `PowerBI`, `Assistant`, `TopicEngine`, `MSFT_All_Connectors`. Required. |
3637
| name |String|The display name of the connection to be displayed in the Microsoft 365 admin center. Maximum length of 128 characters. Required.|
Lines changed: 100 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,100 @@
1+
---
2+
title: "principal resource type"
3+
description: "Represents a complex data type used to add people-related properties to items indexed by externalConnection."
4+
ms.localizationpriority: medium
5+
author: "bak"
6+
ms.subservice: "search"
7+
doc_type: "resourcePageType"
8+
ms.date: 02/10/2026
9+
---
10+
11+
# principal resource type
12+
13+
Namespace: microsoft.graph.externalConnectors
14+
15+
Represents a complex data type used to add people-related properties to items indexed by an [externalConnection](../resources/externalconnectors-externalconnection.md). You can also use the principalCollection data type when there's list of people.
16+
17+
## Properties
18+
19+
| Property | Type | Description |
20+
|:---------------|:-------|:---------------------------------------------------|
21+
| externalName | String | The name associated with the person in the external data source.|
22+
| externalId | String | The ID associated with the person in the external data source. It could also be an email associated with the person on the external source. |
23+
| entraDisplayName | String | The name of the person as mentioned on Microsoft Entra. |
24+
| entraId | String | The ID of the person as mentioned on Microsoft Entra.|
25+
| email | String | The email of the person as mentioned on Microsoft Entra.|
26+
| upn | String | The User Principal Name (UPN) of the person as mentioned on Azure Active directory or Microsoft Entra. |
27+
| tenantId | String | The ID of the tenant where the person belongs. Tenant ID is a unique GUID that identifies your organization’s Azure Active Directory (Entra ID) tenant. |
28+
29+
## Relationships
30+
31+
None.
32+
33+
## JSON representation
34+
35+
You can use the principal or principalCollection data types.
36+
37+
| Data type | Description |
38+
|:---------------|:---------------------------------------------------|
39+
| principal | Use this datatype when the property has information about one person. Example: Assignee property for a JIRA ticket where there's only one assignee.|
40+
| principalCollection | Use this datatype when the property refers to a list of people. Example: Contributors property for a GitHub PR where there can be multiple people.|
41+
42+
Using principal or principalCollection type properties instead of a string or string collection for people related properties while ingesting ExternalItems can provide better and more relevant results in Copilot Search or chat.
43+
44+
The following JSON representation shows the resource type for principal data type.
45+
<!-- {
46+
"blockType": "resource",
47+
"optionalProperties": [
48+
49+
],
50+
"@odata.type": "microsoft.graph.externalConnectors.principal",
51+
"baseType": null
52+
}-->
53+
54+
```json
55+
{
56+
"externalName": "String",
57+
"externalId": "String",
58+
"entraDisplayName": "String",
59+
"entraId": "String",
60+
"email": "String",
61+
"upn": "String",
62+
"tenantId": "String"
63+
}
64+
```
65+
66+
The following JSON representation shows the resource type for principal collection data type.
67+
<!-- {
68+
"blockType": "resource",
69+
"optionalProperties": [
70+
71+
],
72+
"@odata.type": "microsoft.graph.externalConnectors.principal",
73+
"baseType": null
74+
}-->
75+
76+
```json
77+
{
78+
"principals": [
79+
{
80+
"externalName": "String",
81+
"externalId": "String",
82+
"entraDisplayName": "String",
83+
"entraId": "String",
84+
"email": "String",
85+
"upn": "String",
86+
"tenantId": "String"
87+
}
88+
]
89+
}
90+
```
91+
92+
<!-- uuid: 16cd6b66-4b1a-43a1-adaf-3a886856ed98
93+
2019-02-04 14:57:30 UTC -->
94+
<!-- {
95+
"type": "#page.annotation",
96+
"description": "Principal data type resource",
97+
"keywords": "",
98+
"section": "documentation",
99+
"tocPath": ""
100+
}-->

api-reference/v1.0/resources/externalconnectors-property.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,13 +20,14 @@ A [schema](externalconnectors-schema.md) property definition for a Microsoft Sea
2020
|Property|Type|Description|
2121
|:---|:---|:---|
2222
|aliases|String collection|A set of aliases or a friendly name for the property. Maximum 32 characters. Only alphanumeric characters allowed. For example, each string may not contain control characters, whitespace, or any of the following: `:`, `;`, `,`, `(`, `)`, `[`, `]`, `{`, `}`, `%`, `$`, `+`, `!`, `*`, `=`, `&`, `?`, `@`, `#`, `\`, `~`, `'`, `"`, `<`, `>`, `` ` ``, `^`. Optional.|
23+
| description| String| Specifies a human-readable description that explains the purpose, usage, or guidance related to the property. This property enhances semantic understanding by helping Copilot interpret queries and accurately map them to properties that results in more relevant and precise responses. Optional but we recommend that you use this property for queryable properties. The maximum supported length is 200 characters.|
2324
|isQueryable|Boolean|Specifies if the property is queryable. Queryable properties can be used in [Keyword Query Language (KQL) queries](/sharepoint/dev/general-development/keyword-query-language-kql-syntax-reference). Optional.|
2425
|isRefinable|Boolean|Specifies if the property is refinable. Refinable properties can be used to filter search results in the [Search API](search-api-overview.md) and add a refiner control in the Microsoft Search user experience. Optional.|
2526
|isRetrievable|Boolean|Specifies if the property is retrievable. Retrievable properties are returned in the result set when items are returned by the search API. Retrievable properties are also available to add to the display template used to render search results. Optional.|
2627
|isSearchable|Boolean|Specifies if the property is searchable. Only properties of type `String` or `StringCollection` can be searchable. Nonsearchable properties aren't added to the search index. Optional.|
27-
|labels|microsoft.graph.externalConnectors.label collection|Specifies one or more well-known tags added against a property. Labels help Microsoft Search understand the semantics of the data in the connection. Adding appropriate labels would result in an enhanced search experience (for example, better relevance). Optional.<br><br>The possible values are: `title`, `url`, `createdBy`, `lastModifiedBy`, `authors`, `createdDateTime`, `lastModifiedDateTime`, `fileName`, `fileExtension`, `unknownFutureValue`, `iconUrl`. Use the `Prefer: include-unknown-enum-members` request header to get the following members in this [evolvable enum](/graph/best-practices-concept#handling-future-members-in-evolvable-enumerations): `iconUrl`.|
28+
| labels | microsoft.graph.externalConnectors.label collection | Specifies one or more well-known tags added against a property. Labels help Microsoft Search understand the semantics of the data in the connection. Adding appropriate labels would result in an enhanced search experience (for example, better relevance). Optional.<br><br>The possible values are: `title`, `url`, `createdBy`, `lastModifiedBy`, `authors`, `createdDateTime`, `lastModifiedDateTime`, `fileName`, `fileExtension`, `unknownFutureValue`, `containerName`, `containerUrl`, `iconUrl`, `assignedTo`, `dueDate`, `closedDate`, `closedBy`, `reportedBy`, `sprintName`, `severity`, `state`, `priority`, `secondaryId`, `itemParentId`, `parentUrl`, `tags`, `itemType`, `itemPath`, `numReactions`. Use the `Prefer: include-unknown-enum-members` request header to get the following values in this [evolvable enum](/graph/best-practices-concept#handling-future-members-in-evolvable-enumerations): `containerName`, `containerUrl`, `iconUrl`, `assignedTo`, `dueDate`, `closedDate`, `closedBy`, `reportedBy`, `sprintName`, `severity`, `state`, `priority`, `secondaryId`, `itemParentId`, `parentUrl`, `tags`, `itemType`, `itemPath`, `numReactions`.|
2829
|name|String|The name of the property. Maximum 32 characters. Only alphanumeric characters allowed. For example, each string may not contain control characters, whitespace, or any of the following: `:`, `;`, `,`, `(`, `)`, `[`, `]`, `{`, `}`, `%`, `$`, `+`, `!`, `*`, `=`, `&`, `?`, `@`, `#`, `\`, `~`, `'`, `"`, `<`, `>`, `` ` ``, `^`. Required.|
29-
|type|microsoft.graph.externalConnectors.propertyType|The data type of the property. The possible values are: `string`, `int64`, `double`, `dateTime`, `boolean`, `stringCollection`, `int64Collection`, `doubleCollection`, `dateTimeCollection`, `unknownFutureValue`.|
30+
|type|microsoft.graph.externalConnectors.propertyType|The data type of the property. The possible values are: `string`, `int64`, `double`, `dateTime`, `boolean`, `stringCollection`, `int64Collection`, `doubleCollection`, `dateTimeCollection`, `principal`, `principalCollection`, `unknownFutureValue`.|
3031

3132
## Relationships
3233
None.
@@ -43,6 +44,7 @@ The following JSON representation shows the resource type.
4344
"aliases": [
4445
"String"
4546
],
47+
"description": "String",
4648
"isQueryable": "Boolean",
4749
"isRefinable": "Boolean",
4850
"isRetrievable": "Boolean",

api-reference/v1.0/toc/toc.mapping.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -671,6 +671,7 @@
671671
"microsoft.graph.externalConnectors.properties",
672672
"microsoft.graph.externalConnectors.property",
673673
"microsoft.graph.externalConnectors.propertyRule",
674+
"microsoft.graph.externalConnectors.principal",
674675
"publicError",
675676
"publicErrorDetail",
676677
"publicInnerError",

0 commit comments

Comments
 (0)