Skip to content

Commit 11b1195

Browse files
authored
Merge branch 'main' into yizcheng/nonazregion
2 parents 7d2da93 + f738ca2 commit 11b1195

1,429 files changed

Lines changed: 30917 additions & 2571 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.

.gdn/.gdnbaselines

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -39,18 +39,6 @@
3939
"tool": "psscriptanalyzer",
4040
"ruleId": "PSAvoidUsingConvertToSecureStringWithPlainText",
4141
"createdDate": "2026-02-24 12:06:54Z"
42-
},
43-
"3a37bf64f23749ac738b5da94bdc0511f105855aee640971733d155dad1f9915": {
44-
"signature": "3a37bf64f23749ac738b5da94bdc0511f105855aee640971733d155dad1f9915",
45-
"alternativeSignatures": [],
46-
"target": "scripts/update-permissions-reference-fic.ps1",
47-
"line": 179,
48-
"memberOf": [
49-
"default"
50-
],
51-
"tool": "psscriptanalyzer",
52-
"ruleId": "PSAvoidUsingConvertToSecureStringWithPlainText",
53-
"createdDate": "2026-03-24 12:06:54Z"
5442
}
5543
}
5644
}

.gdn/.gdnsuppress

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -39,18 +39,6 @@
3939
"tool": "psscriptanalyzer",
4040
"ruleId": "PSAvoidUsingConvertToSecureStringWithPlainText",
4141
"createdDate": "2026-02-24 12:06:54Z"
42-
},
43-
"3a37bf64f23749ac738b5da94bdc0511f105855aee640971733d155dad1f9915": {
44-
"signature": "3a37bf64f23749ac738b5da94bdc0511f105855aee640971733d155dad1f9915",
45-
"alternativeSignatures": [],
46-
"target": "scripts/update-permissions-reference-fic.ps1",
47-
"line": 179,
48-
"memberOf": [
49-
"default"
50-
],
51-
"tool": "psscriptanalyzer",
52-
"ruleId": "PSAvoidUsingConvertToSecureStringWithPlainText",
53-
"createdDate": "2026-03-24 12:06:54Z"
5442
}
5543
}
5644
}

.github/copilot-instructions.md

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

.github/policies/resourceManagement.yml

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1014,6 +1014,33 @@ configuration:
10141014
then:
10151015
- addLabel:
10161016
label: ready to merge
1017+
- description: Remove do not merge label when pull request is labeled ready to merge
1018+
if:
1019+
- payloadType: Pull_Request
1020+
- labelAdded:
1021+
label: ready to merge
1022+
- isOpen
1023+
then:
1024+
- removeLabel:
1025+
label: do not merge
1026+
- description: Remove ready to merge label when pull request is labeled do not merge
1027+
if:
1028+
- payloadType: Pull_Request
1029+
- labelAdded:
1030+
label: do not merge
1031+
- isOpen
1032+
then:
1033+
- removeLabel:
1034+
label: ready to merge
1035+
- description: Remove resolved awaiting prod deployment label when pull request is labeled schema live
1036+
if:
1037+
- payloadType: Pull_Request
1038+
- labelAdded:
1039+
label: schema live
1040+
- isOpen
1041+
then:
1042+
- removeLabel:
1043+
label: 'resolved: awaiting prod deployment'
10171044
- description: Add do not merge label to new pull requests opened by contributors
10181045
if:
10191046
- payloadType: Pull_Request

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

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ Document within the **Properties** section of the resource that uses the enum. T
8989
```
9090

9191
2. **Create table:**
92-
- Columns: **Member** and **Description**
92+
- Columns: **Member** (required) and **Description** (optional)
9393
- List members in ascending order by numeric value (without exposing numeric values)
9494
- **For evolvable enums:**
9595
- Include `unknownFutureValue` member
@@ -126,14 +126,15 @@ 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

133134
2. **Add Members H2 section:**
134135
- **For evolvable enums (if members follow unknownFutureValue):**
135136
- Add introductory text before the table (same as Option 2)
136-
- Table with columns: **Member** and **Description**
137+
- Table with columns: **Member** (required) and **Description** (optional)
137138
- List members in ascending order by numeric value (without exposing values)
138139
- **For evolvable enums:**
139140
- Include `unknownFutureValue` member
@@ -257,21 +258,23 @@ Create a dedicated topic for the enumeration. This option is rarely applicable.
257258
- [ ] For evolvable enums with members after unknownFutureValue: Prefer header note included in property description
258259
- [ ] **Option 2 (Parent resource):**
259260
- [ ] H3 section "{enum-type} values" added after Properties table
260-
- [ ] Table has Member and Description columns
261+
- [ ] Table has Member column (required) and Description column (optional)
261262
- [ ] Members listed in ascending order by numeric value (values not exposed)
262263
- [ ] For evolvable enums: unknownFutureValue description is "Evolvable enumeration sentinel value. Do not use."
263264
- [ ] For evolvable enums with members after unknownFutureValue: Introductory text about Prefer header included
264265
- [ ] Properties table links to H3 section
266+
- [ ] Parent resource property description excludes inline value listing (values are accessible via linked H3 section)
265267
- [ ] For subnamespaces: Fully qualified enum name used
266268
- [ ] **Option 3 (Separate topic):**
267269
- [ ] File created with correct naming convention
268270
- [ ] Title is "{enum-type} enum type"
269271
- [ ] Description mentions evolvable enumeration if applicable
270-
- [ ] Members H2 section with Member and Description columns
272+
- [ ] Members H2 section with Member column (required) and Description column (optional)
271273
- [ ] For evolvable enums: unknownFutureValue description is "Evolvable enumeration sentinel value. Don't use."
272274
- [ ] For evolvable enums with members after unknownFutureValue: Introductory text about Prefer header included
273275
- [ ] For subnamespaces: Namespace attribute added in page annotation
274276
- [ ] Parent resource Properties table links to enum topic
277+
- [ ] Parent resource property description excludes inline value listing (values are accessible via linked enum topic)
275278

276279
### For updating existing enumerations
277280

.github/workflows/permissions-reference-gen-fic.yml

Lines changed: 0 additions & 90 deletions
This file was deleted.

.github/workflows/permissions-reference-gen.yml

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ on:
88
permissions:
99
contents: write
1010
pull-requests: write
11+
id-token: write # Required for federated identity credentials
1112

1213
jobs:
1314
update-permissions-reference:
@@ -23,13 +24,19 @@ jobs:
2324
with:
2425
path: docs
2526

27+
- name: Azure Login using Federated Identity
28+
uses: azure/login@v2
29+
with:
30+
client-id: ${{ secrets.GRAPHPERMISSIONSREFERENCE_CLIENT_ID }}
31+
tenant-id: ${{ secrets.GRAPHPERMISSIONSREFERENCE_TENANT_ID }}
32+
allow-no-subscriptions: true
33+
2634
- name: Run PowerShell script to update permissions
2735
shell: pwsh
2836
run: |
2937
$ClientId = "${{ secrets.GRAPHPERMISSIONSREFERENCE_CLIENT_ID }}"
3038
$TenantId = "${{ secrets.GRAPHPERMISSIONSREFERENCE_TENANT_ID }}"
31-
$ClientSecret = "${{ secrets.GRAPHPERMISSIONSREFERENCE_CLIENT_SECRET }}"
32-
./docs/scripts/update-permissions-reference.ps1 -ClientId $ClientId -TenantId $TenantId -ClientSecret $ClientSecret
39+
./docs/scripts/update-permissions-reference.ps1 -ClientId $ClientId -TenantId $TenantId
3340
3441
- name: Get token
3542
id: get_token

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/accesspackagecatalog-list-accesspackageresources.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ GET /identityGovernance/entitlementManagement/accessPackageCatalogs/{id}/accessP
3737

3838
## Optional query parameters
3939

40-
This method supports OData query parameters to help customize the response. For example, to retrieve the access package resource scopes and environments for each resource, include `$expand=accessPackageResourceScopes,accessPackageResourceEnvironment` in the query. To retrieve the available roles of a resource, include `$expand=accessPackageResourceRoles`. To retrieve only resources for applications and not groups or sites, include `$filter=resourceType eq 'Application'` in the query. For general information, see [OData query parameters](/graph/query-parameters).
40+
This method supports OData query parameters to help customize the response. For example, to retrieve the access package resource scopes and environments for each resource, include `$expand=accessPackageResourceScopes,accessPackageResourceEnvironment,externalOriginResourceConnector` in the query. To retrieve the available roles of a resource, include `$expand=accessPackageResourceRoles`. To retrieve only resources for applications and not groups or sites, include `$filter=resourceType eq 'Application'` in the query. For general information, see [OData query parameters](/graph/query-parameters).
4141

4242
## Request headers
4343

0 commit comments

Comments
 (0)