Skip to content

Commit 30b3ed8

Browse files
Merge pull request #28739 from microsoftgraph/main
Auto Publish – main to live - 2026-04-25 00:30 UTC
2 parents 64341b5 + da714a2 commit 30b3ed8

49 files changed

Lines changed: 367 additions & 281 deletions

File tree

Some content is hidden

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

api-reference/beta/api/agentidentityblueprint-update.md

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,11 @@ Choose the permission or permissions marked as least privileged for this API. Us
2929

3030
[!INCLUDE [rbac-agentid-apis-write](../includes/rbac-for-apis/rbac-agentid-apis-write.md)]
3131

32+
### Permissions for specific scenarios
33+
- The least privileged permission to update credential-related properties such as **keyCredentials** and **passwordCredentials** is *AgentIdentityBlueprint.AddRemoveCreds.All*.
34+
- The least privileged permission to update branding properties such as **displayName** and **description** is *AgentIdentityBlueprint.UpdateBranding.All*.
35+
- To update properties covered by both permission scopes, use the higher-privileged *AgentIdentityBlueprint.ReadWrite.All* permission.
36+
3237
## HTTP request
3338

3439
<!-- {
@@ -52,7 +57,7 @@ In the request body, supply the values for relevant fields that should be update
5257

5358
| Property | Type | Description |
5459
|:---------|:-----|:------------|
55-
| displayName | String | The display name for the agent identity blueprint. |
60+
| displayName | String | The display name for the agent identity blueprint. The least privileged permission to update this property is *AgentIdentityBlueprint.UpdateBranding.All*. |
5661
| managerApplications | Guid collection | A collection of application IDs for applications designated as managers of this agent identity blueprint. Manager applications can create agent blueprint principals, agent identities, and agent users for their managed blueprints without requiring high-privileged permissions such as `AgentIdentityBlueprintPrincipal.ReadWrite.All`. Currently, only Microsoft first-party application IDs can be set as values. Maximum of 10 values. Not nullable. |
5762

5863
## Response

api-reference/beta/api/agentidentityblueprintprincipal-delete.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ Namespace: microsoft.graph
1414

1515
[!INCLUDE [beta-disclaimer](../../includes/beta-disclaimer.md)]
1616

17-
Delete a [agentIdentityBlueprintPrincipal](../resources/agentidentityblueprintprincipal.md) object. When deleted, agent identity blueprint prinicpals are moved to a temporary container and can be restored within 30 days. After that time, they are permanently deleted.
17+
Delete a [agentIdentityBlueprintPrincipal](../resources/agentidentityblueprintprincipal.md) object. When deleted, agent identity blueprint principals are moved to a temporary container and can be restored within 30 days. After that time, they are permanently deleted.
1818

1919
## Permissions
2020
Choose the permission or permissions marked as least privileged for this API. Use a higher privileged permission or permissions [only if your app requires it](/graph/permissions-overview#best-practices-for-using-microsoft-graph-permissions). For details about delegated and application permissions, see [Permission types](/graph/permissions-overview#permission-types). To learn more about these permissions, see the [permissions reference](/graph/permissions-reference).

api-reference/beta/api/list-get.md

Lines changed: 26 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -36,12 +36,14 @@ GET /sites/{site-id}/lists/{list-id}?expand=columns,items(expand=fields)
3636

3737
## Request body
3838

39-
Do not supply a request body with this method.
39+
Don't supply a request body with this method.
4040

41-
## Example
41+
## Examples
4242

43+
### Example 1: Get list metadata by ID
44+
The following example shows how to get the metadata for a SharePoint list.
4345
#### Request
44-
46+
The following examples shows a request.
4547

4648
# [HTTP](#tab/http)
4749
<!-- { "blockType": "request", "name": "get-list-1" } -->
@@ -81,7 +83,7 @@ GET /sites/{site-id}/lists/{list-id}
8183
---
8284

8385
#### Response
84-
86+
The following examples shows the response.
8587
<!-- { "blockType": "response", "@type": "microsoft.graph.list", "truncated": true, "scopes": "sites.read.all service.sharepoint" } -->
8688

8789
```http
@@ -93,17 +95,18 @@ Content-type: application/json
9395
"name": "MicroFeed",
9496
"createdDateTime": "2016-08-30T08:32:00Z",
9597
"lastModifiedDateTime": "2016-08-30T08:32:00Z",
98+
"itemCount": 127,
9699
"list": {
97100
"hidden": false,
98101
"template": "genericList"
99102
}
100103
}
101104
```
102105

103-
With `select` and `expand` statements, you can retrieve list metadata, column definitions, and list items in a single request.
104-
105-
#### Request
106+
### Example 2: Get list metadata by title
106107
The following example shows how to get a list from a SharePoint Online list title.
108+
#### Request
109+
The following example shows a request.
107110

108111
# [HTTP](#tab/http)
109112
<!-- { "blockType": "request", "name": "get-list-2" } -->
@@ -143,7 +146,7 @@ GET /sites/{site-id}/lists/{list-title}
143146
---
144147

145148
#### Response
146-
149+
The following example shows the response.
147150
<!-- { "blockType": "response", "@type": "microsoft.graph.list", "truncated": true, "scopes": "sites.read.all service.sharepoint" } -->
148151

149152
```http
@@ -155,23 +158,25 @@ Content-type: application/json
155158
"name": "MicroFeed",
156159
"createdDateTime": "2016-08-30T08:32:00Z",
157160
"lastModifiedDateTime": "2016-08-30T08:32:00Z",
161+
"itemCount": 45,
158162
"list": {
159163
"hidden": false,
160164
"template": "genericList"
161165
}
162166
}
163167
```
164168

165-
With `select` and `expand` statements, you can retrieve list metadata, column definitions, and list items in a single request.
169+
### Example 3: Get list metadata and items with $select and $expand
170+
The following example shows how to use the `$select` and `$expand` OData query parameters to retrieve list metadata, column definitions, and list items in a single request.
166171

167172
#### Request
168-
173+
The following example shows a request.
169174

170175
# [HTTP](#tab/http)
171176
<!-- { "blockType": "request", "name": "get-list-multi-expand" } -->
172177

173178
```msgraph-interactive
174-
GET /sites/{site-id}/lists/{list-id}?select=name,lastModifiedDateTime&expand=columns(select=name,description),items(expand=fields(select=Name,Color,Quantity))
179+
GET /sites/{site-id}/lists/{list-id}?select=name,lastModifiedDateTime,itemCount&expand=columns(select=name,description),items(expand=fields(select=Name,Color,Quantity))
175180
```
176181

177182
# [C#](#tab/csharp)
@@ -205,7 +210,7 @@ GET /sites/{site-id}/lists/{list-id}?select=name,lastModifiedDateTime&expand=col
205210
---
206211

207212
#### Response
208-
213+
The following example shows the response.
209214
<!-- { "blockType": "response", "@type": "microsoft.graph.list", "truncated": true, "scopes": "sites.read.all service.sharepoint" } -->
210215

211216
```http
@@ -254,21 +259,24 @@ Content-type: application/json
254259
"Quantity": 92
255260
}
256261
}
257-
]
262+
],
263+
"itemCount": 45
258264
}
259265
```
260-
#### Request
261266

262-
<!-- { "blockType": "request", "name": "get-list-multi-expand" } -->
267+
### Example 4: Get list metadata and items with multiple $expand parameters
268+
The following example shows how to get metadata and items for a list that contains three columns: *Name*, *Quantity*, and *Category*. [Managed metadata](/sharepoint/managed-metadata) columns like *Category* return values as term ID and term name pair.
269+
270+
#### Request
271+
The following example shows a request.
272+
<!-- { "blockType": "request", "name": "get-list-multi-expand_4" } -->
263273

264-
The following example shows how to get metadata for a list that contains three columns: Name, Quantity, and Category.
265-
[Managed Metadata](/sharepoint/managed-metadata) columns like ```Category``` return values as term ID and term name pair.
266274
```http
267275
GET /sites/{site-id}/lists/{list-id}?select=name,lastModifiedDateTime&expand=columns(select=name,description),items(expand=fields(select=Name,Quantity,Category))
268276
```
269277

270278
#### Response
271-
279+
The following example shows the response.
272280
<!-- { "blockType": "response", "@type": "microsoft.graph.list", "truncated": true, "scopes": "sites.read.all service.sharepoint" } -->
273281

274282
```http

api-reference/beta/api/list-list.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -108,6 +108,7 @@ Content-type: application/json
108108
"name": "Documents",
109109
"createdDateTime": "2016-08-30T08:32:00Z",
110110
"lastModifiedDateTime": "2016-08-30T08:32:00Z",
111+
"itemCount": 312,
111112
"list": {
112113
"hidden": false,
113114
"template": "documentLibrary"
@@ -118,6 +119,7 @@ Content-type: application/json
118119
"name": "MicroFeed",
119120
"createdDateTime": "2016-08-30T08:32:00Z",
120121
"lastModifiedDateTime": "2016-08-30T08:32:00Z",
122+
"itemCount": 45,
121123
"list": {
122124
"hidden": false,
123125
"template": "genericList"

api-reference/beta/api/note-delete.md

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -20,11 +20,7 @@ Delete a [note](../resources/note.md) object. Supports optimistic concurrency co
2020

2121
Choose the permission or permissions marked as least privileged for this API. Use a higher privileged permission or permissions [only if your app requires it](/graph/permissions-overview#best-practices-for-using-microsoft-graph-permissions). For details about delegated and application permissions, see [Permission types](/graph/permissions-overview#permission-types). To learn more about these permissions, see the [permissions reference](/graph/permissions-reference).
2222

23-
<!-- {
24-
"blockType": "permissions",
25-
"name": "note-delete-permissions"
26-
}
27-
-->
23+
<!-- { "blockType": "permissions", "name": "note_delete" } -->
2824
[!INCLUDE [permissions-table](../includes/permissions/note-delete-permissions.md)]
2925

3026
## HTTP request

api-reference/beta/api/note-delta.md

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -20,11 +20,7 @@ Get a set of [note](../resources/note.md) objects that were added, updated, or d
2020

2121
Choose the permission or permissions marked as least privileged for this API. Use a higher privileged permission or permissions [only if your app requires it](/graph/permissions-overview#best-practices-for-using-microsoft-graph-permissions). For details about delegated and application permissions, see [Permission types](/graph/permissions-overview#permission-types). To learn more about these permissions, see the [permissions reference](/graph/permissions-reference).
2222

23-
<!-- {
24-
"blockType": "permissions",
25-
"name": "note-delta-permissions"
26-
}
27-
-->
23+
<!-- { "blockType": "permissions", "name": "note_delta" } -->
2824
[!INCLUDE [permissions-table](../includes/permissions/note-delta-permissions.md)]
2925

3026
## HTTP request

api-reference/beta/api/note-get.md

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -20,11 +20,7 @@ Read the properties and relationships of a [note](../resources/note.md) object.
2020

2121
Choose the permission or permissions marked as least privileged for this API. Use a higher privileged permission or permissions [only if your app requires it](/graph/permissions-overview#best-practices-for-using-microsoft-graph-permissions). For details about delegated and application permissions, see [Permission types](/graph/permissions-overview#permission-types). To learn more about these permissions, see the [permissions reference](/graph/permissions-reference).
2222

23-
<!-- {
24-
"blockType": "permissions",
25-
"name": "note-get-permissions"
26-
}
27-
-->
23+
<!-- { "blockType": "permissions", "name": "note_get" } -->
2824
[!INCLUDE [permissions-table](../includes/permissions/note-get-permissions.md)]
2925

3026
## HTTP request

api-reference/beta/api/note-list-attachments.md

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -20,11 +20,7 @@ Get the list of file attachments associated with a [note](../resources/note.md).
2020

2121
Choose the permission or permissions marked as least privileged for this API. Use a higher privileged permission or permissions [only if your app requires it](/graph/permissions-overview#best-practices-for-using-microsoft-graph-permissions). For details about delegated and application permissions, see [Permission types](/graph/permissions-overview#permission-types). To learn more about these permissions, see the [permissions reference](/graph/permissions-reference).
2222

23-
<!-- {
24-
"blockType": "permissions",
25-
"name": "note-list-attachments-permissions"
26-
}
27-
-->
23+
<!-- { "blockType": "permissions", "name": "note_list_attachments" } -->
2824
[!INCLUDE [permissions-table](../includes/permissions/note-list-attachments-permissions.md)]
2925

3026
## HTTP request

api-reference/beta/api/note-post-attachments.md

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -20,11 +20,7 @@ Create a [fileAttachment](../resources/fileattachment.md) object, which adds an
2020

2121
Choose the permission or permissions marked as least privileged for this API. Use a higher privileged permission or permissions [only if your app requires it](/graph/permissions-overview#best-practices-for-using-microsoft-graph-permissions). For details about delegated and application permissions, see [Permission types](/graph/permissions-overview#permission-types). To learn more about these permissions, see the [permissions reference](/graph/permissions-reference).
2222

23-
<!-- {
24-
"blockType": "permissions",
25-
"name": "note-post-attachments-permissions"
26-
}
27-
-->
23+
<!-- { "blockType": "permissions", "name": "note_post_attachments" } -->
2824
[!INCLUDE [permissions-table](../includes/permissions/note-post-attachments-permissions.md)]
2925

3026
## HTTP request

api-reference/beta/api/note-update.md

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -20,11 +20,7 @@ Update the properties of a [note](../resources/note.md) object. Supports optimis
2020

2121
Choose the permission or permissions marked as least privileged for this API. Use a higher privileged permission or permissions [only if your app requires it](/graph/permissions-overview#best-practices-for-using-microsoft-graph-permissions). For details about delegated and application permissions, see [Permission types](/graph/permissions-overview#permission-types). To learn more about these permissions, see the [permissions reference](/graph/permissions-reference).
2222

23-
<!-- {
24-
"blockType": "permissions",
25-
"name": "note-update-permissions"
26-
}
27-
-->
23+
<!-- { "blockType": "permissions", "name": "note_update" } -->
2824
[!INCLUDE [permissions-table](../includes/permissions/note-update-permissions.md)]
2925

3026
## HTTP request

0 commit comments

Comments
 (0)