Skip to content

Commit 8a91d3f

Browse files
authored
Merge branch 'main' into tl-width-height-format-api
2 parents 189de65 + e5fde17 commit 8a91d3f

1,448 files changed

Lines changed: 26753 additions & 2321 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/copilot-instructions.md

Lines changed: 111 additions & 234 deletions
Large diffs are not rendered by default.

.github/policies/resourceManagement.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -127,6 +127,9 @@ configuration:
127127
When the updates in this PR are ready for external customers to use, please replace the **do not merge** label with **ready to merge**.
128128
129129
130+
If this PR includes schema-related changes, verify that the updates are visible in the metadata endpoint before merging: [https://graph.microsoft.com/beta/$metadata](https://graph.microsoft.com/beta/$metadata) for `beta` changes, or [https://graph.microsoft.com/v1.0/$metadata](https://graph.microsoft.com/v1.0/$metadata) for `v1.0` changes.
131+
132+
130133
Check the content review workflow [here](https://eng.ms/cid/27dee76c-3a60-4e65-8fdf-08ea849b3498/fid/3a993b6c9d547e46f59d8d7851f191c38bbbea6ead01253dc62fcdd8101a1ff9).
131134
- removeLabel:
132135
label: content review in progress

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

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,8 @@ Create a dedicated topic for the enumeration. This option is rarely applicable.
126126

127127
1. **Create enum topic:**
128128
- Title: "{enum-type} enum type"
129-
- Single sentence describing the enum's purpose
129+
- doc_type: "enumPageType"
130+
- Single sentence describing the enum's purpose, linking to consuming resource(s)
130131
- **For flagged enums:** Append "This flagged enumeration allows multiple members to be selected simultaneously." to the introductory text.
131132
- **For evolvable enums:** Mention it's an evolvable enumeration
132133

AGENTS.md

Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
# Agent Quick Guide
2+
3+
Top-level entrypoint for agents working in this repository.
4+
5+
## Authority
6+
7+
If this file and `.github/copilot-instructions.md` ever differ, follow:
8+
9+
1. `.github/copilot-instructions.md`
10+
2. The prompt and template files it routes you to
11+
12+
This file is intentionally thin to avoid split-brain guidance.
13+
14+
## Read first
15+
16+
Before doing docs work in this repo:
17+
18+
1. Read `.github/copilot-instructions.md`
19+
2. Determine whether the task is **authoring/updating** or **review**
20+
3. Load the prompt file that `.github/copilot-instructions.md` tells you to read first
21+
22+
## Repo map
23+
24+
- `api-reference/*/api/` — API operation topics
25+
- `api-reference/*/resources/` — resource and enum topics
26+
- `changelog/` — API change records
27+
- `concepts/whats-new-overview.md` — monthly release highlights
28+
- `concepts/` — conceptual topics such as tutorials, conceptual overviews, guides
29+
- `api-reference/*/toc/toc.mapping.json` — API reference TOC mapping
30+
- `api-reference/*/includes/rbac-for-apis/` — RBAC include files
31+
- `temp-docstubs/` — temporary authoring inputs
32+
33+
## Workflow
34+
35+
1. Start with `.github/copilot-instructions.md`
36+
2. Load the correct scenario guidance
37+
3. Make scoped changes only
38+
4. Run the validation expected by the loaded workflow
39+
40+
## Rule of thumb
41+
42+
Do not duplicate detailed rules in this file. Keep detailed authoring, review, changelog, What's New, TOC, enum, and RBAC guidance in the files referenced by `.github/copilot-instructions.md`.

api-reference/beta/api/agentuser-delete-sponsors.md

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -71,10 +71,30 @@ The following example shows a request.
7171
DELETE https://graph.microsoft.com/beta/users/{usersId}/sponsors/{id}/$ref
7272
```
7373

74+
# [C#](#tab/csharp)
75+
[!INCLUDE [sample-code](../includes/snippets/csharp/delete-sponsors-from-agentuser-csharp-snippets.md)]
76+
[!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
77+
78+
# [Go](#tab/go)
79+
[!INCLUDE [sample-code](../includes/snippets/go/delete-sponsors-from-agentuser-go-snippets.md)]
80+
[!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
81+
82+
# [Java](#tab/java)
83+
[!INCLUDE [sample-code](../includes/snippets/java/delete-sponsors-from-agentuser-java-snippets.md)]
84+
[!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
85+
7486
# [JavaScript](#tab/javascript)
7587
[!INCLUDE [sample-code](../includes/snippets/javascript/delete-sponsors-from-agentuser-javascript-snippets.md)]
7688
[!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
7789

90+
# [PHP](#tab/php)
91+
[!INCLUDE [sample-code](../includes/snippets/php/delete-sponsors-from-agentuser-php-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/delete-sponsors-from-agentuser-python-snippets.md)]
96+
[!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
97+
7898
---
7999

80100
### Response

api-reference/beta/api/agentuser-post-sponsors.md

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -77,10 +77,30 @@ Content-Type: application/json
7777
}
7878
```
7979

80+
# [C#](#tab/csharp)
81+
[!INCLUDE [sample-code](../includes/snippets/csharp/create-sponsor-agentuser-csharp-snippets.md)]
82+
[!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
83+
84+
# [Go](#tab/go)
85+
[!INCLUDE [sample-code](../includes/snippets/go/create-sponsor-agentuser-go-snippets.md)]
86+
[!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
87+
88+
# [Java](#tab/java)
89+
[!INCLUDE [sample-code](../includes/snippets/java/create-sponsor-agentuser-java-snippets.md)]
90+
[!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
91+
8092
# [JavaScript](#tab/javascript)
8193
[!INCLUDE [sample-code](../includes/snippets/javascript/create-sponsor-agentuser-javascript-snippets.md)]
8294
[!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
8395

96+
# [PHP](#tab/php)
97+
[!INCLUDE [sample-code](../includes/snippets/php/create-sponsor-agentuser-php-snippets.md)]
98+
[!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
99+
100+
# [Python](#tab/python)
101+
[!INCLUDE [sample-code](../includes/snippets/python/create-sponsor-agentuser-python-snippets.md)]
102+
[!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
103+
84104
---
85105

86106
### Response
Lines changed: 88 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,88 @@
1+
---
2+
title: "Get approvedClientApp"
3+
description: "Read the properties and relationships of a approvedClientApp object for the remoteDesktopSecurityConfiguration object on the servicePrincipal."
4+
author: "mjsantani"
5+
ms.localizationpriority: medium
6+
ms.subservice: "entra-applications"
7+
doc_type: apiPageType
8+
ms.date: 01/02/2026
9+
---
10+
11+
# Get approvedClientApp
12+
Namespace: microsoft.graph
13+
14+
[!INCLUDE [beta-disclaimer](../../includes/beta-disclaimer.md)]
15+
16+
Read the properties and relationships of a [approvedClientApp](../resources/approvedclientapp.md) object for the [remoteDesktopSecurityConfiguration](../resources/remotedesktopsecurityconfiguration.md) object on a servicePrincipal.
17+
18+
[!INCLUDE [national-cloud-support](../../includes/all-clouds.md)]
19+
20+
## Permissions
21+
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).
22+
23+
<!-- { "blockType": "permissions", "name": "approvedclientapp_get" } -->
24+
[!INCLUDE [permissions-table](../includes/permissions/approvedclientapp-get-permissions.md)]
25+
26+
[!INCLUDE [rbac-remote-desktop-security-config-apis](../includes/rbac-for-apis/rbac-remote-desktop-security-config-apis.md)]
27+
28+
## HTTP request
29+
30+
You can address the service principal using either its **id** or **appId**. **id** and **appId** are referred to as the **Object ID** and **Application (Client) ID**, respectively, in app registrations in the Microsoft Entra admin center.
31+
32+
<!-- {
33+
"blockType": "ignored"
34+
}
35+
-->
36+
``` http
37+
GET /servicePrincipals/{id}/remoteDesktopSecurityConfiguration/approvedClientApps/{approvedClientAppId}
38+
GET /servicePrincipals(appId='{appId}')/remoteDesktopSecurityConfiguration/approvedClientApps/{approvedClientAppId}
39+
```
40+
41+
## Optional query parameters
42+
43+
This method supports the `$select` OData query parameter to help customize the response. For general information, see [OData query parameters](/graph/query-parameters).
44+
45+
## Request headers
46+
|Name|Description|
47+
|:---|:---|
48+
|Authorization|Bearer {token}. Required. Learn more about [authentication and authorization](/graph/auth/auth-concepts).|
49+
50+
## Request body
51+
Don't supply a request body for this method.
52+
53+
## Response
54+
55+
If successful, this method returns a `200 OK` response code and a [approvedClientApp](../resources/approvedclientapp.md) object in the response body.
56+
57+
## Examples
58+
59+
### Request
60+
The following example shows a request.
61+
<!-- {
62+
"blockType": "request",
63+
"name": "get_approvedclientapp"
64+
}
65+
-->
66+
``` http
67+
GET https://graph.microsoft.com/beta/servicePrincipals/00af5dfb-85da-4b41-a677-0c6b86dd34f8/remoteDesktopSecurityConfiguration/approvedClientApps/cd57c330-a543-4249-9486-c1c257341de6
68+
```
69+
70+
### Response
71+
The following example shows the response.
72+
>**Note:** The response object shown here might be shortened for readability.
73+
<!-- {
74+
"blockType": "response",
75+
"truncated": true,
76+
"@odata.type": "microsoft.graph.approvedClientApp"
77+
}
78+
-->
79+
``` http
80+
HTTP/1.1 200 OK
81+
Content-Type: application/json
82+
83+
{
84+
"@odata.type": "#microsoft.graph.approvedClientApp",
85+
"id": "cd57c330-a543-4249-9486-c1c257341de6",
86+
"displayName": "Client App 1"
87+
}
88+
```
Lines changed: 104 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,104 @@
1+
---
2+
title: "Update approvedClientApp"
3+
description: "Update the properties of an approvedClientApp object for the remoteDesktopSecurityConfiguration object."
4+
author: "mjsantani"
5+
ms.date: 11/11/2025
6+
ms.localizationpriority: medium
7+
ms.subservice: "entra-applications"
8+
doc_type: apiPageType
9+
---
10+
11+
# Update approvedClientApp
12+
13+
Namespace: microsoft.graph
14+
15+
[!INCLUDE [beta-disclaimer](../../includes/beta-disclaimer.md)]
16+
17+
Update the properties of an [approvedClientApp](../resources/approvedclientapp.md) object for a [remotedesktopsecurityconfiguration](../resources/remotedesktopsecurityconfiguration.md).
18+
19+
## Permissions
20+
21+
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).
22+
23+
<!-- { "blockType": "permissions", "name": "approvedclientapp_update" } -->
24+
[!INCLUDE [permissions-table](../includes/permissions/approvedclientapp-update-permissions.md)]
25+
26+
[!INCLUDE [rbac-remote-desktop-security-config-apis](../includes/rbac-for-apis/rbac-remote-desktop-security-config-apis.md)]
27+
28+
## HTTP request
29+
30+
You can address the service principal using either its **id** or **appId**. **id** and **appId** are referred to as the **Object ID** and **Application (Client) ID**, respectively, in app registrations in the Microsoft Entra admin center.
31+
32+
<!-- {
33+
"blockType": "ignored"
34+
}
35+
-->
36+
``` http
37+
PATCH /servicePrincipals/{id}/remoteDesktopSecurityConfiguration/approvedClientApps/{approvedClientAppId}
38+
PATCH /servicePrincipals(appId='{appId}')/remoteDesktopSecurityConfiguration/approvedClientApps/{approvedClientAppId}
39+
```
40+
41+
## Request headers
42+
43+
|Name|Description|
44+
|:---|:---|
45+
|Authorization|Bearer {token}. Required. Learn more about [authentication and authorization](/graph/auth/auth-concepts).|
46+
|Content-Type|application/json. Required.|
47+
48+
## Request body
49+
50+
[!INCLUDE [table-intro](../../includes/update-property-table-intro.md)]
51+
52+
53+
|Property|Type|Description|
54+
|:---|:---|:---|
55+
|displayName|String|Display name of the Client Application. Optional.|
56+
57+
58+
59+
## Response
60+
61+
If successful, this method returns a `200 OK` response code and an updated [approvedClientApp](../resources/approvedclientapp.md) object in the response body.
62+
63+
## Examples
64+
65+
### Request
66+
67+
The following example shows a request.
68+
<!-- {
69+
"blockType": "request",
70+
"name": "update_approvedclientapp"
71+
}
72+
-->
73+
``` http
74+
PATCH https://graph.microsoft.com/v1.0/servicePrincipals/00af5dfb-85da-4b41-a677-0c6b86dd34f8/remoteDesktopSecurityConfiguration/approvedClientApps/95bd8f3d-e166-c072-4e28-af935a6d237f
75+
Content-Type: application/json
76+
77+
{
78+
"@odata.type": "#microsoft.graph.approvedClientApp",
79+
"displayName": "Client App 1"
80+
}
81+
```
82+
83+
84+
### Response
85+
86+
The following example shows the response.
87+
>**Note:** The response object shown here might be shortened for readability.
88+
<!-- {
89+
"blockType": "response",
90+
"truncated": true,
91+
"@odata.type": "microsoft.graph.approvedClientApp"
92+
}
93+
-->
94+
``` http
95+
HTTP/1.1 200 OK
96+
Content-Type: application/json
97+
98+
{
99+
"@odata.type": "#microsoft.graph.approvedClientApp",
100+
"id": "95bd8f3d-e166-c072-4e28-af935a6d237f",
101+
"displayName": "Client App 1"
102+
}
103+
```
104+

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

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

1717
Get a list of the [externalAuthenticationMethod](../resources/externalauthenticationmethod.md) objects and their properties.
1818

19-
[!INCLUDE [national-cloud-support](../../includes/global-only.md)]
19+
[!INCLUDE [national-cloud-support](../../includes/all-clouds.md)]
2020

2121
## Permissions
2222

api-reference/beta/api/authentication-post-externalauthenticationmethods.md

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

1717
Create a new [externalAuthenticationMethod](../resources/externalauthenticationmethod.md) object. This API doesn't support self-service operations.
1818

19-
[!INCLUDE [national-cloud-support](../../includes/global-only.md)]
19+
[!INCLUDE [national-cloud-support](../../includes/all-clouds.md)]
2020

2121
## Permissions
2222

0 commit comments

Comments
 (0)