Skip to content

Commit 9e72cfb

Browse files
authored
Merge branch 'main' into user/jsinghmokha/add-section-management-apis-beta
2 parents 02a5860 + d0051c0 commit 9e72cfb

1,590 files changed

Lines changed: 28391 additions & 2761 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 & 9 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
@@ -1041,15 +1044,6 @@ configuration:
10411044
then:
10421045
- removeLabel:
10431046
label: 'resolved: awaiting prod deployment'
1044-
- description: Add schema live label when pull request is labeled resolved awaiting prod deployment
1045-
if:
1046-
- payloadType: Pull_Request
1047-
- labelAdded:
1048-
label: 'resolved: awaiting prod deployment'
1049-
- isOpen
1050-
then:
1051-
- addLabel:
1052-
label: schema live
10531047
- description: Add do not merge label to new pull requests opened by contributors
10541048
if:
10551049
- payloadType: Pull_Request

.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/accesspackageassignmentrequest-filterbycurrentuser.md

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -42,13 +42,7 @@ The following table shows the parameters that can be used with this function.
4242

4343
|Parameter|Type|Description|
4444
|:---|:---|:---|
45-
|on|[accessPackageAssignmentRequestFilterByCurrentUserOptions](../resources/accesspackageassignmentrequest-accesspackageassignmentrequestfilterbycurrentuseroptions.md)|The list of current user options that can be used to filter on the access package assignment requests list. The possible values are `target`, `createdBy`, `approver`.|
46-
47-
- `target` is used to get the `accessPackageAssignmentRequest` objects where the signed-in user is the target. The resulting list includes all the assignment requests, current and expired, that were requested by the caller or for the caller, across all catalogs and access packages.
48-
49-
- `createdBy` is used to get the `accessPackageAssignmentRequest` objects created by the signed-in user. The resulting list includes all of the assignment requests that the caller has created for themselves or on behalf of others, such as in case of admin direct assignment, across all catalogs and access packages.
50-
51-
- `approver` is used to get the `accessPackageAssignmentRequest` objects where the signed-in user is an allowed approver in any contained `accessPackageAssignment/accessPackageAssignmentPolicy/requestApprovalSettings/approvalStages` (`primaryApprovers` or `escalationApprovers`). The resulting list includes the assignment requests in *pending* state, across all catalogs and access packages and that need a decision from the caller. The resulting list includes the assignment requests in a `pending` state, across all catalogs and access packages and that need a decision from the caller.
45+
|on|[accessPackageAssignmentRequestFilterByCurrentUserOptions](../resources/accesspackageassignmentrequestfilterbycurrentuseroptions.md)|The list of current user options that can be used to filter on the access package assignment requests list.|
5246

5347
## Request headers
5448
|Name|Description|

api-reference/beta/api/agentidentity-post.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ POST /servicePrincipals/microsoft.graph.agentIdentity
3838
| Content-Type | application/json. Required. |
3939

4040
## Request body
41-
In the request body, supply a JSON representation of a [agentIdentity](../resources/agentidentity.md) object. The request body must contain **displayName**, **agentIdentityBlueprintAppId**, and a valid **sponsor** reference.
41+
In the request body, supply a JSON representation of a [agentIdentity](../resources/agentidentity.md) object. The request body must contain **displayName**, **agentIdentityBlueprintId**, and a valid **sponsor** reference.
4242

4343
## Response
4444

@@ -82,9 +82,9 @@ Content-type: application/json
8282
"@odata.type": "#microsoft.graph.agentIdentity",
8383
"id": "59e617e5-e447-4adc-8b88-00af644d7c92",
8484
"createdByAppId": "f98c895e-6ce2-4f5b-a31b-da7e48f25daa",
85-
"displayName": "My Agent Identit",
85+
"displayName": "My Agent Identity",
8686
"servicePrincipalType": "ServiceIdentity",
8787
"tags": [],
8888
"agentIdentityBlueprintId": "65415bb1-9267-4313-bbf5-ae259732ee12"
8989
}
90-
```
90+
```

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

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -142,6 +142,7 @@ Content-type: application/json
142142
"social"
143143
],
144144
"publisher": "LinkedIn",
145+
"deprecationDate": "2027-12-31",
145146
"description": "LinkedIn Lookup is the easiest way to find coworkers and teams at your company. Lookup is a new people search tool that combines employees' LinkedIn profile information and Active Directory information, allowing you to quickly find and contact your coworkers, on desktop or mobile. Requires an existing Lookup company subscription.",
146147
"endpoints": [
147148
"linkedin.com",

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -147,6 +147,7 @@ Content-type: application/json
147147
"social"
148148
],
149149
"publisher": "LinkedIn",
150+
"deprecationDate": null,
150151
"description": "LinkedIn Lookup is the easiest way to find coworkers and teams at your company. Lookup is a new people search tool that combines employees' LinkedIn profile information and Active Directory information, allowing you to quickly find and contact your coworkers, on desktop or mobile. Requires an existing Lookup company subscription.",
151152
"endpoints": [
152153
"linkedin.com",

0 commit comments

Comments
 (0)