Skip to content

Commit 1552235

Browse files
authored
Merge branch 'main' into networkaccess-privateaccess-tutorial
2 parents 9c9a6ff + d592260 commit 1552235

File tree

24,442 files changed

+188099
-80507
lines changed

Some content is hidden

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

24,442 files changed

+188099
-80507
lines changed

.gdn/.gdnbaselines

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
{
2+
"hydrated": true,
3+
"properties": {
4+
"helpUri": "https://eng.ms/docs/microsoft-security/security/azure-security/cloudai-security-fundamentals-engineering/security-integration/guardian-wiki/microsoft-guardian/general/baselines",
5+
"hydrationStatus": "This file does not contain identifying data. It is safe to check into your repo. To hydrate this file with identifying data, run `guardian hydrate --help` and follow the guidance."
6+
},
7+
"version": "1.0.0",
8+
"baselines": {
9+
"default": {
10+
"name": "default",
11+
"createdDate": "2024-08-26 12:06:54Z",
12+
"lastUpdatedDate": "2024-08-26 12:06:54Z"
13+
}
14+
},
15+
"results": {
16+
"b3d46ea406a66acd0fa8b1130ec9be5b501ad4a933d98ce70193c68771b6e7be": {
17+
"signature": "b3d46ea406a66acd0fa8b1130ec9be5b501ad4a933d98ce70193c68771b6e7be",
18+
"alternativeSignatures": [
19+
"79e125fb7927450b0ebb02d6b3ddb03d7a6a971e21dfdc1c246ba8fd39f0969e"
20+
],
21+
"target": "update-permissions-reference.ps1",
22+
"line": 170,
23+
"memberOf": [
24+
"default"
25+
],
26+
"tool": "psscriptanalyzer",
27+
"ruleId": "PSAvoidUsingConvertToSecureStringWithPlainText",
28+
"createdDate": "2024-08-26 12:06:54Z"
29+
}
30+
}
31+
}

.gdn/.gdnsuppress

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
{
2+
"hydrated": true,
3+
"properties": {
4+
"helpUri": "https://eng.ms/docs/microsoft-security/security/azure-security/cloudai-security-fundamentals-engineering/security-integration/guardian-wiki/microsoft-guardian/general/suppressions",
5+
"hydrationStatus": "This file does not contain identifying data. It is safe to check into your repo. To hydrate this file with identifying data, run `guardian hydrate --help` and follow the guidance."
6+
},
7+
"version": "1.0.0",
8+
"suppressionSets": {
9+
"default": {
10+
"name": "default",
11+
"createdDate": "2024-08-26 12:06:54Z",
12+
"lastUpdatedDate": "2024-08-26 12:06:54Z"
13+
}
14+
},
15+
"results": {
16+
"b3d46ea406a66acd0fa8b1130ec9be5b501ad4a933d98ce70193c68771b6e7be": {
17+
"signature": "b3d46ea406a66acd0fa8b1130ec9be5b501ad4a933d98ce70193c68771b6e7be",
18+
"alternativeSignatures": [
19+
"79e125fb7927450b0ebb02d6b3ddb03d7a6a971e21dfdc1c246ba8fd39f0969e"
20+
],
21+
"target": "update-permissions-reference.ps1",
22+
"line": 170,
23+
"memberOf": [
24+
"default"
25+
],
26+
"tool": "psscriptanalyzer",
27+
"ruleId": "PSAvoidUsingConvertToSecureStringWithPlainText",
28+
"createdDate": "2024-08-26 12:06:54Z"
29+
}
30+
}
31+
}

.github/CODEOWNERS

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

.github/workflows/cloud-support.yml

Lines changed: 10 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ jobs:
3737
run: dotnet build --configuration Release
3838
- name: Install hidi
3939
run: dotnet tool install microsoft.openapi.hidi -g
40-
- name: Create metadata output director
40+
- name: Create metadata output directory
4141
run: |
4242
mkdir openapi
4343
cd openapi
@@ -55,21 +55,22 @@ jobs:
5555
./transforms/csdl/transform.ps1 -xslPath preprocess_csdl.xsl -inputPath ../../schemas/beta-Mooncake.csdl -outputPath ../../transformed_beta-Mooncake.csdl -addInnerErrorDescription $true -removeCapabilityAnnotations $false -csdlVersion v1.0
5656
- name: Transform CSDL with hidi
5757
working-directory: ./metadata
58+
shell: pwsh
5859
env:
5960
SETTINGS: ./conversion-settings/openapi.json
6061
run: |
61-
hidi transform --cs transformed_v1.0-Prod.csdl -o ../openapi/v1.0/Prod.yml --co -f Yaml --sp $SETTINGS
62-
hidi transform --cs transformed_v1.0-Fairfax.csdl -o ../openapi/v1.0/Fairfax.yml --co -f Yaml --sp $SETTINGS
63-
hidi transform --cs transformed_v1.0-Mooncake.csdl -o ../openapi/v1.0/Mooncake.yml --co -f Yaml --sp $SETTINGS
64-
hidi transform --cs transformed_beta-Prod.csdl -o ../openapi/beta/Prod.yml --co -f Yaml --sp $SETTINGS
65-
hidi transform --cs transformed_beta-Fairfax.csdl -o ../openapi/beta/Fairfax.yml --co -f Yaml --sp $SETTINGS
66-
hidi transform --cs transformed_beta-Mooncake.csdl -o ../openapi/beta/Mooncake.yml --co -f Yaml --sp $SETTINGS
62+
hidi transform --cs transformed_v1.0-Prod.csdl -o ../openapi/v1.0/Prod.yml --co -f Yaml --sp $Env:SETTINGS
63+
hidi transform --cs transformed_v1.0-Fairfax.csdl -o ../openapi/v1.0/Fairfax.yml --co -f Yaml --sp $Env:SETTINGS
64+
hidi transform --cs transformed_v1.0-Mooncake.csdl -o ../openapi/v1.0/Mooncake.yml --co -f Yaml --sp $Env:SETTINGS
65+
hidi transform --cs transformed_beta-Prod.csdl -o ../openapi/beta/Prod.yml --co -f Yaml --sp $Env:SETTINGS
66+
hidi transform --cs transformed_beta-Fairfax.csdl -o ../openapi/beta/Fairfax.yml --co -f Yaml --sp $Env:SETTINGS
67+
hidi transform --cs transformed_beta-Mooncake.csdl -o ../openapi/beta/Mooncake.yml --co -f Yaml --sp $Env:SETTINGS
6768
- name: Run cloud support tool
6869
env:
6970
TOOL: ./tool/src/bin/Release/net8.0/CheckCloudSupport
7071
run: |
71-
$TOOL --open-api ./openapi/v1.0 --api-docs ./docs/api-reference/v1.0/api --remove-old-includes
72-
$TOOL --open-api ./openapi/beta --api-docs ./docs/api-reference/beta/api --remove-old-includes
72+
$TOOL --open-api ./openapi/v1.0 --api-docs ./docs/api-reference/v1.0/api --overrides ./docs/api-reference/cloud.api.overrides.json --excludes ./docs/api-reference/cloud.exclusions.json --remove-old-includes
73+
$TOOL --open-api ./openapi/beta --api-docs ./docs/api-reference/beta/api --overrides ./docs/api-reference/cloud.api.overrides.json --excludes ./docs/api-reference/cloud.exclusions.json --remove-old-includes
7374
- name: Get token
7475
id: get_token
7576
uses: microsoftgraph/get-app-token@v1.0.4

.github/workflows/daily-ref-toc-gen.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ name: Daily reference TOC generation
22

33
on:
44
schedule:
5-
- cron: 0 11 * * *
5+
- cron: 0 11 * * 1-5
66
workflow_dispatch:
77

88
permissions:
Lines changed: 83 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,83 @@
1+
name: Update permissions reference file
2+
3+
on:
4+
schedule:
5+
- cron: 0 6 * * 1 # Runs every Monday at 6 AM UTC
6+
workflow_dispatch: # Allows manual triggering of the workflow
7+
8+
permissions:
9+
contents: write
10+
pull-requests: write
11+
12+
jobs:
13+
update-permissions-reference:
14+
name: Update permissions reference
15+
runs-on: windows-latest
16+
17+
steps:
18+
- name: Set up Git to handle long paths
19+
run: git config --system core.longpaths true
20+
21+
- name: Checkout microsoft-graph-docs
22+
uses: actions/checkout@v4.1.3
23+
with:
24+
path: docs
25+
26+
- name: Run PowerShell script to update permissions
27+
shell: pwsh
28+
run: |
29+
$ClientId = "${{ secrets.GRAPH_CLIENT_ID }}"
30+
$TenantId = "${{ secrets.GRAPH_TENANT_ID }}"
31+
$ClientSecret = "${{ secrets.GRAPH_CLIENT_SECRET }}"
32+
./docs/update-permissions-reference.ps1 -ClientId $ClientId -TenantId $TenantId -ClientSecret $ClientSecret
33+
34+
- name: Get token
35+
id: get_token
36+
uses: microsoftgraph/get-app-token@v1.0.4
37+
with:
38+
application-id: ${{ secrets.APPLICATION_ID }}
39+
application-private-key: ${{ secrets.APPLICATION_PRIVATE_KEY }}
40+
41+
- name: Commit updates from service principal
42+
working-directory: ./docs
43+
shell: pwsh
44+
env:
45+
GH_TOKEN: ${{ steps.get_token.outputs.app-token }}
46+
run: |
47+
$status = git status --porcelain
48+
if ($status -eq $null) {
49+
Write-Host "No changes to commit." -ForegroundColor Green
50+
}
51+
else {
52+
git config user.email "GraphTooling@service.microsoft.com"
53+
git config user.name "Microsoft Graph DevX Tooling"
54+
git add .
55+
git commit -m "Update permissions reference"
56+
}
57+
58+
- name: Run PowerShell script to correct errors in permissions descriptions
59+
shell: pwsh
60+
run: |
61+
./docs/correct-permissions-reference-errors.ps1
62+
63+
- name: Commit errors correction and open a pull request
64+
working-directory: ./docs
65+
shell: pwsh
66+
env:
67+
GH_TOKEN: ${{ steps.get_token.outputs.app-token }}
68+
run: |
69+
$status = git status --porcelain
70+
if ($status -eq $null) {
71+
Write-Host "No changes to commit." -ForegroundColor Green
72+
} else {
73+
$dateToday = Get-Date -Format 'yyyy-MM-dd'
74+
$branchName = "permissions-reference/$dateToday"
75+
$prTitle = "${dateToday}: Automated permissions reference update"
76+
77+
git add .
78+
git commit -m "Correct errors in permissions reference"
79+
git checkout -b $branchName
80+
git push --set-upstream origin $branchName -f
81+
82+
gh pr create --base main --title $prTitle --body "Scheduled permissions reference update" --reviewer "FaithOmbongi,msewaweru" --label "ready for content review"
83+
}

.openpublishing.redirection.json

Lines changed: 36 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -234,6 +234,41 @@
234234
"source_path": "api-reference/beta/api/industrydata-industrydataconnector-update.md",
235235
"redirect_url": "/graph/api/industrydata-azuredatalakeconnector-update?view=graph-rest-beta",
236236
"redirect_document_id": true
237+
},
238+
{
239+
"source_path": "graph/data-connect-pam.md",
240+
"redirect_url": "/concepts/data-connect-concept-overview",
241+
"redirect_document_id": true
242+
},
243+
{
244+
"source_path": "api-reference/beta/api/formatprotection-get.md ",
245+
"redirect_url": "/graph/api/workbookformatprotection-get.md?view=graph-rest-beta",
246+
"redirect_document_id": false
247+
},
248+
{
249+
"source_path": "api-reference/v1.0/api/formatprotection-get.md",
250+
"redirect_url": "/graph/api/workbookformatprotection-get.md?view=graph-rest-1.0",
251+
"redirect_document_id": false
252+
},
253+
{
254+
"source_path": "api-reference/beta/api/formatprotection-update.md",
255+
"redirect_url": "/graph/api/workbookformatprotection-update.md?view=graph-rest-beta",
256+
"redirect_document_id": false
257+
},
258+
{
259+
"source_path": "api-reference/v1.0/api/formatprotection-update.md ",
260+
"redirect_url": "/graph/api/workbookformatprotection-update.md?view=graph-rest-1.0",
261+
"redirect_document_id": false
262+
},
263+
{
264+
"source_path": "api-reference/beta/resources/formatprotection.md",
265+
"redirect_url": "/graph/api/resources/workbookformatprotection.md?view=graph-rest-beta",
266+
"redirect_document_id": false
267+
},
268+
{
269+
"source_path": "api-reference/v1.0/resources/formatprotection.md",
270+
"redirect_url": "/graph/api/resources/workbookformatprotection.md?view=graph-rest-1.0",
271+
"redirect_document_id": false
237272
}
238273
]
239-
}
274+
}

.vscode/settings.json

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
{
2+
"githubPullRequests.ignoredPullRequestBranches": [
3+
"main"
4+
],
5+
"json.schemas": [
6+
{
7+
"fileMatch": [
8+
"cloud.api.overrides.json"
9+
],
10+
"url": "https://raw.githubusercontent.com/microsoftgraph/msgraph-cloud-support/main/schema/api.overrides.schema.json"
11+
},
12+
{
13+
"fileMatch": [
14+
"cloud.exclusions.json"
15+
],
16+
"url": "https://raw.githubusercontent.com/microsoftgraph/msgraph-cloud-support/main/schema/cloud.exclusions.schema.json"
17+
}
18+
]
19+
}

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

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -249,7 +249,6 @@ Content-type: application/json
249249

250250
The following example shows a request to retrieve the collection of custom extension stage settings that are defined for a policy and their associated access package custom workflow extension.
251251

252-
253252
# [HTTP](#tab/http)
254253
<!-- {
255254
"blockType": "request",

0 commit comments

Comments
 (0)