Skip to content

Commit e5351e5

Browse files
Merge pull request #28714 from microsoftgraph/main
Auto Publish – main to live - 2026-04-22 00:30 UTC
2 parents b0e26c7 + 816738a commit e5351e5

184 files changed

Lines changed: 3789 additions & 789 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.

.github/prompts/author-api-docs/common.md

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -219,6 +219,21 @@ After updating the changelog, update the What's new section in `concepts/whats-n
219219
- For **v1.0** documentation: Do NOT append any query string parameters
220220
- Example format: `Added the [resourceName](/graph/api/resources/resourcename) resource to manage XYZ.`
221221

222+
**Authoring principles for What's New entries:**
223+
224+
- **Lead with the doc action verb.** Start with "Added", "Updated", or "Changed" to signal what was documented. For new resources, use `Added the [resource](/path) resource type and related methods for...`. For new properties or relationships on an existing resource, use `Added the **propertyName** relationship to the [resource](/path) resource.` For new enum members, use `Added the \`memberName\` member to the [enumName](/path) enumeration...` and describe the capability it enables.
225+
- **Describe the capability, not the objects.** Say what users can now *do*. Do not enumerate properties, methods, complex types, or enumerations — those are discoverable from the linked pages.
226+
- **Do not say "new"** — the section context implies it. Do not qualify with the API version — the section structure (v1.0 vs. beta) already communicates this.
227+
- **Link only to the root entry point** — the entity type, function, or property that triggers the capability. If the change introduces an entity type, everything else (properties, methods, complex types) depends on it and doesn't need separate mention. If the change is a function or property addition, link to that and its parent resource.
228+
- **Keep entries to 1–4 sentences.**
229+
230+
| Scenario | ❌ Avoid | ✅ Correct |
231+
|----------|----------|-----------|
232+
| New entity type with operations | List the resource, each method, and every complex type separately. | `Added the [driveItem](/graph/api/resources/driveitem) resource type and related methods for managing drive items. Use it to list, get, create, update, and delete files and folders.` |
233+
| New function + property addition | List the function, the property, and all supporting complex types. | `Added support for programmatic FIDO2 passkey registration. Use the [creationOptions](/graph/api/fido2authenticationmethod-creationoptions) function to get WebAuthn credential creation options, then complete registration by posting the **publicKeyCredential** property to the [fido2AuthenticationMethod](/graph/api/resources/fido2authenticationmethod) resource.` |
234+
| New property or relationship on existing resource | Name all new properties individually. | `Added the **inheritedAppRoleAssignments** and **inheritedOauth2PermissionGrants** relationships to the [agentIdentity](/graph/api/resources/agentidentity) resource. Use these to retrieve the permissions an agent identity inherits from its parent blueprint service principal.` |
235+
| New enum member | List only the enum type without explaining the capability, where possible. | `Added \`targetAgentIdentitySponsorOrOwner\` to the filter options for [access package assignments](/graph/api/accesspackageassignment-filterbycurrentuser), enabling sponsors and owners of agent identities to view access package activity for the agent identities they manage.` |
236+
222237
### Updating the Table of Contents (TOC)
223238

224239
After updating What's new, update the appropriate TOC mapping file to make new documentation discoverable:

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

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,7 @@ If successful, this method returns a `200 OK` response code and a [approvedClien
5858

5959
### Request
6060
The following example shows a request.
61+
# [HTTP](#tab/http)
6162
<!-- {
6263
"blockType": "request",
6364
"name": "get_approvedclientapp"
@@ -67,6 +68,36 @@ The following example shows a request.
6768
GET https://graph.microsoft.com/beta/servicePrincipals/00af5dfb-85da-4b41-a677-0c6b86dd34f8/remoteDesktopSecurityConfiguration/approvedClientApps/cd57c330-a543-4249-9486-c1c257341de6
6869
```
6970

71+
# [C#](#tab/csharp)
72+
[!INCLUDE [sample-code](../includes/snippets/csharp/get-approvedclientapp-csharp-snippets.md)]
73+
[!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
74+
75+
# [Go](#tab/go)
76+
[!INCLUDE [sample-code](../includes/snippets/go/get-approvedclientapp-go-snippets.md)]
77+
[!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
78+
79+
# [Java](#tab/java)
80+
[!INCLUDE [sample-code](../includes/snippets/java/get-approvedclientapp-java-snippets.md)]
81+
[!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
82+
83+
# [JavaScript](#tab/javascript)
84+
[!INCLUDE [sample-code](../includes/snippets/javascript/get-approvedclientapp-javascript-snippets.md)]
85+
[!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
86+
87+
# [PHP](#tab/php)
88+
[!INCLUDE [sample-code](../includes/snippets/php/get-approvedclientapp-php-snippets.md)]
89+
[!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
90+
91+
# [PowerShell](#tab/powershell)
92+
[!INCLUDE [sample-code](../includes/snippets/powershell/get-approvedclientapp-powershell-snippets.md)]
93+
[!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
94+
95+
# [Python](#tab/python)
96+
[!INCLUDE [sample-code](../includes/snippets/python/get-approvedclientapp-python-snippets.md)]
97+
[!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
98+
99+
---
100+
70101
### Response
71102
The following example shows the response.
72103
>**Note:** The response object shown here might be shortened for readability.

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

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,7 @@ If successful, this method returns a `200 OK` response code and an [azureADPremi
6868
### Request
6969

7070
The following example shows a request.
71+
# [HTTP](#tab/http)
7172
<!-- {
7273
"blockType": "request",
7374
"name": "get_azureadpremiumlicenseinsight"
@@ -77,6 +78,32 @@ The following example shows a request.
7778
GET https://graph.microsoft.com/beta/reports/azureADPremiumLicenseInsight
7879
```
7980

81+
# [C#](#tab/csharp)
82+
[!INCLUDE [sample-code](../includes/snippets/csharp/get-azureadpremiumlicenseinsight-csharp-snippets.md)]
83+
[!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
84+
85+
# [Go](#tab/go)
86+
[!INCLUDE [sample-code](../includes/snippets/go/get-azureadpremiumlicenseinsight-go-snippets.md)]
87+
[!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
88+
89+
# [Java](#tab/java)
90+
[!INCLUDE [sample-code](../includes/snippets/java/get-azureadpremiumlicenseinsight-java-snippets.md)]
91+
[!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
92+
93+
# [JavaScript](#tab/javascript)
94+
[!INCLUDE [sample-code](../includes/snippets/javascript/get-azureadpremiumlicenseinsight-javascript-snippets.md)]
95+
[!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
96+
97+
# [PHP](#tab/php)
98+
[!INCLUDE [sample-code](../includes/snippets/php/get-azureadpremiumlicenseinsight-php-snippets.md)]
99+
[!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
100+
101+
# [Python](#tab/python)
102+
[!INCLUDE [sample-code](../includes/snippets/python/get-azureadpremiumlicenseinsight-python-snippets.md)]
103+
[!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
104+
105+
---
106+
80107

81108
### Response
82109

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

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,12 +47,43 @@ This method doesn't support [OData query parameters](/graph/query-parameters) to
4747
### Request
4848

4949

50+
# [HTTP](#tab/http)
5051
<!-- { "blockType": "request", "name": "list-activities" } -->
5152

5253
```msgraph-interactive
5354
GET https://graph.microsoft.com/beta/me/drive/activities
5455
```
5556

57+
# [C#](#tab/csharp)
58+
[!INCLUDE [sample-code](../includes/snippets/csharp/list-activities-csharp-snippets.md)]
59+
[!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
60+
61+
# [Go](#tab/go)
62+
[!INCLUDE [sample-code](../includes/snippets/go/list-activities-go-snippets.md)]
63+
[!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
64+
65+
# [Java](#tab/java)
66+
[!INCLUDE [sample-code](../includes/snippets/java/list-activities-java-snippets.md)]
67+
[!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
68+
69+
# [JavaScript](#tab/javascript)
70+
[!INCLUDE [sample-code](../includes/snippets/javascript/list-activities-javascript-snippets.md)]
71+
[!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
72+
73+
# [PHP](#tab/php)
74+
[!INCLUDE [sample-code](../includes/snippets/php/list-activities-php-snippets.md)]
75+
[!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
76+
77+
# [PowerShell](#tab/powershell)
78+
[!INCLUDE [sample-code](../includes/snippets/powershell/list-activities-powershell-snippets.md)]
79+
[!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
80+
81+
# [Python](#tab/python)
82+
[!INCLUDE [sample-code](../includes/snippets/python/list-activities-python-snippets.md)]
83+
[!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
84+
85+
---
86+
5687
### Response
5788

5889
<!-- { "blockType": "response", "@type": "Collection(microsoft.graph.itemActivity)", "truncated": true } -->

api-reference/beta/api/remotedesktopsecurityconfiguration-delete-approvedclientapps.md

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,7 @@ If successful, this method returns a `204 No Content` response code.
5454

5555
### Request
5656
The following example shows a request.
57+
# [HTTP](#tab/http)
5758
<!-- {
5859
"blockType": "request",
5960
"name": "delete_approvedclientapp"
@@ -63,6 +64,36 @@ The following example shows a request.
6364
DELETE https://graph.microsoft.com/beta/servicePrincipals/00af5dfb-85da-4b41-a677-0c6b86dd34f8/remoteDesktopSecurityConfiguration/approvedClientApps/cd57c330-a543-4249-9486-c1c257341de6
6465
```
6566

67+
# [C#](#tab/csharp)
68+
[!INCLUDE [sample-code](../includes/snippets/csharp/delete-approvedclientapp-csharp-snippets.md)]
69+
[!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
70+
71+
# [Go](#tab/go)
72+
[!INCLUDE [sample-code](../includes/snippets/go/delete-approvedclientapp-go-snippets.md)]
73+
[!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
74+
75+
# [Java](#tab/java)
76+
[!INCLUDE [sample-code](../includes/snippets/java/delete-approvedclientapp-java-snippets.md)]
77+
[!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
78+
79+
# [JavaScript](#tab/javascript)
80+
[!INCLUDE [sample-code](../includes/snippets/javascript/delete-approvedclientapp-javascript-snippets.md)]
81+
[!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
82+
83+
# [PHP](#tab/php)
84+
[!INCLUDE [sample-code](../includes/snippets/php/delete-approvedclientapp-php-snippets.md)]
85+
[!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
86+
87+
# [PowerShell](#tab/powershell)
88+
[!INCLUDE [sample-code](../includes/snippets/powershell/delete-approvedclientapp-powershell-snippets.md)]
89+
[!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
90+
91+
# [Python](#tab/python)
92+
[!INCLUDE [sample-code](../includes/snippets/python/delete-approvedclientapp-python-snippets.md)]
93+
[!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
94+
95+
---
96+
6697
### Response
6798
The following example shows the response.
6899
<!-- {

api-reference/beta/api/remotedesktopsecurityconfiguration-delete-targetdevicegroups.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,7 @@ If successful, this method returns a `204 No Content` response code.
5555
### Request
5656
The following example shows a request.
5757

58+
# [HTTP](#tab/http)
5859
<!-- {
5960
"blockType": "request",
6061
"name": "delete_targetdevicegroup"
@@ -64,6 +65,12 @@ The following example shows a request.
6465
DELETE https://graph.microsoft.com/beta/servicePrincipals/00af5dfb-85da-4b41-a677-0c6b86dd34f8/remoteDesktopSecurityConfiguration/targetDeviceGroups/1a9db3ab-0acf-4808-99ae-e8ed581cb2e0/$ref
6566
```
6667

68+
# [JavaScript](#tab/javascript)
69+
[!INCLUDE [sample-code](../includes/snippets/javascript/delete-targetdevicegroup-javascript-snippets.md)]
70+
[!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
71+
72+
---
73+
6774
### Response
6875
The following example shows the response.
6976
<!-- {

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

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,7 @@ If successful, this method returns a `200 OK` response code and a [remoteDesktop
5757

5858
### Request
5959
The following example shows a request.
60+
# [HTTP](#tab/http)
6061
<!-- {
6162
"blockType": "request",
6263
"name": "get_remotedesktopsecurityconfiguration"
@@ -66,6 +67,36 @@ The following example shows a request.
6667
GET https://graph.microsoft.com/beta/servicePrincipals/00af5dfb-85da-4b41-a677-0c6b86dd34f8/remoteDesktopSecurityConfiguration
6768
```
6869

70+
# [C#](#tab/csharp)
71+
[!INCLUDE [sample-code](../includes/snippets/csharp/get-remotedesktopsecurityconfiguration-csharp-snippets.md)]
72+
[!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
73+
74+
# [Go](#tab/go)
75+
[!INCLUDE [sample-code](../includes/snippets/go/get-remotedesktopsecurityconfiguration-go-snippets.md)]
76+
[!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
77+
78+
# [Java](#tab/java)
79+
[!INCLUDE [sample-code](../includes/snippets/java/get-remotedesktopsecurityconfiguration-java-snippets.md)]
80+
[!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
81+
82+
# [JavaScript](#tab/javascript)
83+
[!INCLUDE [sample-code](../includes/snippets/javascript/get-remotedesktopsecurityconfiguration-javascript-snippets.md)]
84+
[!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
85+
86+
# [PHP](#tab/php)
87+
[!INCLUDE [sample-code](../includes/snippets/php/get-remotedesktopsecurityconfiguration-php-snippets.md)]
88+
[!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
89+
90+
# [PowerShell](#tab/powershell)
91+
[!INCLUDE [sample-code](../includes/snippets/powershell/get-remotedesktopsecurityconfiguration-powershell-snippets.md)]
92+
[!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
93+
94+
# [Python](#tab/python)
95+
[!INCLUDE [sample-code](../includes/snippets/python/get-remotedesktopsecurityconfiguration-python-snippets.md)]
96+
[!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
97+
98+
---
99+
69100
### Response
70101
The following example shows the response.
71102
>**Note:** The response object shown here might be shortened for readability.

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

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,7 @@ If successful, this method returns a `200 OK` response code and a collection of
5858

5959
### Request
6060
The following example shows a request.
61+
# [HTTP](#tab/http)
6162
<!-- {
6263
"blockType": "request",
6364
"name": "list_approvedclientapp"
@@ -67,6 +68,36 @@ The following example shows a request.
6768
GET https://graph.microsoft.com/beta/servicePrincipals/00af5dfb-85da-4b41-a677-0c6b86dd34f8/remoteDesktopSecurityConfiguration/approvedClientApps
6869
```
6970

71+
# [C#](#tab/csharp)
72+
[!INCLUDE [sample-code](../includes/snippets/csharp/list-approvedclientapp-csharp-snippets.md)]
73+
[!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
74+
75+
# [Go](#tab/go)
76+
[!INCLUDE [sample-code](../includes/snippets/go/list-approvedclientapp-go-snippets.md)]
77+
[!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
78+
79+
# [Java](#tab/java)
80+
[!INCLUDE [sample-code](../includes/snippets/java/list-approvedclientapp-java-snippets.md)]
81+
[!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
82+
83+
# [JavaScript](#tab/javascript)
84+
[!INCLUDE [sample-code](../includes/snippets/javascript/list-approvedclientapp-javascript-snippets.md)]
85+
[!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
86+
87+
# [PHP](#tab/php)
88+
[!INCLUDE [sample-code](../includes/snippets/php/list-approvedclientapp-php-snippets.md)]
89+
[!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
90+
91+
# [PowerShell](#tab/powershell)
92+
[!INCLUDE [sample-code](../includes/snippets/powershell/list-approvedclientapp-powershell-snippets.md)]
93+
[!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
94+
95+
# [Python](#tab/python)
96+
[!INCLUDE [sample-code](../includes/snippets/python/list-approvedclientapp-python-snippets.md)]
97+
[!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
98+
99+
---
100+
70101
### Response
71102
The following example shows the response.
72103
>**Note:** The response object shown here might be shortened for readability.

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,7 @@ The following example shows a request.
6666
``` http
6767
GET https://graph.microsoft.com/beta/servicePrincipals/00af5dfb-85da-4b41-a677-0c6b86dd34f8/remoteDesktopSecurityConfiguration/targetDeviceGroups
6868
```
69+
6970
# [C#](#tab/csharp)
7071
[!INCLUDE [sample-code](../includes/snippets/csharp/list-targetdevicegroup-csharp-snippets.md)]
7172
[!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]

api-reference/beta/api/remotedesktopsecurityconfiguration-post-approvedclientapps.md

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,7 @@ If successful, this method returns a `201 Created` response code and a [approved
6262

6363
### Request
6464
The following example shows a request.
65+
# [HTTP](#tab/http)
6566
<!-- {
6667
"blockType": "request",
6768
"name": "create_approvedclientapp_from_"
@@ -77,6 +78,36 @@ Content-Type: application/json
7778
}
7879
```
7980

81+
# [C#](#tab/csharp)
82+
[!INCLUDE [sample-code](../includes/snippets/csharp/create-approvedclientapp-from--csharp-snippets.md)]
83+
[!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
84+
85+
# [Go](#tab/go)
86+
[!INCLUDE [sample-code](../includes/snippets/go/create-approvedclientapp-from--go-snippets.md)]
87+
[!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
88+
89+
# [Java](#tab/java)
90+
[!INCLUDE [sample-code](../includes/snippets/java/create-approvedclientapp-from--java-snippets.md)]
91+
[!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
92+
93+
# [JavaScript](#tab/javascript)
94+
[!INCLUDE [sample-code](../includes/snippets/javascript/create-approvedclientapp-from--javascript-snippets.md)]
95+
[!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
96+
97+
# [PHP](#tab/php)
98+
[!INCLUDE [sample-code](../includes/snippets/php/create-approvedclientapp-from--php-snippets.md)]
99+
[!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
100+
101+
# [PowerShell](#tab/powershell)
102+
[!INCLUDE [sample-code](../includes/snippets/powershell/create-approvedclientapp-from--powershell-snippets.md)]
103+
[!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
104+
105+
# [Python](#tab/python)
106+
[!INCLUDE [sample-code](../includes/snippets/python/create-approvedclientapp-from--python-snippets.md)]
107+
[!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
108+
109+
---
110+
80111
### Response
81112
The following example shows the response.
82113
>**Note:** The response object shown here might be shortened for readability.

0 commit comments

Comments
 (0)