From 937444c58b19e8c848c67387058119449b269cff Mon Sep 17 00:00:00 2001 From: Vincent Biret Date: Mon, 31 Jan 2022 13:22:16 -0500 Subject: [PATCH 1/9] - adds inner error insertion --- transforms/csdl/preprocess_csdl.xsl | 18 ++++++++++++++++++ .../csdl/preprocess_csdl_test_output.xml | 11 +++++++++++ 2 files changed, 29 insertions(+) diff --git a/transforms/csdl/preprocess_csdl.xsl b/transforms/csdl/preprocess_csdl.xsl index 84cd9074..d55beb2d 100644 --- a/transforms/csdl/preprocess_csdl.xsl +++ b/transforms/csdl/preprocess_csdl.xsl @@ -634,4 +634,22 @@ + + + + + + + + + + + + + + + + + + diff --git a/transforms/csdl/preprocess_csdl_test_output.xml b/transforms/csdl/preprocess_csdl_test_output.xml index 51497564..1247b30d 100644 --- a/transforms/csdl/preprocess_csdl_test_output.xml +++ b/transforms/csdl/preprocess_csdl_test_output.xml @@ -342,6 +342,17 @@ + + + + + + + + + + + From 677f55958b398017340771d679bcfaf57423b9cb Mon Sep 17 00:00:00 2001 From: Vincent Biret Date: Mon, 31 Jan 2022 13:52:24 -0500 Subject: [PATCH 2/9] - upgrades parser tool to net 6 Signed-off-by: Vincent Biret --- .github/workflows/metadata-parser-validation.yml | 2 +- tools/MetadataParser/MetadataParser.csproj | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/metadata-parser-validation.yml b/.github/workflows/metadata-parser-validation.yml index 47affc1e..52a6c38a 100644 --- a/.github/workflows/metadata-parser-validation.yml +++ b/.github/workflows/metadata-parser-validation.yml @@ -18,7 +18,7 @@ jobs: - name: Setup .NET uses: actions/setup-dotnet@v1 with: - dotnet-version: 5.0.x + dotnet-version: 6.0.x - name: Validate latest XSLT rules run: ./scripts/run-metadata-validation.ps1 -repoDirectory "${{ github.workspace }}" shell: pwsh diff --git a/tools/MetadataParser/MetadataParser.csproj b/tools/MetadataParser/MetadataParser.csproj index 714ead65..d2355627 100644 --- a/tools/MetadataParser/MetadataParser.csproj +++ b/tools/MetadataParser/MetadataParser.csproj @@ -2,7 +2,7 @@ Exe - net5.0 + net6.0 From b21c0520460e23bc11f12c4f54f4a2857cd69dec Mon Sep 17 00:00:00 2001 From: Vincent Biret Date: Mon, 31 Jan 2022 13:52:52 -0500 Subject: [PATCH 3/9] - adds missing dispoe that would lock the files Signed-off-by: Vincent Biret --- scripts/run-metadata-validation.ps1 | 4 ++-- tools/MetadataParser/Program.cs | 3 ++- transforms/csdl/transform.ps1 | 7 +++++-- 3 files changed, 9 insertions(+), 5 deletions(-) diff --git a/scripts/run-metadata-validation.ps1 b/scripts/run-metadata-validation.ps1 index a26a7952..f251de0f 100644 --- a/scripts/run-metadata-validation.ps1 +++ b/scripts/run-metadata-validation.ps1 @@ -39,10 +39,10 @@ Write-Host "Tranforming beta metadata using xslt..." -ForegroundColor Green & $transformScript -xslPath $xsltPath -inputPath $betaSnapshot -outputPath $transformedBeta Write-Host "Validating beta metadata after the transform..." -ForegroundColor Green -& dotnet run -p $metadataParserTool $transformedBeta +& dotnet run --project $metadataParserTool $transformedBeta Write-Host "Tranforming v1.0 metadata using xslt..." -ForegroundColor Green & $transformScript -xslPath $xsltPath -inputPath $v1Snapshot -outputPath $transformedV1 Write-Host "Validating v1.0 metadata after the transform..." -ForegroundColor Green -& dotnet run -p $metadataParserTool $transformedV1 +& dotnet run --project $metadataParserTool $transformedV1 diff --git a/tools/MetadataParser/Program.cs b/tools/MetadataParser/Program.cs index b2697656..f08d62c9 100644 --- a/tools/MetadataParser/Program.cs +++ b/tools/MetadataParser/Program.cs @@ -11,7 +11,8 @@ IEdmModel edmModel; try { - edmModel = CsdlReader.Parse(XmlReader.Create(args[0])); + using var reader = XmlReader.Create(args[0]); + edmModel = CsdlReader.Parse(reader); Console.WriteLine("Parsing the metadata as an edm model was successful!"); var settings = new OpenApiConvertSettings() diff --git a/transforms/csdl/transform.ps1 b/transforms/csdl/transform.ps1 index e63517c3..ccb53ee4 100644 --- a/transforms/csdl/transform.ps1 +++ b/transforms/csdl/transform.ps1 @@ -42,11 +42,14 @@ $xmlWriterSettings.Indent = $true $xmlWriter = [System.Xml.XmlWriter]::Create($outputFullPath, $xmlWriterSettings) -$xslt = [System.Xml.Xsl.XslCompiledTransform]::new($dbg) -$xslt.Load($xslFullPath) try { + $xslt = [System.Xml.Xsl.XslCompiledTransform]::new($dbg) + $xslt.Load($xslFullPath) $xslt.Transform($inputFullPath, $xsltargs, $xmlWriter) } catch { Write-Error $_.Exception +} +finally { + $xmlWriter.Close() } \ No newline at end of file From 2a08843dfb7c88a2c21d3ca103229fe1b31e4167 Mon Sep 17 00:00:00 2001 From: Vincent Biret Date: Mon, 31 Jan 2022 14:06:45 -0500 Subject: [PATCH 4/9] - updates transformation so it avoid adding the namespace which derails validation --- transforms/csdl/preprocess_csdl.xsl | 40 ++++++++++++++++++++--------- 1 file changed, 28 insertions(+), 12 deletions(-) diff --git a/transforms/csdl/preprocess_csdl.xsl b/transforms/csdl/preprocess_csdl.xsl index d55beb2d..7c7876a2 100644 --- a/transforms/csdl/preprocess_csdl.xsl +++ b/transforms/csdl/preprocess_csdl.xsl @@ -638,18 +638,34 @@ - - - - - - - - - - - - + + + InnerError + + request-id + Edm.String + + Org.OData.Core.V1.Description + Request Id as tracked internally by the service + + + + client-request-id + Edm.String + + Org.OData.Core.V1.Description + Client request Id as sent by the client application. + + + + Date + Edm.DateTimeOffset + + Org.OData.Core.V1.Description + Date when the error occured. + + + From 97e6c9148c02699790648217ce6bec7fe22b30cf Mon Sep 17 00:00:00 2001 From: Vincent Biret Date: Wed, 2 Feb 2022 10:59:34 -0500 Subject: [PATCH 5/9] - adds a pre-process argument for the inner error description to avoid issues with typewriter --- transforms/csdl/preprocess_csdl.xsl | 63 ++++++++++--------- .../csdl/preprocess_csdl_test_output.xml | 11 ---- transforms/csdl/readme.md | 4 +- transforms/csdl/transform.ps1 | 5 +- 4 files changed, 41 insertions(+), 42 deletions(-) diff --git a/transforms/csdl/preprocess_csdl.xsl b/transforms/csdl/preprocess_csdl.xsl index 7c7876a2..1703822c 100644 --- a/transforms/csdl/preprocess_csdl.xsl +++ b/transforms/csdl/preprocess_csdl.xsl @@ -5,6 +5,7 @@ True + True @@ -637,35 +638,39 @@ - - - - InnerError - - request-id - Edm.String - - Org.OData.Core.V1.Description - Request Id as tracked internally by the service - - - - client-request-id - Edm.String - - Org.OData.Core.V1.Description - Client request Id as sent by the client application. - - - - Date - Edm.DateTimeOffset - - Org.OData.Core.V1.Description - Date when the error occured. + + + + + + InnerError + + request-id + Edm.String + + Org.OData.Core.V1.Description + Request Id as tracked internally by the service + + + + client-request-id + Edm.String + + Org.OData.Core.V1.Description + Client request Id as sent by the client application. + + + + Date + Edm.DateTimeOffset + + Org.OData.Core.V1.Description + Date when the error occured. + + - - - + + + diff --git a/transforms/csdl/preprocess_csdl_test_output.xml b/transforms/csdl/preprocess_csdl_test_output.xml index 1247b30d..51497564 100644 --- a/transforms/csdl/preprocess_csdl_test_output.xml +++ b/transforms/csdl/preprocess_csdl_test_output.xml @@ -342,17 +342,6 @@ - - - - - - - - - - - diff --git a/transforms/csdl/readme.md b/transforms/csdl/readme.md index 52db77a5..c49a8767 100644 --- a/transforms/csdl/readme.md +++ b/transforms/csdl/readme.md @@ -24,10 +24,12 @@ Please use fully qualified and precise template match statements so as not to pe > NB: The build job in the pipeline currently errors out on PRs coming in from personal forked repos. ## Command line instructions for running the transform + 1. Start PowerShell 2. `cd` into `transforms\csdl` folder -3. Run `transform.ps1 `. If files are not specified, the script will apply transformations from *preprocess_csdl.xsl* on *preprocess_csdl_test_input.xml* and override *preprocess_csdl_test_output.xml* file. +3. Run `transform.ps1 `. If files are not specified, the script will apply transformations from *preprocess_csdl.xsl* on *preprocess_csdl_test_input.xml* and override *preprocess_csdl_test_output.xml* file. 4. You can optionally run the transform without removing capability annotations by setting the `-removeCapabilityAnnotations` flag to `$false`. The default behavior is to remove capability annotations. +5. You can additional run the transform without injecting the inner error description by setting the `-removeInnererrorDescription` false to `$true` (default, false to include it). ## Instructions for running transform against Microsoft Graph metadata diff --git a/transforms/csdl/transform.ps1 b/transforms/csdl/transform.ps1 index ccb53ee4..0362937c 100644 --- a/transforms/csdl/transform.ps1 +++ b/transforms/csdl/transform.ps1 @@ -11,7 +11,9 @@ param ( [bool] $dbg = $false, [bool] - $removeCapabilityAnnotations = $true + $removeCapabilityAnnotations = $true, + [bool] + $removeInnererrorDescription = $true ) function Get-PathWithPrefix([string]$requestedPath) { if([System.IO.Path]::IsPathRooted($requestedPath)) { @@ -36,6 +38,7 @@ $outputFullPath = Get-PathWithPrefix -requestedPath $outputPath $xsltargs = [System.Xml.Xsl.XsltArgumentList]::new() $xsltargs.AddParam("remove-capability-annotations", "", $removeCapabilityAnnotations.ToString()) +$xsltargs.AddParam("remove-innererror-description", "", $removeInnererrorDescription.ToString()) $xmlWriterSettings = [System.Xml.XmlWriterSettings]::new() $xmlWriterSettings.Indent = $true From d977bfc96b19efaea1147cf1f82aba9073b22506 Mon Sep 17 00:00:00 2001 From: github-actions Date: Wed, 2 Feb 2022 16:01:59 +0000 Subject: [PATCH 6/9] Auto-updates OpenAPI descriptions --- openapi/beta/openapi.yaml | 2674 +++++++++++++++++++++++++++++++------ openapi/v1.0/openapi.yaml | 18 +- 2 files changed, 2307 insertions(+), 385 deletions(-) diff --git a/openapi/beta/openapi.yaml b/openapi/beta/openapi.yaml index d7ad90c9..1c9e6070 100644 --- a/openapi/beta/openapi.yaml +++ b/openapi/beta/openapi.yaml @@ -17121,6 +17121,7 @@ paths: tags: - applications.synchronization summary: Get jobs from applications + description: 'Performs synchronization by periodically running in the background, polling for changes in one directory, and pushing them to another directory.' operationId: applications.synchronization.ListJobs parameters: - name: application-id @@ -17211,6 +17212,7 @@ paths: tags: - applications.synchronization summary: Create new navigation property to jobs for applications + description: 'Performs synchronization by periodically running in the background, polling for changes in one directory, and pushing them to another directory.' operationId: applications.synchronization.CreateJobs parameters: - name: application-id @@ -17242,6 +17244,7 @@ paths: tags: - applications.synchronization summary: Get jobs from applications + description: 'Performs synchronization by periodically running in the background, polling for changes in one directory, and pushing them to another directory.' operationId: applications.synchronization.GetJobs parameters: - name: application-id @@ -17308,6 +17311,7 @@ paths: tags: - applications.synchronization summary: Update the navigation property jobs in applications + description: 'Performs synchronization by periodically running in the background, polling for changes in one directory, and pushing them to another directory.' operationId: applications.synchronization.UpdateJobs parameters: - name: application-id @@ -17341,6 +17345,7 @@ paths: tags: - applications.synchronization summary: Delete navigation property jobs for applications + description: 'Performs synchronization by periodically running in the background, polling for changes in one directory, and pushing them to another directory.' operationId: applications.synchronization.DeleteJobs parameters: - name: application-id @@ -18276,6 +18281,7 @@ paths: tags: - applications.synchronization summary: Get templates from applications + description: Pre-configured synchronization settings for a particular application. operationId: applications.synchronization.ListTemplates parameters: - name: application-id @@ -18372,6 +18378,7 @@ paths: tags: - applications.synchronization summary: Create new navigation property to templates for applications + description: Pre-configured synchronization settings for a particular application. operationId: applications.synchronization.CreateTemplates parameters: - name: application-id @@ -18403,6 +18410,7 @@ paths: tags: - applications.synchronization summary: Get templates from applications + description: Pre-configured synchronization settings for a particular application. operationId: applications.synchronization.GetTemplates parameters: - name: application-id @@ -18471,6 +18479,7 @@ paths: tags: - applications.synchronization summary: Update the navigation property templates in applications + description: Pre-configured synchronization settings for a particular application. operationId: applications.synchronization.UpdateTemplates parameters: - name: application-id @@ -18504,6 +18513,7 @@ paths: tags: - applications.synchronization summary: Delete navigation property templates for applications + description: Pre-configured synchronization settings for a particular application. operationId: applications.synchronization.DeleteTemplates parameters: - name: application-id @@ -23134,7 +23144,7 @@ paths: tags: - authenticationMethodsPolicy.authenticationMethodConfiguration summary: Get authenticationMethodConfigurations from authenticationMethodsPolicy - description: Represents the settings for each authentication method. + description: Represents the settings for each authentication method. Automatically expanded on GET /policies/authenticationMethodsPolicy. operationId: authenticationMethodsPolicy.ListAuthenticationMethodConfigurations parameters: - $ref: '#/components/parameters/top' @@ -23207,7 +23217,7 @@ paths: tags: - authenticationMethodsPolicy.authenticationMethodConfiguration summary: Create new navigation property to authenticationMethodConfigurations for authenticationMethodsPolicy - description: Represents the settings for each authentication method. + description: Represents the settings for each authentication method. Automatically expanded on GET /policies/authenticationMethodsPolicy. operationId: authenticationMethodsPolicy.CreateAuthenticationMethodConfigurations requestBody: description: New navigation property @@ -23231,7 +23241,7 @@ paths: tags: - authenticationMethodsPolicy.authenticationMethodConfiguration summary: Get authenticationMethodConfigurations from authenticationMethodsPolicy - description: Represents the settings for each authentication method. + description: Represents the settings for each authentication method. Automatically expanded on GET /policies/authenticationMethodsPolicy. operationId: authenticationMethodsPolicy.GetAuthenticationMethodConfigurations parameters: - name: authenticationMethodConfiguration-id @@ -23280,7 +23290,7 @@ paths: tags: - authenticationMethodsPolicy.authenticationMethodConfiguration summary: Update the navigation property authenticationMethodConfigurations in authenticationMethodsPolicy - description: Represents the settings for each authentication method. + description: Represents the settings for each authentication method. Automatically expanded on GET /policies/authenticationMethodsPolicy. operationId: authenticationMethodsPolicy.UpdateAuthenticationMethodConfigurations parameters: - name: authenticationMethodConfiguration-id @@ -23307,7 +23317,7 @@ paths: tags: - authenticationMethodsPolicy.authenticationMethodConfiguration summary: Delete navigation property authenticationMethodConfigurations for authenticationMethodsPolicy - description: Represents the settings for each authentication method. + description: Represents the settings for each authentication method. Automatically expanded on GET /policies/authenticationMethodsPolicy. operationId: authenticationMethodsPolicy.DeleteAuthenticationMethodConfigurations parameters: - name: authenticationMethodConfiguration-id @@ -36158,6 +36168,8 @@ paths: - createdDateTime desc - displayName - displayName desc + - holdStatus + - holdStatus desc - lastModifiedDateTime - lastModifiedDateTime desc - releasedDateTime @@ -36184,6 +36196,7 @@ paths: - id - createdDateTime - displayName + - holdStatus - lastModifiedDateTime - releasedDateTime - status @@ -36298,6 +36311,7 @@ paths: - id - createdDateTime - displayName + - holdStatus - lastModifiedDateTime - releasedDateTime - status @@ -36449,6 +36463,33 @@ paths: default: $ref: '#/components/responses/error' x-ms-docs-operation-type: action + '/compliance/ediscovery/cases/{case-id}/custodians/{custodian-id}/microsoft.graph.ediscovery.applyHold': + post: + tags: + - compliance.Actions + summary: Invoke action applyHold + operationId: compliance.ediscovery.cases.case.custodians.custodian.applyHold + parameters: + - name: case-id + in: path + description: 'key: id of case' + required: true + schema: + type: string + x-ms-docs-key-type: case + - name: custodian-id + in: path + description: 'key: id of custodian' + required: true + schema: + type: string + x-ms-docs-key-type: custodian + responses: + '204': + description: Success + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: action '/compliance/ediscovery/cases/{case-id}/custodians/{custodian-id}/microsoft.graph.ediscovery.release': post: tags: @@ -36476,6 +36517,33 @@ paths: default: $ref: '#/components/responses/error' x-ms-docs-operation-type: action + '/compliance/ediscovery/cases/{case-id}/custodians/{custodian-id}/microsoft.graph.ediscovery.removeHold': + post: + tags: + - compliance.Actions + summary: Invoke action removeHold + operationId: compliance.ediscovery.cases.case.custodians.custodian.removeHold + parameters: + - name: case-id + in: path + description: 'key: id of case' + required: true + schema: + type: string + x-ms-docs-key-type: case + - name: custodian-id + in: path + description: 'key: id of custodian' + required: true + schema: + type: string + x-ms-docs-key-type: custodian + responses: + '204': + description: Success + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: action '/compliance/ediscovery/cases/{case-id}/custodians/{custodian-id}/microsoft.graph.ediscovery.updateIndex': post: tags: @@ -36548,6 +36616,8 @@ paths: - createdDateTime desc - displayName - displayName desc + - holdStatus + - holdStatus desc type: string - name: $select in: query @@ -36563,6 +36633,7 @@ paths: - createdBy - createdDateTime - displayName + - holdStatus - site type: string - name: $expand @@ -36680,6 +36751,7 @@ paths: - createdBy - createdDateTime - displayName + - holdStatus - site type: string - name: $expand @@ -37262,6 +37334,8 @@ paths: - createdDateTime desc - displayName - displayName desc + - holdStatus + - holdStatus desc - includedSources - includedSources desc type: string @@ -37279,6 +37353,7 @@ paths: - createdBy - createdDateTime - displayName + - holdStatus - includedSources - group type: string @@ -37397,6 +37472,7 @@ paths: - createdBy - createdDateTime - displayName + - holdStatus - includedSources - group type: string @@ -38183,6 +38259,8 @@ paths: - createdDateTime desc - displayName - displayName desc + - holdStatus + - holdStatus desc - email - email desc - includedSources @@ -38204,6 +38282,7 @@ paths: - createdBy - createdDateTime - displayName + - holdStatus - email - includedSources - siteWebUrl @@ -38322,6 +38401,7 @@ paths: - createdBy - createdDateTime - displayName + - holdStatus - email - includedSources - siteWebUrl @@ -38428,6 +38508,72 @@ paths: default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation + '/compliance/ediscovery/cases/{case-id}/custodians/microsoft.graph.ediscovery.applyHold': + post: + tags: + - compliance.Actions + summary: Invoke action applyHold + operationId: compliance.ediscovery.cases.case.custodians.applyHold + parameters: + - name: case-id + in: path + description: 'key: id of case' + required: true + schema: + type: string + x-ms-docs-key-type: case + requestBody: + description: Action parameters + content: + application/json: + schema: + type: object + properties: + ids: + type: array + items: + type: string + nullable: true + required: true + responses: + '204': + description: Success + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: action + '/compliance/ediscovery/cases/{case-id}/custodians/microsoft.graph.ediscovery.removeHold': + post: + tags: + - compliance.Actions + summary: Invoke action removeHold + operationId: compliance.ediscovery.cases.case.custodians.removeHold + parameters: + - name: case-id + in: path + description: 'key: id of case' + required: true + schema: + type: string + x-ms-docs-key-type: case + requestBody: + description: Action parameters + content: + application/json: + schema: + type: object + properties: + ids: + type: array + items: + type: string + nullable: true + required: true + responses: + '204': + description: Success + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: action '/compliance/ediscovery/cases/{case-id}/legalHolds': get: tags: @@ -38772,6 +38918,8 @@ paths: - createdDateTime desc - displayName - displayName desc + - holdStatus + - holdStatus desc type: string - name: $select in: query @@ -38787,6 +38935,7 @@ paths: - createdBy - createdDateTime - displayName + - holdStatus - site type: string - name: $expand @@ -38904,6 +39053,7 @@ paths: - createdBy - createdDateTime - displayName + - holdStatus - site type: string - name: $expand @@ -39485,6 +39635,8 @@ paths: - createdDateTime desc - displayName - displayName desc + - holdStatus + - holdStatus desc - includedSources - includedSources desc type: string @@ -39502,6 +39654,7 @@ paths: - createdBy - createdDateTime - displayName + - holdStatus - includedSources - group type: string @@ -39618,6 +39771,7 @@ paths: - createdBy - createdDateTime - displayName + - holdStatus - includedSources - group type: string @@ -40402,6 +40556,8 @@ paths: - createdDateTime desc - displayName - displayName desc + - holdStatus + - holdStatus desc - email - email desc - includedSources @@ -40423,6 +40579,7 @@ paths: - createdBy - createdDateTime - displayName + - holdStatus - email - includedSources - siteWebUrl @@ -40541,6 +40698,7 @@ paths: - createdBy - createdDateTime - displayName + - holdStatus - email - includedSources - siteWebUrl @@ -40723,6 +40881,8 @@ paths: - createdDateTime desc - displayName - displayName desc + - holdStatus + - holdStatus desc - lastModifiedDateTime - lastModifiedDateTime desc - releasedDateTime @@ -40745,6 +40905,7 @@ paths: - id - createdDateTime - displayName + - holdStatus - lastModifiedDateTime - releasedDateTime - status @@ -40853,6 +41014,7 @@ paths: - id - createdDateTime - displayName + - holdStatus - lastModifiedDateTime - releasedDateTime - status @@ -40997,6 +41159,7 @@ paths: - createdBy - createdDateTime - displayName + - holdStatus type: string - name: $expand in: query @@ -41086,6 +41249,33 @@ paths: default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation + '/compliance/ediscovery/cases/{case-id}/noncustodialDataSources/{noncustodialDataSource-id}/microsoft.graph.ediscovery.applyHold': + post: + tags: + - compliance.Actions + summary: Invoke action applyHold + operationId: compliance.ediscovery.cases.case.noncustodialDataSources.noncustodialDataSource.applyHold + parameters: + - name: case-id + in: path + description: 'key: id of case' + required: true + schema: + type: string + x-ms-docs-key-type: case + - name: noncustodialDataSource-id + in: path + description: 'key: id of noncustodialDataSource' + required: true + schema: + type: string + x-ms-docs-key-type: noncustodialDataSource + responses: + '204': + description: Success + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: action '/compliance/ediscovery/cases/{case-id}/noncustodialDataSources/{noncustodialDataSource-id}/microsoft.graph.ediscovery.release': post: tags: @@ -41113,6 +41303,33 @@ paths: default: $ref: '#/components/responses/error' x-ms-docs-operation-type: action + '/compliance/ediscovery/cases/{case-id}/noncustodialDataSources/{noncustodialDataSource-id}/microsoft.graph.ediscovery.removeHold': + post: + tags: + - compliance.Actions + summary: Invoke action removeHold + operationId: compliance.ediscovery.cases.case.noncustodialDataSources.noncustodialDataSource.removeHold + parameters: + - name: case-id + in: path + description: 'key: id of case' + required: true + schema: + type: string + x-ms-docs-key-type: case + - name: noncustodialDataSource-id + in: path + description: 'key: id of noncustodialDataSource' + required: true + schema: + type: string + x-ms-docs-key-type: noncustodialDataSource + responses: + '204': + description: Success + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: action '/compliance/ediscovery/cases/{case-id}/noncustodialDataSources/{noncustodialDataSource-id}/microsoft.graph.ediscovery.updateIndex': post: tags: @@ -41140,6 +41357,72 @@ paths: default: $ref: '#/components/responses/error' x-ms-docs-operation-type: action + '/compliance/ediscovery/cases/{case-id}/noncustodialDataSources/microsoft.graph.ediscovery.applyHold': + post: + tags: + - compliance.Actions + summary: Invoke action applyHold + operationId: compliance.ediscovery.cases.case.noncustodialDataSources.applyHold + parameters: + - name: case-id + in: path + description: 'key: id of case' + required: true + schema: + type: string + x-ms-docs-key-type: case + requestBody: + description: Action parameters + content: + application/json: + schema: + type: object + properties: + ids: + type: array + items: + type: string + nullable: true + required: true + responses: + '204': + description: Success + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: action + '/compliance/ediscovery/cases/{case-id}/noncustodialDataSources/microsoft.graph.ediscovery.removeHold': + post: + tags: + - compliance.Actions + summary: Invoke action removeHold + operationId: compliance.ediscovery.cases.case.noncustodialDataSources.removeHold + parameters: + - name: case-id + in: path + description: 'key: id of case' + required: true + schema: + type: string + x-ms-docs-key-type: case + requestBody: + description: Action parameters + content: + application/json: + schema: + type: object + properties: + ids: + type: array + items: + type: string + nullable: true + required: true + responses: + '204': + description: Success + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: action '/compliance/ediscovery/cases/{case-id}/operations': get: tags: @@ -42600,6 +42883,8 @@ paths: - createdDateTime desc - displayName - displayName desc + - holdStatus + - holdStatus desc type: string - name: $select in: query @@ -42615,6 +42900,7 @@ paths: - createdBy - createdDateTime - displayName + - holdStatus type: string - name: $expand in: query @@ -42730,6 +43016,7 @@ paths: - createdBy - createdDateTime - displayName + - holdStatus type: string - name: $expand in: query @@ -43067,6 +43354,8 @@ paths: - createdDateTime desc - displayName - displayName desc + - holdStatus + - holdStatus desc type: string - name: $select in: query @@ -43082,6 +43371,7 @@ paths: - createdBy - createdDateTime - displayName + - holdStatus type: string - name: $expand in: query @@ -43161,6 +43451,8 @@ paths: - createdDateTime desc - displayName - displayName desc + - holdStatus + - holdStatus desc type: string responses: '200': @@ -43476,6 +43768,8 @@ paths: - createdDateTime desc - displayName - displayName desc + - holdStatus + - holdStatus desc - lastModifiedDateTime - lastModifiedDateTime desc - releasedDateTime @@ -43498,6 +43792,7 @@ paths: - id - createdDateTime - displayName + - holdStatus - lastModifiedDateTime - releasedDateTime - status @@ -43583,6 +43878,8 @@ paths: - createdDateTime desc - displayName - displayName desc + - holdStatus + - holdStatus desc - lastModifiedDateTime - lastModifiedDateTime desc - releasedDateTime @@ -43653,6 +43950,86 @@ paths: default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation + '/compliance/ediscovery/cases/{case-id}/sourceCollections/{sourceCollection-id}/noncustodialSources/microsoft.graph.ediscovery.applyHold': + post: + tags: + - compliance.Actions + summary: Invoke action applyHold + operationId: compliance.ediscovery.cases.case.sourceCollections.sourceCollection.noncustodialSources.applyHold + parameters: + - name: case-id + in: path + description: 'key: id of case' + required: true + schema: + type: string + x-ms-docs-key-type: case + - name: sourceCollection-id + in: path + description: 'key: id of sourceCollection' + required: true + schema: + type: string + x-ms-docs-key-type: sourceCollection + requestBody: + description: Action parameters + content: + application/json: + schema: + type: object + properties: + ids: + type: array + items: + type: string + nullable: true + required: true + responses: + '204': + description: Success + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: action + '/compliance/ediscovery/cases/{case-id}/sourceCollections/{sourceCollection-id}/noncustodialSources/microsoft.graph.ediscovery.removeHold': + post: + tags: + - compliance.Actions + summary: Invoke action removeHold + operationId: compliance.ediscovery.cases.case.sourceCollections.sourceCollection.noncustodialSources.removeHold + parameters: + - name: case-id + in: path + description: 'key: id of case' + required: true + schema: + type: string + x-ms-docs-key-type: case + - name: sourceCollection-id + in: path + description: 'key: id of sourceCollection' + required: true + schema: + type: string + x-ms-docs-key-type: sourceCollection + requestBody: + description: Action parameters + content: + application/json: + schema: + type: object + properties: + ids: + type: array + items: + type: string + nullable: true + required: true + responses: + '204': + description: Success + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: action '/compliance/ediscovery/cases/{case-id}/tags': get: tags: @@ -183310,6 +183687,7 @@ paths: - parentReference - webUrl - contentType + - deleted - sharepointIds - createdByUser - lastModifiedByUser @@ -186782,6 +187160,7 @@ paths: - parentReference - webUrl - contentType + - deleted - sharepointIds - createdByUser - lastModifiedByUser @@ -191143,6 +191522,8 @@ paths: - webUrl desc - contentType - contentType desc + - deleted + - deleted desc - sharepointIds - sharepointIds desc type: string @@ -191167,6 +191548,7 @@ paths: - parentReference - webUrl - contentType + - deleted - sharepointIds - createdByUser - lastModifiedByUser @@ -191275,6 +191657,7 @@ paths: - parentReference - webUrl - contentType + - deleted - sharepointIds - createdByUser - lastModifiedByUser @@ -191996,6 +192379,7 @@ paths: - parentReference - webUrl - contentType + - deleted - sharepointIds - createdByUser - lastModifiedByUser @@ -193280,6 +193664,54 @@ paths: default: $ref: '#/components/responses/error' x-ms-docs-operation-type: action + /drive/list/items/microsoft.graph.delta(): + get: + tags: + - drive.Functions + summary: Invoke function delta + operationId: drive.list.items.delta + responses: + '200': + description: Success + content: + application/json: + schema: + type: array + items: + anyOf: + - $ref: '#/components/schemas/microsoft.graph.listItem' + nullable: true + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: function + '/drive/list/items/microsoft.graph.delta(token=''{token}'')': + get: + tags: + - drive.Functions + summary: Invoke function delta + operationId: drive.list.items.delta + parameters: + - name: token + in: path + description: 'Usage: token={token}' + required: true + schema: + type: string + nullable: true + responses: + '200': + description: Success + content: + application/json: + schema: + type: array + items: + anyOf: + - $ref: '#/components/schemas/microsoft.graph.listItem' + nullable: true + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: function /drive/list/operations: get: tags: @@ -195426,6 +195858,7 @@ paths: - parentReference - webUrl - contentType + - deleted - sharepointIds - createdByUser - lastModifiedByUser @@ -199449,6 +199882,7 @@ paths: - parentReference - webUrl - contentType + - deleted - sharepointIds - createdByUser - lastModifiedByUser @@ -204498,6 +204932,8 @@ paths: - webUrl desc - contentType - contentType desc + - deleted + - deleted desc - sharepointIds - sharepointIds desc type: string @@ -204522,6 +204958,7 @@ paths: - parentReference - webUrl - contentType + - deleted - sharepointIds - createdByUser - lastModifiedByUser @@ -204645,6 +205082,7 @@ paths: - parentReference - webUrl - contentType + - deleted - sharepointIds - createdByUser - lastModifiedByUser @@ -205477,6 +205915,7 @@ paths: - parentReference - webUrl - contentType + - deleted - sharepointIds - createdByUser - lastModifiedByUser @@ -206975,6 +207414,69 @@ paths: default: $ref: '#/components/responses/error' x-ms-docs-operation-type: action + '/drives/{drive-id}/list/items/microsoft.graph.delta()': + get: + tags: + - drives.Functions + summary: Invoke function delta + operationId: drives.drive.list.items.delta + parameters: + - name: drive-id + in: path + description: 'key: id of drive' + required: true + schema: + type: string + x-ms-docs-key-type: drive + responses: + '200': + description: Success + content: + application/json: + schema: + type: array + items: + anyOf: + - $ref: '#/components/schemas/microsoft.graph.listItem' + nullable: true + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: function + '/drives/{drive-id}/list/items/microsoft.graph.delta(token=''{token}'')': + get: + tags: + - drives.Functions + summary: Invoke function delta + operationId: drives.drive.list.items.delta + parameters: + - name: drive-id + in: path + description: 'key: id of drive' + required: true + schema: + type: string + x-ms-docs-key-type: drive + - name: token + in: path + description: 'Usage: token={token}' + required: true + schema: + type: string + nullable: true + responses: + '200': + description: Success + content: + application/json: + schema: + type: array + items: + anyOf: + - $ref: '#/components/schemas/microsoft.graph.listItem' + nullable: true + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: function '/drives/{drive-id}/list/operations': get: tags: @@ -340033,6 +340535,8 @@ paths: - principal desc - principalLink - principalLink desc + - principalResourceMembership + - principalResourceMembership desc - recommendation - recommendation desc - resource @@ -340065,6 +340569,7 @@ paths: - justification - principal - principalLink + - principalResourceMembership - recommendation - resource - resourceLink @@ -340166,6 +340671,7 @@ paths: - justification - principal - principalLink + - principalResourceMembership - recommendation - resource - resourceLink @@ -340913,6 +341419,8 @@ paths: - principal desc - principalLink - principalLink desc + - principalResourceMembership + - principalResourceMembership desc - recommendation - recommendation desc - resource @@ -340945,6 +341453,7 @@ paths: - justification - principal - principalLink + - principalResourceMembership - recommendation - resource - resourceLink @@ -341061,6 +341570,7 @@ paths: - justification - principal - principalLink + - principalResourceMembership - recommendation - resource - resourceLink @@ -342500,6 +343010,8 @@ paths: - principal desc - principalLink - principalLink desc + - principalResourceMembership + - principalResourceMembership desc - recommendation - recommendation desc - resource @@ -342532,6 +343044,7 @@ paths: - justification - principal - principalLink + - principalResourceMembership - recommendation - resource - resourceLink @@ -342662,6 +343175,7 @@ paths: - justification - principal - principalLink + - principalResourceMembership - recommendation - resource - resourceLink @@ -344310,6 +344824,7 @@ paths: tags: - identityGovernance.accessReviewSet summary: Get instances from identityGovernance + description: 'If the accessReviewHistoryDefinition is a recurring definition, instances represent each recurrence. A definition that does not recur will have exactly one instance.' operationId: identityGovernance.accessReviews.historyDefinitions.ListInstances parameters: - name: accessReviewHistoryDefinition-id @@ -344407,6 +344922,7 @@ paths: tags: - identityGovernance.accessReviewSet summary: Create new navigation property to instances for identityGovernance + description: 'If the accessReviewHistoryDefinition is a recurring definition, instances represent each recurrence. A definition that does not recur will have exactly one instance.' operationId: identityGovernance.accessReviews.historyDefinitions.CreateInstances parameters: - name: accessReviewHistoryDefinition-id @@ -344438,6 +344954,7 @@ paths: tags: - identityGovernance.accessReviewSet summary: Get instances from identityGovernance + description: 'If the accessReviewHistoryDefinition is a recurring definition, instances represent each recurrence. A definition that does not recur will have exactly one instance.' operationId: identityGovernance.accessReviews.historyDefinitions.GetInstances parameters: - name: accessReviewHistoryDefinition-id @@ -344499,6 +345016,7 @@ paths: tags: - identityGovernance.accessReviewSet summary: Update the navigation property instances in identityGovernance + description: 'If the accessReviewHistoryDefinition is a recurring definition, instances represent each recurrence. A definition that does not recur will have exactly one instance.' operationId: identityGovernance.accessReviews.historyDefinitions.UpdateInstances parameters: - name: accessReviewHistoryDefinition-id @@ -344532,6 +345050,7 @@ paths: tags: - identityGovernance.accessReviewSet summary: Delete navigation property instances for identityGovernance + description: 'If the accessReviewHistoryDefinition is a recurring definition, instances represent each recurrence. A definition that does not recur will have exactly one instance.' operationId: identityGovernance.accessReviews.historyDefinitions.DeleteInstances parameters: - name: accessReviewHistoryDefinition-id @@ -344559,12 +345078,12 @@ paths: default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation - '/identityGovernance/accessReviews/historyDefinitions/{accessReviewHistoryDefinition-id}/microsoft.graph.generateDownloadUri': + '/identityGovernance/accessReviews/historyDefinitions/{accessReviewHistoryDefinition-id}/instances/{accessReviewHistoryInstance-id}/microsoft.graph.generateDownloadUri': post: tags: - identityGovernance.Actions summary: Invoke action generateDownloadUri - operationId: identityGovernance.accessReviews.historyDefinitions.accessReviewHistoryDefinition.generateDownloadUri + operationId: identityGovernance.accessReviews.historyDefinitions.accessReviewHistoryDefinition.instances.accessReviewHistoryInstance.generateDownloadUri parameters: - name: accessReviewHistoryDefinition-id in: path @@ -344573,6 +345092,13 @@ paths: schema: type: string x-ms-docs-key-type: accessReviewHistoryDefinition + - name: accessReviewHistoryInstance-id + in: path + description: 'key: id of accessReviewHistoryInstance' + required: true + schema: + type: string + x-ms-docs-key-type: accessReviewHistoryInstance responses: '200': description: Success @@ -344580,7 +345106,7 @@ paths: application/json: schema: anyOf: - - $ref: '#/components/schemas/microsoft.graph.accessReviewHistoryDefinition' + - $ref: '#/components/schemas/microsoft.graph.accessReviewHistoryInstance' nullable: true default: $ref: '#/components/responses/error' @@ -572231,6 +572757,8 @@ paths: - principal desc - principalLink - principalLink desc + - principalResourceMembership + - principalResourceMembership desc - recommendation - recommendation desc - resource @@ -572263,6 +572791,7 @@ paths: - justification - principal - principalLink + - principalResourceMembership - recommendation - resource - resourceLink @@ -572379,6 +572908,7 @@ paths: - justification - principal - principalLink + - principalResourceMembership - recommendation - resource - resourceLink @@ -583552,6 +584082,7 @@ paths: - contributionToContentDiscoveryAsOrganizationDisabled - contributionToContentDiscoveryDisabled - itemInsights + - contactMergeSuggestions - regionalAndLanguageSettings - shiftPreferences type: string @@ -583567,6 +584098,7 @@ paths: enum: - '*' - itemInsights + - contactMergeSuggestions - regionalAndLanguageSettings - shiftPreferences type: string @@ -583580,6 +584112,8 @@ paths: links: itemInsights: operationId: me.Settings.GetItemInsights + contactMergeSuggestions: + operationId: me.Settings.GetContactMergeSuggestions regionalAndLanguageSettings: operationId: me.Settings.GetRegionalAndLanguageSettings shiftPreferences: @@ -583624,6 +584158,83 @@ paths: default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation + /me/settings/contactMergeSuggestions: + get: + tags: + - me.userSettings + summary: Get contactMergeSuggestions from me + operationId: me.settings.GetContactMergeSuggestions + parameters: + - name: $select + in: query + description: Select properties to be returned + style: form + explode: false + schema: + uniqueItems: true + type: array + items: + enum: + - id + - isEnabled + type: string + - name: $expand + in: query + description: Expand related entities + style: form + explode: false + schema: + uniqueItems: true + type: array + items: + enum: + - '*' + type: string + responses: + '200': + description: Retrieved navigation property + content: + application/json: + schema: + $ref: '#/components/schemas/microsoft.graph.contactMergeSuggestions' + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: operation + patch: + tags: + - me.userSettings + summary: Update the navigation property contactMergeSuggestions in me + operationId: me.settings.UpdateContactMergeSuggestions + requestBody: + description: New navigation property values + content: + application/json: + schema: + $ref: '#/components/schemas/microsoft.graph.contactMergeSuggestions' + required: true + responses: + '204': + description: Success + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: operation + delete: + tags: + - me.userSettings + summary: Delete navigation property contactMergeSuggestions for me + operationId: me.settings.DeleteContactMergeSuggestions + parameters: + - name: If-Match + in: header + description: ETag + schema: + type: string + responses: + '204': + description: Success + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: operation /me/settings/itemInsights: get: tags: @@ -652990,6 +653601,7 @@ paths: items: enum: - id + - simulationAutomations - simulations type: string - name: $expand @@ -653003,6 +653615,7 @@ paths: items: enum: - '*' + - simulationAutomations - simulations type: string responses: @@ -653013,6 +653626,8 @@ paths: schema: $ref: '#/components/schemas/microsoft.graph.attackSimulationRoot' links: + simulationAutomations: + operationId: security.AttackSimulation.ListSimulationAutomations simulations: operationId: security.AttackSimulation.ListSimulations default: @@ -653055,6 +653670,483 @@ paths: default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation + /security/attackSimulation/simulationAutomations: + get: + tags: + - security.attackSimulationRoot + summary: Get simulationAutomations from security + operationId: security.attackSimulation.ListSimulationAutomations + parameters: + - $ref: '#/components/parameters/top' + - $ref: '#/components/parameters/skip' + - $ref: '#/components/parameters/search' + - $ref: '#/components/parameters/filter' + - $ref: '#/components/parameters/count' + - name: $orderby + in: query + description: Order items by property values + style: form + explode: false + schema: + uniqueItems: true + type: array + items: + enum: + - id + - id desc + - createdBy + - createdBy desc + - createdDateTime + - createdDateTime desc + - description + - description desc + - displayName + - displayName desc + - lastModifiedBy + - lastModifiedBy desc + - lastModifiedDateTime + - lastModifiedDateTime desc + - lastRunDateTime + - lastRunDateTime desc + - nextRunDateTime + - nextRunDateTime desc + - status + - status desc + type: string + - name: $select + in: query + description: Select properties to be returned + style: form + explode: false + schema: + uniqueItems: true + type: array + items: + enum: + - id + - createdBy + - createdDateTime + - description + - displayName + - lastModifiedBy + - lastModifiedDateTime + - lastRunDateTime + - nextRunDateTime + - status + - runs + type: string + - name: $expand + in: query + description: Expand related entities + style: form + explode: false + schema: + uniqueItems: true + type: array + items: + enum: + - '*' + - runs + type: string + responses: + '200': + description: Retrieved navigation property + content: + application/json: + schema: + title: Collection of simulationAutomation + type: object + properties: + value: + type: array + items: + $ref: '#/components/schemas/microsoft.graph.simulationAutomation' + '@odata.nextLink': + type: string + default: + $ref: '#/components/responses/error' + x-ms-pageable: + nextLinkName: '@odata.nextLink' + operationName: listMore + x-ms-docs-operation-type: operation + post: + tags: + - security.attackSimulationRoot + summary: Create new navigation property to simulationAutomations for security + operationId: security.attackSimulation.CreateSimulationAutomations + requestBody: + description: New navigation property + content: + application/json: + schema: + $ref: '#/components/schemas/microsoft.graph.simulationAutomation' + required: true + responses: + '201': + description: Created navigation property. + content: + application/json: + schema: + $ref: '#/components/schemas/microsoft.graph.simulationAutomation' + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: operation + '/security/attackSimulation/simulationAutomations/{simulationAutomation-id}': + get: + tags: + - security.attackSimulationRoot + summary: Get simulationAutomations from security + operationId: security.attackSimulation.GetSimulationAutomations + parameters: + - name: simulationAutomation-id + in: path + description: 'key: id of simulationAutomation' + required: true + schema: + type: string + x-ms-docs-key-type: simulationAutomation + - name: $select + in: query + description: Select properties to be returned + style: form + explode: false + schema: + uniqueItems: true + type: array + items: + enum: + - id + - createdBy + - createdDateTime + - description + - displayName + - lastModifiedBy + - lastModifiedDateTime + - lastRunDateTime + - nextRunDateTime + - status + - runs + type: string + - name: $expand + in: query + description: Expand related entities + style: form + explode: false + schema: + uniqueItems: true + type: array + items: + enum: + - '*' + - runs + type: string + responses: + '200': + description: Retrieved navigation property + content: + application/json: + schema: + $ref: '#/components/schemas/microsoft.graph.simulationAutomation' + links: + runs: + operationId: security.attackSimulation.SimulationAutomations.ListRuns + parameters: + simulationAutomation-id: $request.path.simulationAutomation-id + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: operation + patch: + tags: + - security.attackSimulationRoot + summary: Update the navigation property simulationAutomations in security + operationId: security.attackSimulation.UpdateSimulationAutomations + parameters: + - name: simulationAutomation-id + in: path + description: 'key: id of simulationAutomation' + required: true + schema: + type: string + x-ms-docs-key-type: simulationAutomation + requestBody: + description: New navigation property values + content: + application/json: + schema: + $ref: '#/components/schemas/microsoft.graph.simulationAutomation' + required: true + responses: + '204': + description: Success + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: operation + delete: + tags: + - security.attackSimulationRoot + summary: Delete navigation property simulationAutomations for security + operationId: security.attackSimulation.DeleteSimulationAutomations + parameters: + - name: simulationAutomation-id + in: path + description: 'key: id of simulationAutomation' + required: true + schema: + type: string + x-ms-docs-key-type: simulationAutomation + - name: If-Match + in: header + description: ETag + schema: + type: string + responses: + '204': + description: Success + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: operation + '/security/attackSimulation/simulationAutomations/{simulationAutomation-id}/runs': + get: + tags: + - security.attackSimulationRoot + summary: Get runs from security + operationId: security.attackSimulation.simulationAutomations.ListRuns + parameters: + - name: simulationAutomation-id + in: path + description: 'key: id of simulationAutomation' + required: true + schema: + type: string + x-ms-docs-key-type: simulationAutomation + - $ref: '#/components/parameters/top' + - $ref: '#/components/parameters/skip' + - $ref: '#/components/parameters/search' + - $ref: '#/components/parameters/filter' + - $ref: '#/components/parameters/count' + - name: $orderby + in: query + description: Order items by property values + style: form + explode: false + schema: + uniqueItems: true + type: array + items: + enum: + - id + - id desc + - endDateTime + - endDateTime desc + - simulationId + - simulationId desc + - startDateTime + - startDateTime desc + - status + - status desc + type: string + - name: $select + in: query + description: Select properties to be returned + style: form + explode: false + schema: + uniqueItems: true + type: array + items: + enum: + - id + - endDateTime + - simulationId + - startDateTime + - status + type: string + - name: $expand + in: query + description: Expand related entities + style: form + explode: false + schema: + uniqueItems: true + type: array + items: + enum: + - '*' + type: string + responses: + '200': + description: Retrieved navigation property + content: + application/json: + schema: + title: Collection of simulationAutomationRun + type: object + properties: + value: + type: array + items: + $ref: '#/components/schemas/microsoft.graph.simulationAutomationRun' + '@odata.nextLink': + type: string + default: + $ref: '#/components/responses/error' + x-ms-pageable: + nextLinkName: '@odata.nextLink' + operationName: listMore + x-ms-docs-operation-type: operation + post: + tags: + - security.attackSimulationRoot + summary: Create new navigation property to runs for security + operationId: security.attackSimulation.simulationAutomations.CreateRuns + parameters: + - name: simulationAutomation-id + in: path + description: 'key: id of simulationAutomation' + required: true + schema: + type: string + x-ms-docs-key-type: simulationAutomation + requestBody: + description: New navigation property + content: + application/json: + schema: + $ref: '#/components/schemas/microsoft.graph.simulationAutomationRun' + required: true + responses: + '201': + description: Created navigation property. + content: + application/json: + schema: + $ref: '#/components/schemas/microsoft.graph.simulationAutomationRun' + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: operation + '/security/attackSimulation/simulationAutomations/{simulationAutomation-id}/runs/{simulationAutomationRun-id}': + get: + tags: + - security.attackSimulationRoot + summary: Get runs from security + operationId: security.attackSimulation.simulationAutomations.GetRuns + parameters: + - name: simulationAutomation-id + in: path + description: 'key: id of simulationAutomation' + required: true + schema: + type: string + x-ms-docs-key-type: simulationAutomation + - name: simulationAutomationRun-id + in: path + description: 'key: id of simulationAutomationRun' + required: true + schema: + type: string + x-ms-docs-key-type: simulationAutomationRun + - name: $select + in: query + description: Select properties to be returned + style: form + explode: false + schema: + uniqueItems: true + type: array + items: + enum: + - id + - endDateTime + - simulationId + - startDateTime + - status + type: string + - name: $expand + in: query + description: Expand related entities + style: form + explode: false + schema: + uniqueItems: true + type: array + items: + enum: + - '*' + type: string + responses: + '200': + description: Retrieved navigation property + content: + application/json: + schema: + $ref: '#/components/schemas/microsoft.graph.simulationAutomationRun' + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: operation + patch: + tags: + - security.attackSimulationRoot + summary: Update the navigation property runs in security + operationId: security.attackSimulation.simulationAutomations.UpdateRuns + parameters: + - name: simulationAutomation-id + in: path + description: 'key: id of simulationAutomation' + required: true + schema: + type: string + x-ms-docs-key-type: simulationAutomation + - name: simulationAutomationRun-id + in: path + description: 'key: id of simulationAutomationRun' + required: true + schema: + type: string + x-ms-docs-key-type: simulationAutomationRun + requestBody: + description: New navigation property values + content: + application/json: + schema: + $ref: '#/components/schemas/microsoft.graph.simulationAutomationRun' + required: true + responses: + '204': + description: Success + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: operation + delete: + tags: + - security.attackSimulationRoot + summary: Delete navigation property runs for security + operationId: security.attackSimulation.simulationAutomations.DeleteRuns + parameters: + - name: simulationAutomation-id + in: path + description: 'key: id of simulationAutomation' + required: true + schema: + type: string + x-ms-docs-key-type: simulationAutomation + - name: simulationAutomationRun-id + in: path + description: 'key: id of simulationAutomationRun' + required: true + schema: + type: string + x-ms-docs-key-type: simulationAutomationRun + - name: If-Match + in: header + description: ETag + schema: + type: string + responses: + '204': + description: Success + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: operation /security/attackSimulation/simulations: get: tags: @@ -653084,8 +654176,8 @@ paths: - attackTechnique desc - attackType - attackType desc - - cleanupArtifacts - - cleanupArtifacts desc + - automationId + - automationId desc - completionDateTime - completionDateTime desc - createdBy @@ -653096,10 +654188,6 @@ paths: - description desc - displayName - displayName desc - - enableRegionTimezoneDelivery - - enableRegionTimezoneDelivery desc - - includeAllAccountTargets - - includeAllAccountTargets desc - isAutomated - isAutomated desc - lastModifiedBy @@ -653110,18 +654198,10 @@ paths: - launchDateTime desc - payloadDeliveryPlatform - payloadDeliveryPlatform desc - - payloadSource - - payloadSource desc - report - report desc - status - status desc - - trainingAssignmentPreference - - trainingAssignmentPreference desc - - trainingContentPreference - - trainingContentPreference desc - - trainingDueDateTime - - trainingDueDateTime desc type: string - name: $select in: query @@ -653136,25 +654216,19 @@ paths: - id - attackTechnique - attackType - - cleanupArtifacts + - automationId - completionDateTime - createdBy - createdDateTime - description - displayName - - enableRegionTimezoneDelivery - - includeAllAccountTargets - isAutomated - lastModifiedBy - lastModifiedDateTime - launchDateTime - payloadDeliveryPlatform - - payloadSource - report - status - - trainingAssignmentPreference - - trainingContentPreference - - trainingDueDateTime type: string - name: $expand in: query @@ -653240,25 +654314,19 @@ paths: - id - attackTechnique - attackType - - cleanupArtifacts + - automationId - completionDateTime - createdBy - createdDateTime - description - displayName - - enableRegionTimezoneDelivery - - includeAllAccountTargets - isAutomated - lastModifiedBy - lastModifiedDateTime - launchDateTime - payloadDeliveryPlatform - - payloadSource - report - status - - trainingAssignmentPreference - - trainingContentPreference - - trainingDueDateTime type: string - name: $expand in: query @@ -660853,6 +661921,7 @@ paths: tags: - servicePrincipals.synchronization summary: Get jobs from servicePrincipals + description: 'Performs synchronization by periodically running in the background, polling for changes in one directory, and pushing them to another directory.' operationId: servicePrincipals.synchronization.ListJobs parameters: - name: servicePrincipal-id @@ -660943,6 +662012,7 @@ paths: tags: - servicePrincipals.synchronization summary: Create new navigation property to jobs for servicePrincipals + description: 'Performs synchronization by periodically running in the background, polling for changes in one directory, and pushing them to another directory.' operationId: servicePrincipals.synchronization.CreateJobs parameters: - name: servicePrincipal-id @@ -660974,6 +662044,7 @@ paths: tags: - servicePrincipals.synchronization summary: Get jobs from servicePrincipals + description: 'Performs synchronization by periodically running in the background, polling for changes in one directory, and pushing them to another directory.' operationId: servicePrincipals.synchronization.GetJobs parameters: - name: servicePrincipal-id @@ -661040,6 +662111,7 @@ paths: tags: - servicePrincipals.synchronization summary: Update the navigation property jobs in servicePrincipals + description: 'Performs synchronization by periodically running in the background, polling for changes in one directory, and pushing them to another directory.' operationId: servicePrincipals.synchronization.UpdateJobs parameters: - name: servicePrincipal-id @@ -661073,6 +662145,7 @@ paths: tags: - servicePrincipals.synchronization summary: Delete navigation property jobs for servicePrincipals + description: 'Performs synchronization by periodically running in the background, polling for changes in one directory, and pushing them to another directory.' operationId: servicePrincipals.synchronization.DeleteJobs parameters: - name: servicePrincipal-id @@ -662008,6 +663081,7 @@ paths: tags: - servicePrincipals.synchronization summary: Get templates from servicePrincipals + description: Pre-configured synchronization settings for a particular application. operationId: servicePrincipals.synchronization.ListTemplates parameters: - name: servicePrincipal-id @@ -662104,6 +663178,7 @@ paths: tags: - servicePrincipals.synchronization summary: Create new navigation property to templates for servicePrincipals + description: Pre-configured synchronization settings for a particular application. operationId: servicePrincipals.synchronization.CreateTemplates parameters: - name: servicePrincipal-id @@ -662135,6 +663210,7 @@ paths: tags: - servicePrincipals.synchronization summary: Get templates from servicePrincipals + description: Pre-configured synchronization settings for a particular application. operationId: servicePrincipals.synchronization.GetTemplates parameters: - name: servicePrincipal-id @@ -662203,6 +663279,7 @@ paths: tags: - servicePrincipals.synchronization summary: Update the navigation property templates in servicePrincipals + description: Pre-configured synchronization settings for a particular application. operationId: servicePrincipals.synchronization.UpdateTemplates parameters: - name: servicePrincipal-id @@ -662236,6 +663313,7 @@ paths: tags: - servicePrincipals.synchronization summary: Delete navigation property templates for servicePrincipals + description: Pre-configured synchronization settings for a particular application. operationId: servicePrincipals.synchronization.DeleteTemplates parameters: - name: servicePrincipal-id @@ -665587,6 +666665,7 @@ paths: - parentReference - webUrl - contentType + - deleted - sharepointIds - createdByUser - lastModifiedByUser @@ -670636,6 +671715,8 @@ paths: - webUrl desc - contentType - contentType desc + - deleted + - deleted desc - sharepointIds - sharepointIds desc type: string @@ -670660,6 +671741,7 @@ paths: - parentReference - webUrl - contentType + - deleted - sharepointIds - createdByUser - lastModifiedByUser @@ -670783,6 +671865,7 @@ paths: - parentReference - webUrl - contentType + - deleted - sharepointIds - createdByUser - lastModifiedByUser @@ -671615,6 +672698,7 @@ paths: - parentReference - webUrl - contentType + - deleted - sharepointIds - createdByUser - lastModifiedByUser @@ -672810,99 +673894,281 @@ paths: schema: type: string x-ms-docs-key-type: listItemVersion - - name: $select - in: query - description: Select properties to be returned - style: form - explode: false - schema: - uniqueItems: true - type: array - items: - enum: - - id - - lastModifiedBy - - lastModifiedDateTime - - publication - - fields - type: string - - name: $expand - in: query - description: Expand related entities - style: form - explode: false - schema: - uniqueItems: true - type: array - items: - enum: - - '*' - - fields - type: string - responses: - '200': - description: Retrieved navigation property - content: - application/json: - schema: - $ref: '#/components/schemas/microsoft.graph.listItemVersion' - links: - fields: - operationId: shares.list.items.Versions.GetFields - parameters: - sharedDriveItem-id: $request.path.sharedDriveItem-id - listItem-id: $request.path.listItem-id - listItemVersion-id: $request.path.listItemVersion-id - default: - $ref: '#/components/responses/error' - x-ms-docs-operation-type: operation - patch: - tags: - - shares.list - summary: Update the navigation property versions in shares - description: The list of previous versions of the list item. - operationId: shares.list.items.UpdateVersions - parameters: - - name: sharedDriveItem-id - in: path - description: 'key: id of sharedDriveItem' - required: true - schema: - type: string - x-ms-docs-key-type: sharedDriveItem - - name: listItem-id - in: path - description: 'key: id of listItem' - required: true - schema: - type: string - x-ms-docs-key-type: listItem - - name: listItemVersion-id - in: path - description: 'key: id of listItemVersion' - required: true + - name: $select + in: query + description: Select properties to be returned + style: form + explode: false + schema: + uniqueItems: true + type: array + items: + enum: + - id + - lastModifiedBy + - lastModifiedDateTime + - publication + - fields + type: string + - name: $expand + in: query + description: Expand related entities + style: form + explode: false + schema: + uniqueItems: true + type: array + items: + enum: + - '*' + - fields + type: string + responses: + '200': + description: Retrieved navigation property + content: + application/json: + schema: + $ref: '#/components/schemas/microsoft.graph.listItemVersion' + links: + fields: + operationId: shares.list.items.Versions.GetFields + parameters: + sharedDriveItem-id: $request.path.sharedDriveItem-id + listItem-id: $request.path.listItem-id + listItemVersion-id: $request.path.listItemVersion-id + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: operation + patch: + tags: + - shares.list + summary: Update the navigation property versions in shares + description: The list of previous versions of the list item. + operationId: shares.list.items.UpdateVersions + parameters: + - name: sharedDriveItem-id + in: path + description: 'key: id of sharedDriveItem' + required: true + schema: + type: string + x-ms-docs-key-type: sharedDriveItem + - name: listItem-id + in: path + description: 'key: id of listItem' + required: true + schema: + type: string + x-ms-docs-key-type: listItem + - name: listItemVersion-id + in: path + description: 'key: id of listItemVersion' + required: true + schema: + type: string + x-ms-docs-key-type: listItemVersion + requestBody: + description: New navigation property values + content: + application/json: + schema: + $ref: '#/components/schemas/microsoft.graph.listItemVersion' + required: true + responses: + '204': + description: Success + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: operation + delete: + tags: + - shares.list + summary: Delete navigation property versions for shares + description: The list of previous versions of the list item. + operationId: shares.list.items.DeleteVersions + parameters: + - name: sharedDriveItem-id + in: path + description: 'key: id of sharedDriveItem' + required: true + schema: + type: string + x-ms-docs-key-type: sharedDriveItem + - name: listItem-id + in: path + description: 'key: id of listItem' + required: true + schema: + type: string + x-ms-docs-key-type: listItem + - name: listItemVersion-id + in: path + description: 'key: id of listItemVersion' + required: true + schema: + type: string + x-ms-docs-key-type: listItemVersion + - name: If-Match + in: header + description: ETag + schema: + type: string + responses: + '204': + description: Success + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: operation + '/shares/{sharedDriveItem-id}/list/items/{listItem-id}/versions/{listItemVersion-id}/fields': + get: + tags: + - shares.list + summary: Get fields from shares + description: A collection of the fields and values for this version of the list item. + operationId: shares.list.items.versions.GetFields + parameters: + - name: sharedDriveItem-id + in: path + description: 'key: id of sharedDriveItem' + required: true + schema: + type: string + x-ms-docs-key-type: sharedDriveItem + - name: listItem-id + in: path + description: 'key: id of listItem' + required: true + schema: + type: string + x-ms-docs-key-type: listItem + - name: listItemVersion-id + in: path + description: 'key: id of listItemVersion' + required: true + schema: + type: string + x-ms-docs-key-type: listItemVersion + - name: $select + in: query + description: Select properties to be returned + style: form + explode: false + schema: + uniqueItems: true + type: array + items: + enum: + - id + type: string + - name: $expand + in: query + description: Expand related entities + style: form + explode: false + schema: + uniqueItems: true + type: array + items: + enum: + - '*' + type: string + responses: + '200': + description: Retrieved navigation property + content: + application/json: + schema: + $ref: '#/components/schemas/microsoft.graph.fieldValueSet' + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: operation + patch: + tags: + - shares.list + summary: Update the navigation property fields in shares + description: A collection of the fields and values for this version of the list item. + operationId: shares.list.items.versions.UpdateFields + parameters: + - name: sharedDriveItem-id + in: path + description: 'key: id of sharedDriveItem' + required: true + schema: + type: string + x-ms-docs-key-type: sharedDriveItem + - name: listItem-id + in: path + description: 'key: id of listItem' + required: true + schema: + type: string + x-ms-docs-key-type: listItem + - name: listItemVersion-id + in: path + description: 'key: id of listItemVersion' + required: true + schema: + type: string + x-ms-docs-key-type: listItemVersion + requestBody: + description: New navigation property values + content: + application/json: + schema: + $ref: '#/components/schemas/microsoft.graph.fieldValueSet' + required: true + responses: + '204': + description: Success + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: operation + delete: + tags: + - shares.list + summary: Delete navigation property fields for shares + description: A collection of the fields and values for this version of the list item. + operationId: shares.list.items.versions.DeleteFields + parameters: + - name: sharedDriveItem-id + in: path + description: 'key: id of sharedDriveItem' + required: true + schema: + type: string + x-ms-docs-key-type: sharedDriveItem + - name: listItem-id + in: path + description: 'key: id of listItem' + required: true + schema: + type: string + x-ms-docs-key-type: listItem + - name: listItemVersion-id + in: path + description: 'key: id of listItemVersion' + required: true + schema: + type: string + x-ms-docs-key-type: listItemVersion + - name: If-Match + in: header + description: ETag schema: type: string - x-ms-docs-key-type: listItemVersion - requestBody: - description: New navigation property values - content: - application/json: - schema: - $ref: '#/components/schemas/microsoft.graph.listItemVersion' - required: true responses: '204': description: Success default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation - delete: + '/shares/{sharedDriveItem-id}/list/items/{listItem-id}/versions/{listItemVersion-id}/microsoft.graph.restoreVersion': + post: tags: - - shares.list - summary: Delete navigation property versions for shares - description: The list of previous versions of the list item. - operationId: shares.list.items.DeleteVersions + - shares.Actions + summary: Invoke action restoreVersion + operationId: shares.sharedDriveItem.list.items.listItem.versions.listItemVersion.restoreVersion parameters: - name: sharedDriveItem-id in: path @@ -672925,24 +674191,18 @@ paths: schema: type: string x-ms-docs-key-type: listItemVersion - - name: If-Match - in: header - description: ETag - schema: - type: string responses: '204': description: Success default: $ref: '#/components/responses/error' - x-ms-docs-operation-type: operation - '/shares/{sharedDriveItem-id}/list/items/{listItem-id}/versions/{listItemVersion-id}/fields': + x-ms-docs-operation-type: action + '/shares/{sharedDriveItem-id}/list/items/microsoft.graph.delta()': get: tags: - - shares.list - summary: Get fields from shares - description: A collection of the fields and values for this version of the list item. - operationId: shares.list.items.versions.GetFields + - shares.Functions + summary: Invoke function delta + operationId: shares.sharedDriveItem.list.items.delta parameters: - name: sharedDriveItem-id in: path @@ -672951,140 +674211,26 @@ paths: schema: type: string x-ms-docs-key-type: sharedDriveItem - - name: listItem-id - in: path - description: 'key: id of listItem' - required: true - schema: - type: string - x-ms-docs-key-type: listItem - - name: listItemVersion-id - in: path - description: 'key: id of listItemVersion' - required: true - schema: - type: string - x-ms-docs-key-type: listItemVersion - - name: $select - in: query - description: Select properties to be returned - style: form - explode: false - schema: - uniqueItems: true - type: array - items: - enum: - - id - type: string - - name: $expand - in: query - description: Expand related entities - style: form - explode: false - schema: - uniqueItems: true - type: array - items: - enum: - - '*' - type: string responses: '200': - description: Retrieved navigation property + description: Success content: application/json: schema: - $ref: '#/components/schemas/microsoft.graph.fieldValueSet' - default: - $ref: '#/components/responses/error' - x-ms-docs-operation-type: operation - patch: - tags: - - shares.list - summary: Update the navigation property fields in shares - description: A collection of the fields and values for this version of the list item. - operationId: shares.list.items.versions.UpdateFields - parameters: - - name: sharedDriveItem-id - in: path - description: 'key: id of sharedDriveItem' - required: true - schema: - type: string - x-ms-docs-key-type: sharedDriveItem - - name: listItem-id - in: path - description: 'key: id of listItem' - required: true - schema: - type: string - x-ms-docs-key-type: listItem - - name: listItemVersion-id - in: path - description: 'key: id of listItemVersion' - required: true - schema: - type: string - x-ms-docs-key-type: listItemVersion - requestBody: - description: New navigation property values - content: - application/json: - schema: - $ref: '#/components/schemas/microsoft.graph.fieldValueSet' - required: true - responses: - '204': - description: Success - default: - $ref: '#/components/responses/error' - x-ms-docs-operation-type: operation - delete: - tags: - - shares.list - summary: Delete navigation property fields for shares - description: A collection of the fields and values for this version of the list item. - operationId: shares.list.items.versions.DeleteFields - parameters: - - name: sharedDriveItem-id - in: path - description: 'key: id of sharedDriveItem' - required: true - schema: - type: string - x-ms-docs-key-type: sharedDriveItem - - name: listItem-id - in: path - description: 'key: id of listItem' - required: true - schema: - type: string - x-ms-docs-key-type: listItem - - name: listItemVersion-id - in: path - description: 'key: id of listItemVersion' - required: true - schema: - type: string - x-ms-docs-key-type: listItemVersion - - name: If-Match - in: header - description: ETag - schema: - type: string - responses: - '204': - description: Success + type: array + items: + anyOf: + - $ref: '#/components/schemas/microsoft.graph.listItem' + nullable: true default: $ref: '#/components/responses/error' - x-ms-docs-operation-type: operation - '/shares/{sharedDriveItem-id}/list/items/{listItem-id}/versions/{listItemVersion-id}/microsoft.graph.restoreVersion': - post: + x-ms-docs-operation-type: function + '/shares/{sharedDriveItem-id}/list/items/microsoft.graph.delta(token=''{token}'')': + get: tags: - - shares.Actions - summary: Invoke action restoreVersion - operationId: shares.sharedDriveItem.list.items.listItem.versions.listItemVersion.restoreVersion + - shares.Functions + summary: Invoke function delta + operationId: shares.sharedDriveItem.list.items.delta parameters: - name: sharedDriveItem-id in: path @@ -673093,26 +674239,27 @@ paths: schema: type: string x-ms-docs-key-type: sharedDriveItem - - name: listItem-id - in: path - description: 'key: id of listItem' - required: true - schema: - type: string - x-ms-docs-key-type: listItem - - name: listItemVersion-id + - name: token in: path - description: 'key: id of listItemVersion' + description: 'Usage: token={token}' required: true schema: type: string - x-ms-docs-key-type: listItemVersion + nullable: true responses: - '204': + '200': description: Success + content: + application/json: + schema: + type: array + items: + anyOf: + - $ref: '#/components/schemas/microsoft.graph.listItem' + nullable: true default: $ref: '#/components/responses/error' - x-ms-docs-operation-type: action + x-ms-docs-operation-type: function '/shares/{sharedDriveItem-id}/list/operations': get: tags: @@ -673707,6 +674854,7 @@ paths: - parentReference - webUrl - contentType + - deleted - sharepointIds - createdByUser - lastModifiedByUser @@ -674428,6 +675576,7 @@ paths: - parentReference - webUrl - contentType + - deleted - sharepointIds - createdByUser - lastModifiedByUser @@ -682303,6 +683452,7 @@ paths: - parentReference - webUrl - contentType + - deleted - sharepointIds - createdByUser - lastModifiedByUser @@ -688025,6 +689175,8 @@ paths: - webUrl desc - contentType - contentType desc + - deleted + - deleted desc - sharepointIds - sharepointIds desc type: string @@ -688049,6 +689201,7 @@ paths: - parentReference - webUrl - contentType + - deleted - sharepointIds - createdByUser - lastModifiedByUser @@ -688186,6 +689339,7 @@ paths: - parentReference - webUrl - contentType + - deleted - sharepointIds - createdByUser - lastModifiedByUser @@ -689129,6 +690283,7 @@ paths: - parentReference - webUrl - contentType + - deleted - sharepointIds - createdByUser - lastModifiedByUser @@ -690789,23 +691944,64 @@ paths: schema: type: string x-ms-docs-key-type: listItemVersion - - name: If-Match - in: header - description: ETag - schema: - type: string + - name: If-Match + in: header + description: ETag + schema: + type: string + responses: + '204': + description: Success + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: operation + '/sites/{site-id}/lists/{list-id}/items/{listItem-id}/versions/{listItemVersion-id}/microsoft.graph.restoreVersion': + post: + tags: + - sites.Actions + summary: Invoke action restoreVersion + operationId: sites.site.lists.list.items.listItem.versions.listItemVersion.restoreVersion + parameters: + - name: site-id + in: path + description: 'key: id of site' + required: true + schema: + type: string + x-ms-docs-key-type: site + - name: list-id + in: path + description: 'key: id of list' + required: true + schema: + type: string + x-ms-docs-key-type: list + - name: listItem-id + in: path + description: 'key: id of listItem' + required: true + schema: + type: string + x-ms-docs-key-type: listItem + - name: listItemVersion-id + in: path + description: 'key: id of listItemVersion' + required: true + schema: + type: string + x-ms-docs-key-type: listItemVersion responses: '204': description: Success default: $ref: '#/components/responses/error' - x-ms-docs-operation-type: operation - '/sites/{site-id}/lists/{list-id}/items/{listItem-id}/versions/{listItemVersion-id}/microsoft.graph.restoreVersion': - post: + x-ms-docs-operation-type: action + '/sites/{site-id}/lists/{list-id}/items/microsoft.graph.delta()': + get: tags: - - sites.Actions - summary: Invoke action restoreVersion - operationId: sites.site.lists.list.items.listItem.versions.listItemVersion.restoreVersion + - sites.Functions + summary: Invoke function delta + operationId: sites.site.lists.list.items.delta parameters: - name: site-id in: path @@ -690821,26 +692017,62 @@ paths: schema: type: string x-ms-docs-key-type: list - - name: listItem-id + responses: + '200': + description: Success + content: + application/json: + schema: + type: array + items: + anyOf: + - $ref: '#/components/schemas/microsoft.graph.listItem' + nullable: true + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: function + '/sites/{site-id}/lists/{list-id}/items/microsoft.graph.delta(token=''{token}'')': + get: + tags: + - sites.Functions + summary: Invoke function delta + operationId: sites.site.lists.list.items.delta + parameters: + - name: site-id in: path - description: 'key: id of listItem' + description: 'key: id of site' required: true schema: type: string - x-ms-docs-key-type: listItem - - name: listItemVersion-id + x-ms-docs-key-type: site + - name: list-id in: path - description: 'key: id of listItemVersion' + description: 'key: id of list' required: true schema: type: string - x-ms-docs-key-type: listItemVersion + x-ms-docs-key-type: list + - name: token + in: path + description: 'Usage: token={token}' + required: true + schema: + type: string + nullable: true responses: - '204': + '200': description: Success + content: + application/json: + schema: + type: array + items: + anyOf: + - $ref: '#/components/schemas/microsoft.graph.listItem' + nullable: true default: $ref: '#/components/responses/error' - x-ms-docs-operation-type: action + x-ms-docs-operation-type: function '/sites/{site-id}/lists/{list-id}/operations': get: tags: @@ -741179,6 +742411,7 @@ paths: tags: - teamwork.teamworkDevice summary: Get devices from teamwork + description: The Teams devices provisioned for the tenant. operationId: teamwork.ListDevices parameters: - $ref: '#/components/parameters/top' @@ -741289,6 +742522,7 @@ paths: tags: - teamwork.teamworkDevice summary: Create new navigation property to devices for teamwork + description: The Teams devices provisioned for the tenant. operationId: teamwork.CreateDevices requestBody: description: New navigation property @@ -741312,6 +742546,7 @@ paths: tags: - teamwork.teamworkDevice summary: Get devices from teamwork + description: The Teams devices provisioned for the tenant. operationId: teamwork.GetDevices parameters: - name: teamworkDevice-id @@ -741395,6 +742630,7 @@ paths: tags: - teamwork.teamworkDevice summary: Update the navigation property devices in teamwork + description: The Teams devices provisioned for the tenant. operationId: teamwork.UpdateDevices parameters: - name: teamworkDevice-id @@ -741421,6 +742657,7 @@ paths: tags: - teamwork.teamworkDevice summary: Delete navigation property devices for teamwork + description: The Teams devices provisioned for the tenant. operationId: teamwork.DeleteDevices parameters: - name: teamworkDevice-id @@ -741446,6 +742683,7 @@ paths: tags: - teamwork.teamworkDevice summary: Get activity from teamwork + description: The activity properties that change based on the device usage. operationId: teamwork.devices.GetActivity parameters: - name: teamworkDevice-id @@ -741498,6 +742736,7 @@ paths: tags: - teamwork.teamworkDevice summary: Update the navigation property activity in teamwork + description: The activity properties that change based on the device usage. operationId: teamwork.devices.UpdateActivity parameters: - name: teamworkDevice-id @@ -741524,6 +742763,7 @@ paths: tags: - teamwork.teamworkDevice summary: Delete navigation property activity for teamwork + description: The activity properties that change based on the device usage. operationId: teamwork.devices.DeleteActivity parameters: - name: teamworkDevice-id @@ -741549,6 +742789,7 @@ paths: tags: - teamwork.teamworkDevice summary: Get configuration from teamwork + description: The configuration properties of the device. operationId: teamwork.devices.GetConfiguration parameters: - name: teamworkDevice-id @@ -741608,6 +742849,7 @@ paths: tags: - teamwork.teamworkDevice summary: Update the navigation property configuration in teamwork + description: The configuration properties of the device. operationId: teamwork.devices.UpdateConfiguration parameters: - name: teamworkDevice-id @@ -741634,6 +742876,7 @@ paths: tags: - teamwork.teamworkDevice summary: Delete navigation property configuration for teamwork + description: The configuration properties of the device. operationId: teamwork.devices.DeleteConfiguration parameters: - name: teamworkDevice-id @@ -741659,6 +742902,7 @@ paths: tags: - teamwork.teamworkDevice summary: Get health from teamwork + description: The health properties of the device. operationId: teamwork.devices.GetHealth parameters: - name: teamworkDevice-id @@ -741715,6 +742959,7 @@ paths: tags: - teamwork.teamworkDevice summary: Update the navigation property health in teamwork + description: The health properties of the device. operationId: teamwork.devices.UpdateHealth parameters: - name: teamworkDevice-id @@ -741741,6 +742986,7 @@ paths: tags: - teamwork.teamworkDevice summary: Delete navigation property health for teamwork + description: The health properties of the device. operationId: teamwork.devices.DeleteHealth parameters: - name: teamworkDevice-id @@ -741840,6 +743086,7 @@ paths: tags: - teamwork.teamworkDevice summary: Get operations from teamwork + description: The async operations on the device. operationId: teamwork.devices.ListOperations parameters: - name: teamworkDevice-id @@ -741943,6 +743190,7 @@ paths: tags: - teamwork.teamworkDevice summary: Create new navigation property to operations for teamwork + description: The async operations on the device. operationId: teamwork.devices.CreateOperations parameters: - name: teamworkDevice-id @@ -741974,6 +743222,7 @@ paths: tags: - teamwork.teamworkDevice summary: Get operations from teamwork + description: The async operations on the device. operationId: teamwork.devices.GetOperations parameters: - name: teamworkDevice-id @@ -742037,6 +743286,7 @@ paths: tags: - teamwork.teamworkDevice summary: Update the navigation property operations in teamwork + description: The async operations on the device. operationId: teamwork.devices.UpdateOperations parameters: - name: teamworkDevice-id @@ -742070,6 +743320,7 @@ paths: tags: - teamwork.teamworkDevice summary: Delete navigation property operations for teamwork + description: The async operations on the device. operationId: teamwork.devices.DeleteOperations parameters: - name: teamworkDevice-id @@ -742102,6 +743353,7 @@ paths: tags: - teamwork.workforceIntegration summary: Get workforceIntegrations from teamwork + description: A workforce integration with shifts. operationId: teamwork.ListWorkforceIntegrations parameters: - $ref: '#/components/parameters/top' @@ -742207,6 +743459,7 @@ paths: tags: - teamwork.workforceIntegration summary: Create new navigation property to workforceIntegrations for teamwork + description: A workforce integration with shifts. operationId: teamwork.CreateWorkforceIntegrations requestBody: description: New navigation property @@ -742230,6 +743483,7 @@ paths: tags: - teamwork.workforceIntegration summary: Get workforceIntegrations from teamwork + description: A workforce integration with shifts. operationId: teamwork.GetWorkforceIntegrations parameters: - name: workforceIntegration-id @@ -742289,6 +743543,7 @@ paths: tags: - teamwork.workforceIntegration summary: Update the navigation property workforceIntegrations in teamwork + description: A workforce integration with shifts. operationId: teamwork.UpdateWorkforceIntegrations parameters: - name: workforceIntegration-id @@ -742315,6 +743570,7 @@ paths: tags: - teamwork.workforceIntegration summary: Delete navigation property workforceIntegrations for teamwork + description: A workforce integration with shifts. operationId: teamwork.DeleteWorkforceIntegrations parameters: - name: workforceIntegration-id @@ -742419,6 +743675,7 @@ paths: enum: - id - aggregatedPolicyCompliances + - auditEvents - cloudPcConnections - cloudPcDevices - cloudPcsOverview @@ -742454,6 +743711,7 @@ paths: enum: - '*' - aggregatedPolicyCompliances + - auditEvents - cloudPcConnections - cloudPcDevices - cloudPcsOverview @@ -742487,6 +743745,8 @@ paths: links: aggregatedPolicyCompliances: operationId: tenantRelationships.ManagedTenants.ListAggregatedPolicyCompliances + auditEvents: + operationId: tenantRelationships.ManagedTenants.ListAuditEvents cloudPcConnections: operationId: tenantRelationships.ManagedTenants.ListCloudPcConnections cloudPcDevices: @@ -742810,6 +744070,248 @@ paths: default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation + /tenantRelationships/managedTenants/auditEvents: + get: + tags: + - tenantRelationships.managedTenant + summary: Get auditEvents from tenantRelationships + operationId: tenantRelationships.managedTenants.ListAuditEvents + parameters: + - $ref: '#/components/parameters/top' + - $ref: '#/components/parameters/skip' + - $ref: '#/components/parameters/search' + - $ref: '#/components/parameters/filter' + - $ref: '#/components/parameters/count' + - name: $orderby + in: query + description: Order items by property values + style: form + explode: false + schema: + uniqueItems: true + type: array + items: + enum: + - id + - id desc + - activity + - activity desc + - activityDateTime + - activityDateTime desc + - activityId + - activityId desc + - category + - category desc + - httpVerb + - httpVerb desc + - initiatedByAppId + - initiatedByAppId desc + - initiatedByUpn + - initiatedByUpn desc + - initiatedByUserId + - initiatedByUserId desc + - ipAddress + - ipAddress desc + - requestBody + - requestBody desc + - requestUrl + - requestUrl desc + - tenantIds + - tenantIds desc + - tenantNames + - tenantNames desc + type: string + - name: $select + in: query + description: Select properties to be returned + style: form + explode: false + schema: + uniqueItems: true + type: array + items: + enum: + - id + - activity + - activityDateTime + - activityId + - category + - httpVerb + - initiatedByAppId + - initiatedByUpn + - initiatedByUserId + - ipAddress + - requestBody + - requestUrl + - tenantIds + - tenantNames + type: string + - name: $expand + in: query + description: Expand related entities + style: form + explode: false + schema: + uniqueItems: true + type: array + items: + enum: + - '*' + type: string + responses: + '200': + description: Retrieved navigation property + content: + application/json: + schema: + title: Collection of auditEvent + type: object + properties: + value: + type: array + items: + $ref: '#/components/schemas/microsoft.graph.managedTenants.auditEvent' + '@odata.nextLink': + type: string + default: + $ref: '#/components/responses/error' + x-ms-pageable: + nextLinkName: '@odata.nextLink' + operationName: listMore + x-ms-docs-operation-type: operation + post: + tags: + - tenantRelationships.managedTenant + summary: Create new navigation property to auditEvents for tenantRelationships + operationId: tenantRelationships.managedTenants.CreateAuditEvents + requestBody: + description: New navigation property + content: + application/json: + schema: + $ref: '#/components/schemas/microsoft.graph.managedTenants.auditEvent' + required: true + responses: + '201': + description: Created navigation property. + content: + application/json: + schema: + $ref: '#/components/schemas/microsoft.graph.managedTenants.auditEvent' + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: operation + '/tenantRelationships/managedTenants/auditEvents/{auditEvent-id}': + get: + tags: + - tenantRelationships.managedTenant + summary: Get auditEvents from tenantRelationships + operationId: tenantRelationships.managedTenants.GetAuditEvents + parameters: + - name: auditEvent-id + in: path + description: 'key: id of auditEvent' + required: true + schema: + type: string + x-ms-docs-key-type: auditEvent + - name: $select + in: query + description: Select properties to be returned + style: form + explode: false + schema: + uniqueItems: true + type: array + items: + enum: + - id + - activity + - activityDateTime + - activityId + - category + - httpVerb + - initiatedByAppId + - initiatedByUpn + - initiatedByUserId + - ipAddress + - requestBody + - requestUrl + - tenantIds + - tenantNames + type: string + - name: $expand + in: query + description: Expand related entities + style: form + explode: false + schema: + uniqueItems: true + type: array + items: + enum: + - '*' + type: string + responses: + '200': + description: Retrieved navigation property + content: + application/json: + schema: + $ref: '#/components/schemas/microsoft.graph.managedTenants.auditEvent' + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: operation + patch: + tags: + - tenantRelationships.managedTenant + summary: Update the navigation property auditEvents in tenantRelationships + operationId: tenantRelationships.managedTenants.UpdateAuditEvents + parameters: + - name: auditEvent-id + in: path + description: 'key: id of auditEvent' + required: true + schema: + type: string + x-ms-docs-key-type: auditEvent + requestBody: + description: New navigation property values + content: + application/json: + schema: + $ref: '#/components/schemas/microsoft.graph.managedTenants.auditEvent' + required: true + responses: + '204': + description: Success + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: operation + delete: + tags: + - tenantRelationships.managedTenant + summary: Delete navigation property auditEvents for tenantRelationships + operationId: tenantRelationships.managedTenants.DeleteAuditEvents + parameters: + - name: auditEvent-id + in: path + description: 'key: id of auditEvent' + required: true + schema: + type: string + x-ms-docs-key-type: auditEvent + - name: If-Match + in: header + description: ETag + schema: + type: string + responses: + '204': + description: Success + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: operation /tenantRelationships/managedTenants/cloudPcConnections: get: tags: @@ -881527,6 +883029,8 @@ paths: - principal desc - principalLink - principalLink desc + - principalResourceMembership + - principalResourceMembership desc - recommendation - recommendation desc - resource @@ -881559,6 +883063,7 @@ paths: - justification - principal - principalLink + - principalResourceMembership - recommendation - resource - resourceLink @@ -881689,6 +883194,7 @@ paths: - justification - principal - principalLink + - principalResourceMembership - recommendation - resource - resourceLink @@ -894676,6 +896182,7 @@ paths: - contributionToContentDiscoveryAsOrganizationDisabled - contributionToContentDiscoveryDisabled - itemInsights + - contactMergeSuggestions - regionalAndLanguageSettings - shiftPreferences type: string @@ -894691,6 +896198,7 @@ paths: enum: - '*' - itemInsights + - contactMergeSuggestions - regionalAndLanguageSettings - shiftPreferences type: string @@ -894706,6 +896214,10 @@ paths: operationId: users.Settings.GetItemInsights parameters: user-id: $request.path.user-id + contactMergeSuggestions: + operationId: users.Settings.GetContactMergeSuggestions + parameters: + user-id: $request.path.user-id regionalAndLanguageSettings: operationId: users.Settings.GetRegionalAndLanguageSettings parameters: @@ -894769,6 +896281,105 @@ paths: default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation + '/users/{user-id}/settings/contactMergeSuggestions': + get: + tags: + - users.userSettings + summary: Get contactMergeSuggestions from users + operationId: users.settings.GetContactMergeSuggestions + parameters: + - name: user-id + in: path + description: 'key: id of user' + required: true + schema: + type: string + x-ms-docs-key-type: user + - name: $select + in: query + description: Select properties to be returned + style: form + explode: false + schema: + uniqueItems: true + type: array + items: + enum: + - id + - isEnabled + type: string + - name: $expand + in: query + description: Expand related entities + style: form + explode: false + schema: + uniqueItems: true + type: array + items: + enum: + - '*' + type: string + responses: + '200': + description: Retrieved navigation property + content: + application/json: + schema: + $ref: '#/components/schemas/microsoft.graph.contactMergeSuggestions' + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: operation + patch: + tags: + - users.userSettings + summary: Update the navigation property contactMergeSuggestions in users + operationId: users.settings.UpdateContactMergeSuggestions + parameters: + - name: user-id + in: path + description: 'key: id of user' + required: true + schema: + type: string + x-ms-docs-key-type: user + requestBody: + description: New navigation property values + content: + application/json: + schema: + $ref: '#/components/schemas/microsoft.graph.contactMergeSuggestions' + required: true + responses: + '204': + description: Success + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: operation + delete: + tags: + - users.userSettings + summary: Delete navigation property contactMergeSuggestions for users + operationId: users.settings.DeleteContactMergeSuggestions + parameters: + - name: user-id + in: path + description: 'key: id of user' + required: true + schema: + type: string + x-ms-docs-key-type: user + - name: If-Match + in: header + description: ETag + schema: + type: string + responses: + '204': + description: Success + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: operation '/users/{user-id}/settings/itemInsights': get: tags: @@ -903017,6 +904628,7 @@ paths: - parentReference - webUrl - contentType + - deleted - sharepointIds - createdByUser - lastModifiedByUser @@ -905449,6 +907061,7 @@ paths: - parentReference - webUrl - contentType + - deleted - sharepointIds - createdByUser - lastModifiedByUser @@ -906172,6 +907785,7 @@ paths: - parentReference - webUrl - contentType + - deleted - sharepointIds - createdByUser - lastModifiedByUser @@ -981907,14 +983521,17 @@ components: anyOf: - $ref: '#/components/schemas/microsoft.graph.synchronizationSecretKeyStringValuePair' nullable: true + description: Represents a collection of credentials to access provisioned cloud applications. jobs: type: array items: $ref: '#/components/schemas/microsoft.graph.synchronizationJob' + description: 'Performs synchronization by periodically running in the background, polling for changes in one directory, and pushing them to another directory.' templates: type: array items: $ref: '#/components/schemas/microsoft.graph.synchronizationTemplate' + description: Pre-configured synchronization settings for a particular application. microsoft.graph.synchronizationJob: allOf: - $ref: '#/components/schemas/microsoft.graph.entity' @@ -982925,7 +984542,7 @@ components: type: array items: $ref: '#/components/schemas/microsoft.graph.authenticationMethodConfiguration' - description: Represents the settings for each authentication method. + description: Represents the settings for each authentication method. Automatically expanded on GET /policies/authenticationMethodsPolicy. microsoft.graph.bookingBusiness: allOf: - $ref: '#/components/schemas/microsoft.graph.bookingNamedEntity' @@ -984813,6 +986430,10 @@ components: type: string description: The display name of the dataSource. This will be the name of the SharePoint site. nullable: true + holdStatus: + anyOf: + - $ref: '#/components/schemas/microsoft.graph.ediscovery.dataSourceHoldStatus' + nullable: true microsoft.graph.ediscovery.caseOperation: allOf: - $ref: '#/components/schemas/microsoft.graph.entity' @@ -990605,7 +992226,7 @@ components: maximum: 2147483647 minimum: -2147483648 type: integer - description: 'Device sku number, see also: GetProductInfo. Valid values 0 to 2147483647. This property is read-only.' + description: 'Device sku number, see also: GetProductInfo function. Valid values 0 to 2147483647. This property is read-only.' format: int32 specificationVersion: type: string @@ -992199,7 +993820,7 @@ components: platforms: anyOf: - $ref: '#/components/schemas/microsoft.graph.deviceManagementConfigurationPlatforms' - description: 'Platforms types, which settings in the category have. Possible values are: none, android, iOS, macOS, windows10X, windows10.' + description: 'Platforms types, which settings in the category have. Possible values are: none, android, iOS, macOS, windows10X, windows10, linux, unknownFutureValue.' rootCategoryId: type: string description: Root id of the category. @@ -992307,7 +993928,7 @@ components: platforms: anyOf: - $ref: '#/components/schemas/microsoft.graph.deviceManagementConfigurationPlatforms' - description: 'Platforms for this policy. Possible values are: none, android, iOS, macOS, windows10X, windows10.' + description: 'Platforms for this policy. Possible values are: none, android, iOS, macOS, windows10X, windows10, linux, unknownFutureValue.' roleScopeTagIds: type: array items: @@ -992639,7 +994260,7 @@ components: platforms: anyOf: - $ref: '#/components/schemas/microsoft.graph.deviceManagementConfigurationPlatforms' - description: 'Platforms for this policy. Possible values are: none, android, iOS, macOS, windows10X, windows10.' + description: 'Platforms for this policy. Possible values are: none, android, iOS, macOS, windows10X, windows10, linux, unknownFutureValue.' roleScopeTagIds: type: array items: @@ -992704,7 +994325,7 @@ components: platforms: anyOf: - $ref: '#/components/schemas/microsoft.graph.deviceManagementConfigurationPlatforms' - description: 'Platforms for this template. Possible values are: none, android, iOS, macOS, windows10X, windows10.' + description: 'Platforms for this template. Possible values are: none, android, iOS, macOS, windows10X, windows10, linux, unknownFutureValue.' settingTemplateCount: maximum: 2147483647 minimum: -2147483648 @@ -996085,7 +997706,7 @@ components: nullable: true fileName: type: string - description: The file name of the uploaded ADML file. + description: 'The file name of the ADMX file without the path. For example: edge.admx Inherited from groupPolicyDefinitionFile' nullable: true groupPolicyUploadedLanguageFiles: type: array @@ -997450,7 +999071,7 @@ components: nullable: true disableUDPConnections: type: boolean - description: 'When DisableUDPConnections is set, the clients and VPN server will not use DTLS connctions to tansfer data.' + description: 'When DisableUdpConnections is set, the clients and VPN server will not use DTLS connections to tansfer data.' displayName: type: string description: The MicrosoftTunnelConfiguration's display name @@ -999362,7 +1000983,7 @@ components: format: int32 healthStatus: type: string - description: The overall battery health status of the device. + description: 'The overall battery health status of the device. Possible values are: unknown, insufficientData, needsAttention, meetingGoals.' nullable: true maxCapacityPercentage: maximum: 2147483647 @@ -999586,7 +1001207,7 @@ components: diskType: anyOf: - $ref: '#/components/schemas/microsoft.graph.diskType' - description: 'The user experience analytics device disk type. Possible values are: unkown, hdd, ssd.' + description: 'The user experience analytics device disk type. Possible values are: hdd, ssd, unknown.' groupPolicyBootTimeInMs: maximum: 2147483647 minimum: -2147483648 @@ -1001037,12 +1002658,12 @@ components: osVersion: anyOf: - $ref: '#/components/schemas/microsoft.graph.cloudPcOperatingSystem' - description: 'The account type of the user on provisioned Cloud PCs. The possible values are: windows10, windows11, unknownFutureValue.' + description: 'The version of the operating system (OS) to provision on Cloud PCs. The possible values are: windows10, windows11, unknownFutureValue.' nullable: true userAccountType: anyOf: - $ref: '#/components/schemas/microsoft.graph.cloudPcUserAccountType' - description: 'The version of the operating system (OS) to provision on Cloud PCs. The possible values are: standardUser, administrator, unknownFutureValue.' + description: 'The account type of the user on provisioned Cloud PCs. The possible values are: standardUser, administrator, unknownFutureValue.' nullable: true microsoft.graph.cloudPcProvisioningPolicy: allOf: @@ -1002854,6 +1004475,10 @@ components: - $ref: '#/components/schemas/microsoft.graph.contentTypeInfo' description: The content type of this list item nullable: true + deleted: + anyOf: + - $ref: '#/components/schemas/microsoft.graph.deleted' + nullable: true sharepointIds: anyOf: - $ref: '#/components/schemas/microsoft.graph.sharepointIds' @@ -1009058,6 +1010683,10 @@ components: type: string description: 'Link to the principal object. For example: https://graph.microsoft.com/v1.0/users/a6c7aecb-cbfd-4763-87ef-e91b4bd509d9. Read-only.' nullable: true + principalResourceMembership: + anyOf: + - $ref: '#/components/schemas/microsoft.graph.decisionItemPrincipalResourceMembership' + nullable: true recommendation: type: string description: 'A system-generated recommendation for the approval decision based off last interactive sign-in to tenant. Recommend approve if sign-in is within thirty days of start of review. Recommend deny if sign-in is greater than thirty days of start of review. Recommendation not available otherwise. Possible values: Approve, Deny, or NoInfoAvailable. Supports $select, $orderby, and $filter (eq only). Read-only.' @@ -1009301,27 +1010930,26 @@ components: description: Name for the access review history data collection. Required. downloadUri: type: string - description: Uri which can be used to retrieve review history data. This URI will be active for 24 hours after being generated. nullable: true fulfilledDateTime: pattern: '^[0-9]{4,}-(0[1-9]|1[012])-(0[1-9]|[12][0-9]|3[01])T([01][0-9]|2[0-3]):[0-5][0-9]:[0-5][0-9]([.][0-9]{1,12})?(Z|[+-][0-9][0-9]:[0-9][0-9])$' type: string - description: Timestamp when all of the available data for this definition was collected. This will be set after this definition's status is set to done. format: date-time nullable: true reviewHistoryPeriodEndDateTime: pattern: '^[0-9]{4,}-(0[1-9]|1[012])-(0[1-9]|[12][0-9]|3[01])T([01][0-9]|2[0-3]):[0-5][0-9]:[0-5][0-9]([.][0-9]{1,12})?(Z|[+-][0-9][0-9]:[0-9][0-9])$' type: string - description: 'Timestamp, reviews starting on or after this date will be included in the fetched history data. Required.' + description: A timestamp. Reviews ending on or before this date will be included in the fetched history data. Only required if scheduleSettings is not defined. format: date-time reviewHistoryPeriodStartDateTime: pattern: '^[0-9]{4,}-(0[1-9]|1[012])-(0[1-9]|[12][0-9]|3[01])T([01][0-9]|2[0-3]):[0-5][0-9]:[0-5][0-9]([.][0-9]{1,12})?(Z|[+-][0-9][0-9]:[0-9][0-9])$' type: string - description: 'Timestamp, reviews starting on or before this date will be included in the fetched history data. Required.' + description: A timestamp. Reviews starting on or before this date will be included in the fetched history data. Only required if scheduleSettings is not defined. format: date-time scheduleSettings: anyOf: - $ref: '#/components/schemas/microsoft.graph.accessReviewHistoryScheduleSettings' + description: The settings for a recurring access review history definition series. Only required if reviewHistoryPeriodStartDateTime or reviewHistoryPeriodEndDateTime are not defined. nullable: true scopes: type: array @@ -1009331,12 +1010959,13 @@ components: status: anyOf: - $ref: '#/components/schemas/microsoft.graph.accessReviewHistoryStatus' - description: 'Represents the status of the review history data collection. Possible values are: done, inprogress, error, requested.' + description: 'Represents the status of the review history data collection. The possible values are: done, inProgress, error, requested, unknownFutureValue.' nullable: true instances: type: array items: $ref: '#/components/schemas/microsoft.graph.accessReviewHistoryInstance' + description: 'If the accessReviewHistoryDefinition is a recurring definition, instances represent each recurrence. A definition that does not recur will have exactly one instance.' microsoft.graph.accessReviewHistoryInstance: allOf: - $ref: '#/components/schemas/microsoft.graph.entity' @@ -1009345,33 +1010974,40 @@ components: properties: downloadUri: type: string + description: Uri which can be used to retrieve review history data. This URI will be active for 24 hours after being generated. Required. nullable: true expirationDateTime: pattern: '^[0-9]{4,}-(0[1-9]|1[012])-(0[1-9]|[12][0-9]|3[01])T([01][0-9]|2[0-3]):[0-5][0-9]:[0-5][0-9]([.][0-9]{1,12})?(Z|[+-][0-9][0-9]:[0-9][0-9])$' type: string + description: Timestamp when this instance and associated data expires and the history is deleted. Required. format: date-time fulfilledDateTime: pattern: '^[0-9]{4,}-(0[1-9]|1[012])-(0[1-9]|[12][0-9]|3[01])T([01][0-9]|2[0-3]):[0-5][0-9]:[0-5][0-9]([.][0-9]{1,12})?(Z|[+-][0-9][0-9]:[0-9][0-9])$' type: string + description: Timestamp when all of the available data for this instance was collected. This will be set after this instance's status is set to done. Required. format: date-time nullable: true reviewHistoryPeriodEndDateTime: pattern: '^[0-9]{4,}-(0[1-9]|1[012])-(0[1-9]|[12][0-9]|3[01])T([01][0-9]|2[0-3]):[0-5][0-9]:[0-5][0-9]([.][0-9]{1,12})?(Z|[+-][0-9][0-9]:[0-9][0-9])$' type: string + description: 'Timestamp, reviews ending on or before this date will be included in the fetched history data.' format: date-time nullable: true reviewHistoryPeriodStartDateTime: pattern: '^[0-9]{4,}-(0[1-9]|1[012])-(0[1-9]|[12][0-9]|3[01])T([01][0-9]|2[0-3]):[0-5][0-9]:[0-5][0-9]([.][0-9]{1,12})?(Z|[+-][0-9][0-9]:[0-9][0-9])$' type: string + description: 'Timestamp, reviews starting on or after this date will be included in the fetched history data.' format: date-time nullable: true runDateTime: pattern: '^[0-9]{4,}-(0[1-9]|1[012])-(0[1-9]|[12][0-9]|3[01])T([01][0-9]|2[0-3]):[0-5][0-9]:[0-5][0-9]([.][0-9]{1,12})?(Z|[+-][0-9][0-9]:[0-9][0-9])$' type: string + description: Timestamp when the instance's history data is scheduled to be generated. format: date-time status: anyOf: - $ref: '#/components/schemas/microsoft.graph.accessReviewHistoryStatus' + description: 'Represents the status of the review history data collection. The possible values are: done, inProgress, error, requested, unknownFutureValue. Once the status has been marked as done, a link can be generated to retrieve the instance''s data by calling generateDownloadUri method.' nullable: true microsoft.graph.accessReviewPolicy: allOf: @@ -1013439,6 +1015075,10 @@ components: - $ref: '#/components/schemas/microsoft.graph.userInsightsSettings' description: 'The user''s settings for the visibility of meeting hour insights, and insights derived between a user and other items in Microsoft 365, such as documents or sites. Get userInsightsSettings through this navigation property.' nullable: true + contactMergeSuggestions: + anyOf: + - $ref: '#/components/schemas/microsoft.graph.contactMergeSuggestions' + nullable: true regionalAndLanguageSettings: anyOf: - $ref: '#/components/schemas/microsoft.graph.regionalAndLanguageSettings' @@ -1013449,6 +1015089,15 @@ components: - $ref: '#/components/schemas/microsoft.graph.shiftPreferences' description: The shift preferences for the user. nullable: true + microsoft.graph.contactMergeSuggestions: + allOf: + - $ref: '#/components/schemas/microsoft.graph.entity' + - title: contactMergeSuggestions + type: object + properties: + isEnabled: + type: boolean + nullable: true microsoft.graph.userInsightsSettings: allOf: - $ref: '#/components/schemas/microsoft.graph.entity' @@ -1018075,6 +1019724,7 @@ components: queryAlterationOptions: anyOf: - $ref: '#/components/schemas/microsoft.graph.searchAlterationOptions' + description: Query alteration options formatted in a JSON blob that contains two optional flags related to spelling correction. Optional. nullable: true resultTemplateOptions: anyOf: @@ -1018121,6 +1019771,7 @@ components: resultTemplates: anyOf: - $ref: '#/components/schemas/microsoft.graph.resultTemplateDictionary' + description: 'A dictionary of resultTemplateIds and associated values, which include the name and JSON schema of the result templates.' nullable: true searchTerms: type: array @@ -1018582,11 +1020233,86 @@ components: - title: attackSimulationRoot type: object properties: + simulationAutomations: + type: array + items: + $ref: '#/components/schemas/microsoft.graph.simulationAutomation' simulations: type: array items: $ref: '#/components/schemas/microsoft.graph.simulation' description: Represent attack simulation and training campaign of a tenant. + microsoft.graph.simulationAutomation: + allOf: + - $ref: '#/components/schemas/microsoft.graph.entity' + - title: simulationAutomation + type: object + properties: + createdBy: + anyOf: + - $ref: '#/components/schemas/microsoft.graph.emailIdentity' + nullable: true + createdDateTime: + pattern: '^[0-9]{4,}-(0[1-9]|1[012])-(0[1-9]|[12][0-9]|3[01])T([01][0-9]|2[0-3]):[0-5][0-9]:[0-5][0-9]([.][0-9]{1,12})?(Z|[+-][0-9][0-9]:[0-9][0-9])$' + type: string + format: date-time + nullable: true + description: + type: string + nullable: true + displayName: + type: string + nullable: true + lastModifiedBy: + anyOf: + - $ref: '#/components/schemas/microsoft.graph.emailIdentity' + nullable: true + lastModifiedDateTime: + pattern: '^[0-9]{4,}-(0[1-9]|1[012])-(0[1-9]|[12][0-9]|3[01])T([01][0-9]|2[0-3]):[0-5][0-9]:[0-5][0-9]([.][0-9]{1,12})?(Z|[+-][0-9][0-9]:[0-9][0-9])$' + type: string + format: date-time + nullable: true + lastRunDateTime: + pattern: '^[0-9]{4,}-(0[1-9]|1[012])-(0[1-9]|[12][0-9]|3[01])T([01][0-9]|2[0-3]):[0-5][0-9]:[0-5][0-9]([.][0-9]{1,12})?(Z|[+-][0-9][0-9]:[0-9][0-9])$' + type: string + format: date-time + nullable: true + nextRunDateTime: + pattern: '^[0-9]{4,}-(0[1-9]|1[012])-(0[1-9]|[12][0-9]|3[01])T([01][0-9]|2[0-3]):[0-5][0-9]:[0-5][0-9]([.][0-9]{1,12})?(Z|[+-][0-9][0-9]:[0-9][0-9])$' + type: string + format: date-time + nullable: true + status: + anyOf: + - $ref: '#/components/schemas/microsoft.graph.simulationAutomationStatus' + nullable: true + runs: + type: array + items: + $ref: '#/components/schemas/microsoft.graph.simulationAutomationRun' + microsoft.graph.simulationAutomationRun: + allOf: + - $ref: '#/components/schemas/microsoft.graph.entity' + - title: simulationAutomationRun + type: object + properties: + endDateTime: + pattern: '^[0-9]{4,}-(0[1-9]|1[012])-(0[1-9]|[12][0-9]|3[01])T([01][0-9]|2[0-3]):[0-5][0-9]:[0-5][0-9]([.][0-9]{1,12})?(Z|[+-][0-9][0-9]:[0-9][0-9])$' + type: string + format: date-time + nullable: true + simulationId: + type: string + nullable: true + startDateTime: + pattern: '^[0-9]{4,}-(0[1-9]|1[012])-(0[1-9]|[12][0-9]|3[01])T([01][0-9]|2[0-3]):[0-5][0-9]:[0-5][0-9]([.][0-9]{1,12})?(Z|[+-][0-9][0-9]:[0-9][0-9])$' + type: string + format: date-time + nullable: true + status: + anyOf: + - $ref: '#/components/schemas/microsoft.graph.simulationAutomationRunStatus' + nullable: true microsoft.graph.simulation: allOf: - $ref: '#/components/schemas/microsoft.graph.entity' @@ -1018603,9 +1020329,8 @@ components: - $ref: '#/components/schemas/microsoft.graph.simulationAttackType' description: 'Attack type of the attack simulation and training campaign. Supports $filter and $orderby. Possible values are: unknown, social, cloud, endpoint, unknownFutureValue.' nullable: true - cleanupArtifacts: - type: boolean - description: Flag representing if artifacts were cleaned up in the attack simulation and training campaign. + automationId: + type: string nullable: true completionDateTime: pattern: '^[0-9]{4,}-(0[1-9]|1[012])-(0[1-9]|[12][0-9]|3[01])T([01][0-9]|2[0-3]):[0-5][0-9]:[0-5][0-9]([.][0-9]{1,12})?(Z|[+-][0-9][0-9]:[0-9][0-9])$' @@ -1018632,14 +1020357,6 @@ components: type: string description: Display name of the attack simulation and training campaign. Supports $filter and $orderby. nullable: true - enableRegionTimezoneDelivery: - type: boolean - description: Flag representing whether to enable or disable timezone-aware delivery of phishing payload in the attack simulation and training campaign. - nullable: true - includeAllAccountTargets: - type: boolean - description: Flag representing inclusion of all the users of a tenant in the attack simulation and training campaign. - nullable: true isAutomated: type: boolean description: Flag representing if the attack simulation and training campaign was created from a simulation automation flow. Supports $filter and $orderby. @@ -1018666,11 +1020383,6 @@ components: - $ref: '#/components/schemas/microsoft.graph.payloadDeliveryPlatform' description: 'Method of delivery of the phishing payload used in the attack simulation and training campaign. Possible values are: unknown, sms, email, teams, unknownFutureValue.' nullable: true - payloadSource: - anyOf: - - $ref: '#/components/schemas/microsoft.graph.payloadSource' - description: 'Source of phishing payload in the attack simulation and training campaign. Possible values are: unknown, global, tenant, unknownFutureValue.' - nullable: true report: anyOf: - $ref: '#/components/schemas/microsoft.graph.simulationReport' @@ -1018681,22 +1020393,6 @@ components: - $ref: '#/components/schemas/microsoft.graph.simulationStatus' description: 'Status of the attack simulation and training campaign. Supports $filter and $orderby. Possible values are: unknown, draft, inProgress, scheduled, completed, partiallyCompleted, failed, cancelled, excluded, deleted, included, unknownFutureValue.' nullable: true - trainingAssignmentPreference: - anyOf: - - $ref: '#/components/schemas/microsoft.graph.trainingAssignmentPreference' - description: 'Preference of the tenant admin to assign training to users in the attack simulation and training campaign. Possible values are: unknown, auto, manual, unknownFutureValue.' - nullable: true - trainingContentPreference: - anyOf: - - $ref: '#/components/schemas/microsoft.graph.trainingContentPreference' - description: 'Preference of the tenant admin for the source of training content to assign to users in the attack simulation and training campaign. Possible values are: unknown, microsoft, custom, noTraining, unknownFutureValue.' - nullable: true - trainingDueDateTime: - pattern: '^[0-9]{4,}-(0[1-9]|1[012])-(0[1-9]|[12][0-9]|3[01])T([01][0-9]|2[0-3]):[0-5][0-9]:[0-5][0-9]([.][0-9]{1,12})?(Z|[+-][0-9][0-9]:[0-9][0-9])$' - type: string - description: Date and time before which the trainings need to be completed by users in the attack simulation and training campaign. - format: date-time - nullable: true microsoft.graph.cloudAppSecurityProfile: allOf: - $ref: '#/components/schemas/microsoft.graph.entity' @@ -1020711,10 +1022407,12 @@ components: type: array items: $ref: '#/components/schemas/microsoft.graph.workforceIntegration' + description: A workforce integration with shifts. devices: type: array items: $ref: '#/components/schemas/microsoft.graph.teamworkDevice' + description: The Teams devices provisioned for the tenant. microsoft.graph.teamworkDevice: allOf: - $ref: '#/components/schemas/microsoft.graph.entity' @@ -1020724,60 +1022422,74 @@ components: activityState: anyOf: - $ref: '#/components/schemas/microsoft.graph.teamworkDeviceActivityState' + description: 'The activity state of the device. The possible values are: unknown, busy, idle, unavailable, unknownFutureValue.' nullable: true companyAssetTag: type: string + description: The company asset tag assigned by the admin on the device. nullable: true createdBy: anyOf: - $ref: '#/components/schemas/microsoft.graph.identitySet' + description: Identity of the user who enrolled the device to the tenant. nullable: true createdDateTime: pattern: '^[0-9]{4,}-(0[1-9]|1[012])-(0[1-9]|[12][0-9]|3[01])T([01][0-9]|2[0-3]):[0-5][0-9]:[0-5][0-9]([.][0-9]{1,12})?(Z|[+-][0-9][0-9]:[0-9][0-9])$' type: string + description: The UTC date and time when the device was enrolled to the tenant. format: date-time nullable: true currentUser: anyOf: - $ref: '#/components/schemas/microsoft.graph.teamworkUserIdentity' + description: The signed-in user on the device. nullable: true deviceType: anyOf: - $ref: '#/components/schemas/microsoft.graph.teamworkDeviceType' + description: 'The type of device. The possible values are: unknown, ipPhone, teamsRoom, surfaceHub, collaborationBar, teamsDisplay, touchConsole, lowCostPhone, teamsPanel, sip, unknownFutureValue.' hardwareDetail: $ref: '#/components/schemas/microsoft.graph.teamworkHardwareDetail' healthStatus: anyOf: - $ref: '#/components/schemas/microsoft.graph.teamworkDeviceHealthStatus' + description: 'The health status of the device. The possible values are: unknown, offline, critical, nonUrgent, healthy, unknownFutureValue.' nullable: true lastModifiedBy: anyOf: - $ref: '#/components/schemas/microsoft.graph.identitySet' + description: Identity of the user who last modified the device details. nullable: true lastModifiedDateTime: pattern: '^[0-9]{4,}-(0[1-9]|1[012])-(0[1-9]|[12][0-9]|3[01])T([01][0-9]|2[0-3]):[0-5][0-9]:[0-5][0-9]([.][0-9]{1,12})?(Z|[+-][0-9][0-9]:[0-9][0-9])$' type: string + description: The UTC date and time when the device detail was last modified. format: date-time nullable: true notes: type: string + description: The notes added by the admin to the device. nullable: true activity: anyOf: - $ref: '#/components/schemas/microsoft.graph.teamworkDeviceActivity' + description: The activity properties that change based on the device usage. nullable: true configuration: anyOf: - $ref: '#/components/schemas/microsoft.graph.teamworkDeviceConfiguration' + description: The configuration properties of the device. nullable: true health: anyOf: - $ref: '#/components/schemas/microsoft.graph.teamworkDeviceHealth' + description: The health properties of the device. nullable: true operations: type: array items: $ref: '#/components/schemas/microsoft.graph.teamworkDeviceOperation' + description: The async operations on the device. microsoft.graph.teamworkDeviceActivity: allOf: - $ref: '#/components/schemas/microsoft.graph.entity' @@ -1020787,23 +1022499,28 @@ components: activePeripherals: anyOf: - $ref: '#/components/schemas/microsoft.graph.teamworkActivePeripherals' + description: The active peripheral devices attached to the device. nullable: true createdBy: anyOf: - $ref: '#/components/schemas/microsoft.graph.identitySet' + description: Identity of the user who created the device activity document. nullable: true createdDateTime: pattern: '^[0-9]{4,}-(0[1-9]|1[012])-(0[1-9]|[12][0-9]|3[01])T([01][0-9]|2[0-3]):[0-5][0-9]:[0-5][0-9]([.][0-9]{1,12})?(Z|[+-][0-9][0-9]:[0-9][0-9])$' type: string + description: The UTC date and time when the device activity document was created. format: date-time nullable: true lastModifiedBy: anyOf: - $ref: '#/components/schemas/microsoft.graph.identitySet' + description: Identity of the user who last modified the device activity details. nullable: true lastModifiedDateTime: pattern: '^[0-9]{4,}-(0[1-9]|1[012])-(0[1-9]|[12][0-9]|3[01])T([01][0-9]|2[0-3]):[0-5][0-9]:[0-5][0-9]([.][0-9]{1,12})?(Z|[+-][0-9][0-9]:[0-9][0-9])$' type: string + description: The UTC date and time when the device activity detail was last modified. format: date-time nullable: true microsoft.graph.teamworkDeviceConfiguration: @@ -1020815,52 +1022532,64 @@ components: cameraConfiguration: anyOf: - $ref: '#/components/schemas/microsoft.graph.teamworkCameraConfiguration' + description: The camera configuration. Applicable only for Microsoft Teams Rooms-enabled devices. nullable: true createdBy: anyOf: - $ref: '#/components/schemas/microsoft.graph.identitySet' + description: Identity of the user who created the device configuration document. nullable: true createdDateTime: pattern: '^[0-9]{4,}-(0[1-9]|1[012])-(0[1-9]|[12][0-9]|3[01])T([01][0-9]|2[0-3]):[0-5][0-9]:[0-5][0-9]([.][0-9]{1,12})?(Z|[+-][0-9][0-9]:[0-9][0-9])$' type: string + description: The UTC date and time when the device configuration document was created. format: date-time nullable: true displayConfiguration: anyOf: - $ref: '#/components/schemas/microsoft.graph.teamworkDisplayConfiguration' + description: The display configuration. nullable: true hardwareConfiguration: anyOf: - $ref: '#/components/schemas/microsoft.graph.teamworkHardwareConfiguration' + description: The hardware configuration. Applicable only for Teams Rooms-enabled devices. nullable: true lastModifiedBy: anyOf: - $ref: '#/components/schemas/microsoft.graph.identitySet' + description: Identity of the user who last modified the device configuration. nullable: true lastModifiedDateTime: pattern: '^[0-9]{4,}-(0[1-9]|1[012])-(0[1-9]|[12][0-9]|3[01])T([01][0-9]|2[0-3]):[0-5][0-9]:[0-5][0-9]([.][0-9]{1,12})?(Z|[+-][0-9][0-9]:[0-9][0-9])$' type: string + description: The UTC date and time when the device configuration was last modified. format: date-time nullable: true microphoneConfiguration: anyOf: - $ref: '#/components/schemas/microsoft.graph.teamworkMicrophoneConfiguration' + description: The microphone configuration. Applicable only for Teams Rooms-enabled devices. nullable: true softwareVersions: anyOf: - $ref: '#/components/schemas/microsoft.graph.teamworkDeviceSoftwareVersions' + description: 'Information related to software versions for the device, such as firmware, operating system, Teams client, and admin agent.' nullable: true speakerConfiguration: anyOf: - $ref: '#/components/schemas/microsoft.graph.teamworkSpeakerConfiguration' + description: The speaker configuration. Applicable only for Teams Rooms-enabled devices. nullable: true systemConfiguration: anyOf: - $ref: '#/components/schemas/microsoft.graph.teamworkSystemConfiguration' + description: The system configuration. Not applicable for Teams Rooms-enabled devices. nullable: true teamsClientConfiguration: anyOf: - $ref: '#/components/schemas/microsoft.graph.teamworkTeamsClientConfiguration' + description: The Teams client configuration. Applicable only for Teams Rooms-enabled devices. nullable: true microsoft.graph.teamworkDeviceHealth: allOf: @@ -1020873,36 +1022602,44 @@ components: createdBy: anyOf: - $ref: '#/components/schemas/microsoft.graph.identitySet' + description: Identity of the user who created the device health document. nullable: true createdDateTime: pattern: '^[0-9]{4,}-(0[1-9]|1[012])-(0[1-9]|[12][0-9]|3[01])T([01][0-9]|2[0-3]):[0-5][0-9]:[0-5][0-9]([.][0-9]{1,12})?(Z|[+-][0-9][0-9]:[0-9][0-9])$' type: string + description: The UTC date and time when the device health document was created. format: date-time nullable: true hardwareHealth: anyOf: - $ref: '#/components/schemas/microsoft.graph.teamworkHardwareHealth' + description: Health details about the device hardware. nullable: true lastModifiedBy: anyOf: - $ref: '#/components/schemas/microsoft.graph.identitySet' + description: Identity of the user who last modified the device health details. nullable: true lastModifiedDateTime: pattern: '^[0-9]{4,}-(0[1-9]|1[012])-(0[1-9]|[12][0-9]|3[01])T([01][0-9]|2[0-3]):[0-5][0-9]:[0-5][0-9]([.][0-9]{1,12})?(Z|[+-][0-9][0-9]:[0-9][0-9])$' type: string + description: The UTC date and time when the device health detail was last modified. format: date-time nullable: true loginStatus: anyOf: - $ref: '#/components/schemas/microsoft.graph.teamworkLoginStatus' + description: 'The login status of Microsoft Teams, Skype for Business, and Exchange.' nullable: true peripheralsHealth: anyOf: - $ref: '#/components/schemas/microsoft.graph.teamworkPeripheralsHealth' + description: 'Health details about all peripherals (for example, speaker and microphone) attached to a device.' nullable: true softwareUpdateHealth: anyOf: - $ref: '#/components/schemas/microsoft.graph.teamworkSoftwareUpdateHealth' + description: Software updates available for the device. nullable: true microsoft.graph.teamworkSoftwareType: title: teamworkSoftwareType @@ -1020924,40 +1022661,49 @@ components: completedDateTime: pattern: '^[0-9]{4,}-(0[1-9]|1[012])-(0[1-9]|[12][0-9]|3[01])T([01][0-9]|2[0-3]):[0-5][0-9]:[0-5][0-9]([.][0-9]{1,12})?(Z|[+-][0-9][0-9]:[0-9][0-9])$' type: string + description: 'Time at which the operation reached a final state (for example, Successful, Failed, and Cancelled).' format: date-time nullable: true createdBy: anyOf: - $ref: '#/components/schemas/microsoft.graph.identitySet' + description: Identity of the user who created the device operation. nullable: true createdDateTime: pattern: '^[0-9]{4,}-(0[1-9]|1[012])-(0[1-9]|[12][0-9]|3[01])T([01][0-9]|2[0-3]):[0-5][0-9]:[0-5][0-9]([.][0-9]{1,12})?(Z|[+-][0-9][0-9]:[0-9][0-9])$' type: string + description: The UTC date and time when the device operation was created. format: date-time nullable: true error: anyOf: - $ref: '#/components/schemas/microsoft.graph.operationError' + description: Error details are available only in case of a failed status. nullable: true lastActionBy: anyOf: - $ref: '#/components/schemas/microsoft.graph.identitySet' + description: Identity of the user who last modified the device operation. nullable: true lastActionDateTime: pattern: '^[0-9]{4,}-(0[1-9]|1[012])-(0[1-9]|[12][0-9]|3[01])T([01][0-9]|2[0-3]):[0-5][0-9]:[0-5][0-9]([.][0-9]{1,12})?(Z|[+-][0-9][0-9]:[0-9][0-9])$' type: string + description: The UTC date and time when the device operation was last modified. format: date-time nullable: true operationType: anyOf: - $ref: '#/components/schemas/microsoft.graph.teamworkDeviceOperationType' + description: 'Type of async operation on a device. The possible values are: deviceRestart, configUpdate, deviceDiagnostics, softwareUpdate, deviceManagementAgentConfigUpdate, remoteLogin, remoteLogout, unknownFutureValue.' startedDateTime: pattern: '^[0-9]{4,}-(0[1-9]|1[012])-(0[1-9]|[12][0-9]|3[01])T([01][0-9]|2[0-3]):[0-5][0-9]:[0-5][0-9]([.][0-9]{1,12})?(Z|[+-][0-9][0-9]:[0-9][0-9])$' type: string + description: Time at which the operation was started. format: date-time nullable: true status: type: string + description: 'The current status of the async operation, for example, Queued, Scheduled, InProgress, Successful, Cancelled, and Failed.' microsoft.graph.workforceIntegration: allOf: - $ref: '#/components/schemas/microsoft.graph.changeTrackedEntity' @@ -1021024,6 +1022770,10 @@ components: items: $ref: '#/components/schemas/microsoft.graph.managedTenants.aggregatedPolicyCompliance' description: Aggregate view of device compliance policies across managed tenants. + auditEvents: + type: array + items: + $ref: '#/components/schemas/microsoft.graph.managedTenants.auditEvent' cloudPcConnections: type: array items: @@ -1021188,6 +1022938,53 @@ components: type: string description: The Azure Active Directory tenant identifier for the managed tenant. Optional. Read-only. nullable: true + microsoft.graph.managedTenants.auditEvent: + allOf: + - $ref: '#/components/schemas/microsoft.graph.entity' + - title: auditEvent + type: object + properties: + activity: + type: string + nullable: true + activityDateTime: + pattern: '^[0-9]{4,}-(0[1-9]|1[012])-(0[1-9]|[12][0-9]|3[01])T([01][0-9]|2[0-3]):[0-5][0-9]:[0-5][0-9]([.][0-9]{1,12})?(Z|[+-][0-9][0-9]:[0-9][0-9])$' + type: string + format: date-time + nullable: true + activityId: + type: string + nullable: true + category: + type: string + nullable: true + httpVerb: + type: string + nullable: true + initiatedByAppId: + type: string + nullable: true + initiatedByUpn: + type: string + nullable: true + initiatedByUserId: + type: string + nullable: true + ipAddress: + type: string + nullable: true + requestBody: + type: string + nullable: true + requestUrl: + type: string + nullable: true + tenantIds: + type: string + nullable: true + tenantNames: + type: string + nullable: true microsoft.graph.managedTenants.cloudPcConnection: allOf: - $ref: '#/components/schemas/microsoft.graph.entity' @@ -1026641,6 +1028438,10 @@ components: type: string description: Display name of the dataSourceContainer entity. nullable: true + holdStatus: + anyOf: + - $ref: '#/components/schemas/microsoft.graph.ediscovery.dataSourceHoldStatus' + nullable: true lastModifiedDateTime: pattern: '^[0-9]{4,}-(0[1-9]|1[012])-(0[1-9]|[12][0-9]|3[01])T([01][0-9]|2[0-3]):[0-5][0-9]:[0-5][0-9]([.][0-9]{1,12})?(Z|[+-][0-9][0-9]:[0-9][0-9])$' type: string @@ -1026814,6 +1028615,16 @@ components: - Success - UnknownFutureValue type: string + microsoft.graph.ediscovery.dataSourceHoldStatus: + title: dataSourceHoldStatus + enum: + - notApplied + - applied + - applying + - removing + - partial + - unknownFutureValue + type: string microsoft.graph.ediscovery.caseAction: title: caseAction enum: @@ -1026823,6 +1028634,7 @@ components: - index - estimateStatistics - addToReviewSet + - holdUpdate - unknownFutureValue type: string microsoft.graph.ediscovery.caseOperationStatus: @@ -1030150,7 +1031962,7 @@ components: platform: anyOf: - $ref: '#/components/schemas/microsoft.graph.deviceManagementConfigurationPlatforms' - description: 'Platform setting can be applied on. Possible values are: none, android, iOS, macOS, windows10X, windows10.' + description: 'Platform setting can be applied on. Possible values are: none, android, iOS, macOS, windows10X, windows10, linux, unknownFutureValue.' technologies: anyOf: - $ref: '#/components/schemas/microsoft.graph.deviceManagementConfigurationTechnologies' @@ -1034636,6 +1036448,7 @@ components: clientApplications: anyOf: - $ref: '#/components/schemas/microsoft.graph.conditionalAccessClientApplications' + description: Client applications (service principals and workload identities) included in and excluded from the policy. Either users or clientApplications is required. nullable: true clientAppTypes: type: array @@ -1034678,7 +1036491,7 @@ components: users: anyOf: - $ref: '#/components/schemas/microsoft.graph.conditionalAccessUsers' - description: 'Users, groups, and roles included in and excluded from the policy. Required.' + description: 'Users, groups, and roles included in and excluded from the policy. Either users or clientApplications is required.' nullable: true microsoft.graph.conditionalAccessGrantControls: title: conditionalAccessGrantControls @@ -1034755,6 +1036568,13 @@ components: - resourceOwner - unknownFutureValue type: string + microsoft.graph.decisionItemPrincipalResourceMembership: + title: decisionItemPrincipalResourceMembership + type: object + properties: + membershipType: + anyOf: + - $ref: '#/components/schemas/microsoft.graph.decisionItemPrincipalResourceMembershipType' microsoft.graph.accessReviewInstanceDecisionItemResource: title: accessReviewInstanceDecisionItemResource type: object @@ -1034888,6 +1036708,7 @@ components: $ref: '#/components/schemas/microsoft.graph.patternedRecurrence' reportRange: type: string + description: 'A duration string in ISO 8601 duration format specifying the lookback period of the generated review history data. For example, if a history definition is scheduled to run on the 1st of every month, the reportRange is P1M. In this case, on the first of every month, access review history data will be collected containing only the previous month''s review data. Note: Only years, months, and days ISO 8601 properties are supported. Required.' microsoft.graph.accessReviewHistoryStatus: title: accessReviewHistoryStatus enum: @@ -1038486,6 +1040307,36 @@ components: - resolved - unknownFutureValue type: string + microsoft.graph.emailIdentity: + allOf: + - $ref: '#/components/schemas/microsoft.graph.identity' + - title: emailIdentity + type: object + properties: + email: + type: string + description: Email address of the user. + nullable: true + microsoft.graph.simulationAutomationStatus: + title: simulationAutomationStatus + enum: + - unknown + - draft + - notRunning + - running + - completed + - unknownFutureValue + type: string + microsoft.graph.simulationAutomationRunStatus: + title: simulationAutomationRunStatus + enum: + - unknown + - running + - succeeded + - failed + - skipped + - unknownFutureValue + type: string microsoft.graph.simulationAttackTechnique: title: simulationAttackTechnique enum: @@ -1038506,16 +1040357,6 @@ components: - endpoint - unknownFutureValue type: string - microsoft.graph.emailIdentity: - allOf: - - $ref: '#/components/schemas/microsoft.graph.identity' - - title: emailIdentity - type: object - properties: - email: - type: string - description: Email address of the user. - nullable: true microsoft.graph.payloadDeliveryPlatform: title: payloadDeliveryPlatform enum: @@ -1038525,14 +1040366,6 @@ components: - teams - unknownFutureValue type: string - microsoft.graph.payloadSource: - title: payloadSource - enum: - - unknown - - global - - tenant - - unknownFutureValue - type: string microsoft.graph.simulationReport: title: simulationReport type: object @@ -1038554,32 +1040387,12 @@ components: enum: - unknown - draft - - inProgress + - running - scheduled - - completed - - partiallyCompleted + - succeeded - failed - cancelled - excluded - - deleted - - included - - unknownFutureValue - type: string - microsoft.graph.trainingAssignmentPreference: - title: trainingAssignmentPreference - enum: - - unknown - - auto - - manual - - unknownFutureValue - type: string - microsoft.graph.trainingContentPreference: - title: trainingContentPreference - enum: - - unknown - - microsoft - - custom - - noTraining - unknownFutureValue type: string microsoft.graph.applicationPermissionsRequired: @@ -1039302,17 +1041115,22 @@ components: items: type: string nullable: true + description: MAC address. manufacturer: type: string + description: Device manufacturer. nullable: true model: type: string + description: Devie model. nullable: true serialNumber: type: string + description: Device serial number. nullable: true uniqueId: type: string + description: The unique identifier for the device. nullable: true microsoft.graph.teamworkDeviceHealthStatus: title: teamworkDeviceHealthStatus @@ -1039355,6 +1041173,7 @@ components: contentCameraConfiguration: anyOf: - $ref: '#/components/schemas/microsoft.graph.teamworkContentCameraConfiguration' + description: The configuration for the content camera. nullable: true cameras: type: array @@ -1039374,21 +1041193,26 @@ components: anyOf: - $ref: '#/components/schemas/microsoft.graph.teamworkConfiguredPeripheral' nullable: true + description: The list of configured displays. Applicable only for Microsoft Teams Rooms devices. displayCount: maximum: 2147483647 minimum: -2147483648 type: integer + description: 'Total number of connected displays, including the inbuilt display. Applicable only for Teams Rooms devices.' format: int32 nullable: true inBuiltDisplayScreenConfiguration: anyOf: - $ref: '#/components/schemas/microsoft.graph.teamworkDisplayScreenConfiguration' + description: Configuration for the inbuilt display. Not applicable for Teams Rooms devices. nullable: true isContentDuplicationAllowed: type: boolean + description: True if content duplication is allowed. Applicable only for Teams Rooms devices. nullable: true isDualDisplayModeEnabled: type: boolean + description: 'True if dual display mode is enabled. If isDualDisplayModeEnabled is true, then the content will be displayed on both front of room screens instead of just the one screen, when it is shared via the HDMI ingest module on the Microsoft Teams Rooms device. Applicable only for Teams Rooms devices.' nullable: true microsoft.graph.teamworkHardwareConfiguration: title: teamworkHardwareConfiguration @@ -1039396,6 +1041220,7 @@ components: properties: processorModel: type: string + description: The CPU model on the device. nullable: true compute: anyOf: @@ -1039411,6 +1041236,7 @@ components: properties: isMicrophoneOptional: type: boolean + description: True if the configured microphone is optional. False if the microphone is not optional and the health state of the device should be computed. nullable: true defaultMicrophone: anyOf: @@ -1039426,18 +1041252,23 @@ components: properties: adminAgentSoftwareVersion: type: string + description: The software version for the admin agent running on the device. nullable: true firmwareSoftwareVersion: type: string + description: The software version for the firmware running on the device. nullable: true operatingSystemSoftwareVersion: type: string + description: The software version for the operating system on the device. nullable: true partnerAgentSoftwareVersion: type: string + description: The software version for the partner agent running on the device. nullable: true teamsClientSoftwareVersion: type: string + description: The software version for the Teams client running on the device. nullable: true microsoft.graph.teamworkSpeakerConfiguration: title: teamworkSpeakerConfiguration @@ -1039445,9 +1041276,11 @@ components: properties: isCommunicationSpeakerOptional: type: boolean + description: True if the communication speaker is optional. Used to compute the health state if the communication speaker is not optional. nullable: true isSpeakerOptional: type: boolean + description: True if the configured speaker is optional. Used to compute the health state if the speaker is not optional. nullable: true defaultCommunicationSpeaker: anyOf: @@ -1039468,42 +1041301,54 @@ components: dateTimeConfiguration: anyOf: - $ref: '#/components/schemas/microsoft.graph.teamworkDateTimeConfiguration' + description: The date and time configurations for a device. nullable: true defaultPassword: type: string + description: The default password for the device. Write-Only. nullable: true deviceLockTimeout: pattern: '^-?P([0-9]+D)?(T([0-9]+H)?([0-9]+M)?([0-9]+([.][0-9]+)?S)?)?$' type: string + description: The device lock timeout in seconds. format: duration nullable: true isDeviceLockEnabled: type: boolean + description: True if the device lock is enabled. nullable: true isLoggingEnabled: type: boolean + description: True if logging is enabled. nullable: true isPowerSavingEnabled: type: boolean + description: True if power saving is enabled. nullable: true isScreenCaptureEnabled: type: boolean + description: True if screen capture is enabled. nullable: true isSilentModeEnabled: type: boolean + description: True if silent mode is enabled. nullable: true language: type: string + description: The language option for the device. nullable: true lockPin: type: string + description: The pin that unlocks the device. Write-Only. nullable: true loggingLevel: type: string + description: The logging level for the device. nullable: true networkConfiguration: anyOf: - $ref: '#/components/schemas/microsoft.graph.teamworkNetworkConfiguration' + description: The network configuration for the device. nullable: true microsoft.graph.teamworkTeamsClientConfiguration: title: teamworkTeamsClientConfiguration @@ -1039512,10 +1041357,12 @@ components: accountConfiguration: anyOf: - $ref: '#/components/schemas/microsoft.graph.teamworkAccountConfiguration' + description: The configuration of the Microsoft Teams client user account for a device. nullable: true featuresConfiguration: anyOf: - $ref: '#/components/schemas/microsoft.graph.teamworkFeaturesConfiguration' + description: The configuration of Microsoft Teams client features for a device. nullable: true microsoft.graph.teamworkConnection: title: teamworkConnection @@ -1039524,10 +1041371,12 @@ components: connectionStatus: anyOf: - $ref: '#/components/schemas/microsoft.graph.teamworkConnectionStatus' + description: 'Indicates whether a component/peripheral is connected/disconnected or its state is unknown. The possible values are: unknown, connected, disconnected, unknownFutureValue.' nullable: true lastModifiedDateTime: pattern: '^[0-9]{4,}-(0[1-9]|1[012])-(0[1-9]|[12][0-9]|3[01])T([01][0-9]|2[0-3]):[0-5][0-9]:[0-5][0-9]([.][0-9]{1,12})?(Z|[+-][0-9][0-9]:[0-9][0-9])$' type: string + description: 'Time at which the state was last changed. For example, indicates connected since when the state is connected and disconnected since when the state is disconnected.' format: date-time nullable: true microsoft.graph.teamworkHardwareHealth: @@ -1039537,10 +1041386,12 @@ components: computeHealth: anyOf: - $ref: '#/components/schemas/microsoft.graph.teamworkPeripheralHealth' + description: The system health details for a teamworkDevice. nullable: true hdmiIngestHealth: anyOf: - $ref: '#/components/schemas/microsoft.graph.teamworkPeripheralHealth' + description: The health details about the HDMI ingest of a device. nullable: true microsoft.graph.teamworkLoginStatus: title: teamworkLoginStatus @@ -1039549,14 +1041400,17 @@ components: exchangeConnection: anyOf: - $ref: '#/components/schemas/microsoft.graph.teamworkConnection' + description: Information about the Exchange connection. nullable: true skypeConnection: anyOf: - $ref: '#/components/schemas/microsoft.graph.teamworkConnection' + description: Information about the Skype for Business connection. nullable: true teamsConnection: anyOf: - $ref: '#/components/schemas/microsoft.graph.teamworkConnection' + description: Information about the Teams connection. nullable: true microsoft.graph.teamworkPeripheralsHealth: title: teamworkPeripheralsHealth @@ -1039565,10 +1041419,12 @@ components: communicationSpeakerHealth: anyOf: - $ref: '#/components/schemas/microsoft.graph.teamworkPeripheralHealth' + description: The health details about the communication speaker. nullable: true contentCameraHealth: anyOf: - $ref: '#/components/schemas/microsoft.graph.teamworkPeripheralHealth' + description: The health details about the content camera. nullable: true displayHealthCollection: type: array @@ -1039576,17 +1041432,21 @@ components: anyOf: - $ref: '#/components/schemas/microsoft.graph.teamworkPeripheralHealth' nullable: true + description: The health details about displays. microphoneHealth: anyOf: - $ref: '#/components/schemas/microsoft.graph.teamworkPeripheralHealth' + description: The health details about the microphone. nullable: true roomCameraHealth: anyOf: - $ref: '#/components/schemas/microsoft.graph.teamworkPeripheralHealth' + description: The health details about the room camera. nullable: true speakerHealth: anyOf: - $ref: '#/components/schemas/microsoft.graph.teamworkPeripheralHealth' + description: The health details about the speaker. nullable: true microsoft.graph.teamworkSoftwareUpdateHealth: title: teamworkSoftwareUpdateHealth @@ -1039595,26 +1041455,32 @@ components: adminAgentSoftwareUpdateStatus: anyOf: - $ref: '#/components/schemas/microsoft.graph.teamworkSoftwareUpdateStatus' + description: The software update available for the admin agent. nullable: true companyPortalSoftwareUpdateStatus: anyOf: - $ref: '#/components/schemas/microsoft.graph.teamworkSoftwareUpdateStatus' + description: The software update available for the company portal. nullable: true firmwareSoftwareUpdateStatus: anyOf: - $ref: '#/components/schemas/microsoft.graph.teamworkSoftwareUpdateStatus' + description: The software update available for the firmware. nullable: true operatingSystemSoftwareUpdateStatus: anyOf: - $ref: '#/components/schemas/microsoft.graph.teamworkSoftwareUpdateStatus' + description: The software update available for the operating system. nullable: true partnerAgentSoftwareUpdateStatus: anyOf: - $ref: '#/components/schemas/microsoft.graph.teamworkSoftwareUpdateStatus' + description: The software update available for the partner agent. nullable: true teamsClientSoftwareUpdateStatus: anyOf: - $ref: '#/components/schemas/microsoft.graph.teamworkSoftwareUpdateStatus' + description: The software update available for the Teams client. nullable: true microsoft.graph.teamworkDeviceOperationType: title: teamworkDeviceOperationType @@ -1043499,10 +1045365,12 @@ components: type: array items: type: string + description: Service principal IDs excluded from the policy scope. includeServicePrincipals: type: array items: type: string + description: 'Service principal IDs included in the policy scope, or ServicePrincipalsInMyTenant.' microsoft.graph.conditionalAccessClientApp: title: conditionalAccessClientApp enum: @@ -1043685,6 +1045553,13 @@ components: description: The number of days or hours. format: int32 nullable: true + microsoft.graph.decisionItemPrincipalResourceMembershipType: + title: decisionItemPrincipalResourceMembershipType + enum: + - direct + - indirect + - unknownFutureValue + type: string microsoft.graph.accessReviewNotificationRecipientScope: title: accessReviewNotificationRecipientScope type: object @@ -1044911,12 +1046786,15 @@ components: properties: displayName: type: string + description: Display name for the peripheral. nullable: true productId: type: string + description: The product ID of the device. Each product from a vendor has its own ID. nullable: true vendorId: type: string + description: The unique identifier for the vendor of the device. Each vendor has a unique ID. nullable: true microsoft.graph.teamworkContentCameraConfiguration: title: teamworkContentCameraConfiguration @@ -1044924,12 +1046802,15 @@ components: properties: isContentCameraInverted: type: boolean + description: True if the content camera is inverted. nullable: true isContentCameraOptional: type: boolean + description: True if the content camera is optional. nullable: true isContentEnhancementEnabled: type: boolean + description: True if the content enhancement is enabled. nullable: true microsoft.graph.teamworkConfiguredPeripheral: title: teamworkConfiguredPeripheral @@ -1044937,6 +1046818,7 @@ components: properties: isOptional: type: boolean + description: 'True if the current peripheral is optional. If set to false, this property is also used as part of the calculation of the health state for the device.' nullable: true peripheral: anyOf: @@ -1044950,22 +1046832,27 @@ components: maximum: 2147483647 minimum: -2147483648 type: integer + description: The brightness level on the device (0-100). Not applicable for Microsoft Teams Rooms devices. format: int32 nullable: true backlightTimeout: pattern: '^-?P([0-9]+D)?(T([0-9]+H)?([0-9]+M)?([0-9]+([.][0-9]+)?S)?)?$' type: string + description: Timeout for backlight (30-3600 secs). Not applicable for Teams Rooms devices. format: duration nullable: true isHighContrastEnabled: type: boolean + description: True if high contrast mode is enabled. Not applicable for Teams Rooms devices. nullable: true isScreensaverEnabled: type: boolean + description: True if screensaver is enabled. Not applicable for Teams Rooms devices. nullable: true screensaverTimeout: pattern: '^-?P([0-9]+D)?(T([0-9]+H)?([0-9]+M)?([0-9]+([.][0-9]+)?S)?)?$' type: string + description: Screensaver timeout from 30 to 3600 secs. Not applicable for Teams Rooms devices. format: duration nullable: true microsoft.graph.teamworkDateTimeConfiguration: @@ -1044974,22 +1046861,27 @@ components: properties: dateFormat: type: string + description: The date format for the device. nullable: true officeHoursEndTime: pattern: '^([01][0-9]|2[0-3]):[0-5][0-9]:[0-5][0-9]([.][0-9]{1,12})?$' type: string + description: The time of the day when the device is turned off. format: time nullable: true officeHoursStartTime: pattern: '^([01][0-9]|2[0-3]):[0-5][0-9]:[0-5][0-9]([.][0-9]{1,12})?$' type: string + description: The time of the day when the device is turned on. format: time nullable: true timeFormat: type: string + description: The time format for the device. nullable: true timeZone: type: string + description: The time zone to which the office hours apply. nullable: true microsoft.graph.teamworkNetworkConfiguration: title: teamworkNetworkConfiguration @@ -1044997,30 +1046889,39 @@ components: properties: defaultGateway: type: string + description: The default gateway is the path used to pass information when the destination is unknown to the device. nullable: true domainName: type: string + description: 'The network domain of the device, for example, contoso.com.' nullable: true hostName: type: string + description: The device name on a network. nullable: true ipAddress: type: string + description: The IP address is a numerical label that uniquely identifies every device connected to the internet. nullable: true isDhcpEnabled: type: boolean + description: True if DHCP is enabled. nullable: true isPCPortEnabled: type: boolean + description: True if the PC port is enabled. nullable: true primaryDns: type: string + description: A primary DNS is the first point of contact for a device that translates the hostname into an IP address. nullable: true secondaryDns: type: string + description: A secondary DNS is used when the primary DNS is not available. nullable: true subnetMask: type: string + description: A subnet mask is a number that distinguishes the network address and the host address within an IP address. nullable: true microsoft.graph.teamworkAccountConfiguration: title: teamworkAccountConfiguration @@ -1045029,10 +1046930,12 @@ components: onPremisesCalendarSyncConfiguration: anyOf: - $ref: '#/components/schemas/microsoft.graph.teamworkOnPremisesCalendarSyncConfiguration' + description: The account used to sync the calendar. nullable: true supportedClient: anyOf: - $ref: '#/components/schemas/microsoft.graph.teamworkSupportedClient' + description: 'The supported client for Teams Rooms devices. The possible values are: unknown, skypeDefaultAndTeams, teamsDefaultAndSkype, skypeOnly, teamsOnly, unknownFutureValue.' nullable: true microsoft.graph.teamworkFeaturesConfiguration: title: teamworkFeaturesConfiguration @@ -1045040,18 +1046943,23 @@ components: properties: emailToSendLogsAndFeedback: type: string + description: Email address to send logs and feedback. nullable: true isAutoScreenShareEnabled: type: boolean + description: True if auto screen shared is enabled. nullable: true isBluetoothBeaconingEnabled: type: boolean + description: True if Bluetooth beaconing is enabled. nullable: true isHideMeetingNamesEnabled: type: boolean + description: True if hiding meeting names is enabled. nullable: true isSendLogsAndFeedbackEnabled: type: boolean + description: True if sending logs and feedback is enabled. nullable: true microsoft.graph.teamworkConnectionStatus: title: teamworkConnectionStatus @@ -1045068,9 +1046976,11 @@ components: connection: anyOf: - $ref: '#/components/schemas/microsoft.graph.teamworkConnection' + description: The connected state and time since the peripheral device was connected. nullable: true isOptional: type: boolean + description: True if the peripheral is optional. Used for health computation. nullable: true peripheral: anyOf: @@ -1045082,13 +1046992,16 @@ components: properties: availableVersion: type: string + description: The available software version to update. nullable: true currentVersion: type: string + description: The current software version. nullable: true softwareFreshness: anyOf: - $ref: '#/components/schemas/microsoft.graph.teamworkSoftwareFreshness' + description: 'The update status of the software. The possible values are: unknown, latest, updateAvailable, unknownFutureValue.' nullable: true microsoft.graph.workforceIntegrationEncryptionProtocol: title: workforceIntegrationEncryptionProtocol @@ -1047262,12 +1049175,15 @@ components: properties: domain: type: string + description: The fully qualified domain name (FQDN) of the Skype for Business Server. Use the Exchange domain if the Skype for Business SIP domain is different from the Exchange domain of the user. nullable: true domainUserName: type: string + description: 'The domain and username of the console device, for example, Seattle/RanierConf.' nullable: true smtpAddress: type: string + description: The Simple Mail Transfer Protocol (SMTP) address of the user account. This is only required if a different user principal name (UPN) is used to sign in to Exchange other than Microsoft Teams and Skype for Business. This is a common scenario in a hybrid environment where an on-premises Exchange server is used. nullable: true microsoft.graph.teamworkSupportedClient: title: teamworkSupportedClient diff --git a/openapi/v1.0/openapi.yaml b/openapi/v1.0/openapi.yaml index 41f54b97..56848db3 100644 --- a/openapi/v1.0/openapi.yaml +++ b/openapi/v1.0/openapi.yaml @@ -8054,7 +8054,7 @@ paths: tags: - authenticationMethodsPolicy.authenticationMethodConfiguration summary: Get authenticationMethodConfigurations from authenticationMethodsPolicy - description: Represents the settings for each authentication method. + description: Represents the settings for each authentication method. Automatically expanded on GET /policies/authenticationMethodsPolicy. operationId: authenticationMethodsPolicy.ListAuthenticationMethodConfigurations parameters: - $ref: '#/components/parameters/top' @@ -8127,7 +8127,7 @@ paths: tags: - authenticationMethodsPolicy.authenticationMethodConfiguration summary: Create new navigation property to authenticationMethodConfigurations for authenticationMethodsPolicy - description: Represents the settings for each authentication method. + description: Represents the settings for each authentication method. Automatically expanded on GET /policies/authenticationMethodsPolicy. operationId: authenticationMethodsPolicy.CreateAuthenticationMethodConfigurations requestBody: description: New navigation property @@ -8151,7 +8151,7 @@ paths: tags: - authenticationMethodsPolicy.authenticationMethodConfiguration summary: Get authenticationMethodConfigurations from authenticationMethodsPolicy - description: Represents the settings for each authentication method. + description: Represents the settings for each authentication method. Automatically expanded on GET /policies/authenticationMethodsPolicy. operationId: authenticationMethodsPolicy.GetAuthenticationMethodConfigurations parameters: - name: authenticationMethodConfiguration-id @@ -8200,7 +8200,7 @@ paths: tags: - authenticationMethodsPolicy.authenticationMethodConfiguration summary: Update the navigation property authenticationMethodConfigurations in authenticationMethodsPolicy - description: Represents the settings for each authentication method. + description: Represents the settings for each authentication method. Automatically expanded on GET /policies/authenticationMethodsPolicy. operationId: authenticationMethodsPolicy.UpdateAuthenticationMethodConfigurations parameters: - name: authenticationMethodConfiguration-id @@ -8227,7 +8227,7 @@ paths: tags: - authenticationMethodsPolicy.authenticationMethodConfiguration summary: Delete navigation property authenticationMethodConfigurations for authenticationMethodsPolicy - description: Represents the settings for each authentication method. + description: Represents the settings for each authentication method. Automatically expanded on GET /policies/authenticationMethodsPolicy. operationId: authenticationMethodsPolicy.DeleteAuthenticationMethodConfigurations parameters: - name: authenticationMethodConfiguration-id @@ -371726,6 +371726,7 @@ paths: tags: - teamwork.workforceIntegration summary: Get workforceIntegrations from teamwork + description: A workforce integration with shifts. operationId: teamwork.ListWorkforceIntegrations parameters: - $ref: '#/components/parameters/top' @@ -371822,6 +371823,7 @@ paths: tags: - teamwork.workforceIntegration summary: Create new navigation property to workforceIntegrations for teamwork + description: A workforce integration with shifts. operationId: teamwork.CreateWorkforceIntegrations requestBody: description: New navigation property @@ -371845,6 +371847,7 @@ paths: tags: - teamwork.workforceIntegration summary: Get workforceIntegrations from teamwork + description: A workforce integration with shifts. operationId: teamwork.GetWorkforceIntegrations parameters: - name: workforceIntegration-id @@ -371901,6 +371904,7 @@ paths: tags: - teamwork.workforceIntegration summary: Update the navigation property workforceIntegrations in teamwork + description: A workforce integration with shifts. operationId: teamwork.UpdateWorkforceIntegrations parameters: - name: workforceIntegration-id @@ -371927,6 +371931,7 @@ paths: tags: - teamwork.workforceIntegration summary: Delete navigation property workforceIntegrations for teamwork + description: A workforce integration with shifts. operationId: teamwork.DeleteWorkforceIntegrations parameters: - name: workforceIntegration-id @@ -555148,7 +555153,7 @@ components: type: array items: $ref: '#/components/schemas/microsoft.graph.authenticationMethodConfiguration' - description: Represents the settings for each authentication method. + description: Represents the settings for each authentication method. Automatically expanded on GET /policies/authenticationMethodsPolicy. microsoft.graph.organizationalBranding: allOf: - $ref: '#/components/schemas/microsoft.graph.organizationalBrandingProperties' @@ -570498,6 +570503,7 @@ components: type: array items: $ref: '#/components/schemas/microsoft.graph.workforceIntegration' + description: A workforce integration with shifts. microsoft.graph.workforceIntegration: allOf: - $ref: '#/components/schemas/microsoft.graph.changeTrackedEntity' From 513a71a56e1dbfe92450aa35182e0c97f1ac1a7b Mon Sep 17 00:00:00 2001 From: Vincent Biret Date: Wed, 2 Feb 2022 13:01:06 -0500 Subject: [PATCH 7/9] Apply suggestions from code review Co-authored-by: Michael Mainer --- transforms/csdl/preprocess_csdl.xsl | 4 ++-- transforms/csdl/readme.md | 2 +- transforms/csdl/transform.ps1 | 4 ++-- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/transforms/csdl/preprocess_csdl.xsl b/transforms/csdl/preprocess_csdl.xsl index 1703822c..646ad002 100644 --- a/transforms/csdl/preprocess_csdl.xsl +++ b/transforms/csdl/preprocess_csdl.xsl @@ -5,7 +5,7 @@ True - True + False @@ -639,7 +639,7 @@ - + diff --git a/transforms/csdl/readme.md b/transforms/csdl/readme.md index c49a8767..f828a9c1 100644 --- a/transforms/csdl/readme.md +++ b/transforms/csdl/readme.md @@ -29,7 +29,7 @@ Please use fully qualified and precise template match statements so as not to pe 2. `cd` into `transforms\csdl` folder 3. Run `transform.ps1 `. If files are not specified, the script will apply transformations from *preprocess_csdl.xsl* on *preprocess_csdl_test_input.xml* and override *preprocess_csdl_test_output.xml* file. 4. You can optionally run the transform without removing capability annotations by setting the `-removeCapabilityAnnotations` flag to `$false`. The default behavior is to remove capability annotations. -5. You can additional run the transform without injecting the inner error description by setting the `-removeInnererrorDescription` false to `$true` (default, false to include it). +5. You can optionally run the transform to inject the OData inner error description by setting the `addInnerErrorDescription` flag to `$true`. The default value is `$false`. ## Instructions for running transform against Microsoft Graph metadata diff --git a/transforms/csdl/transform.ps1 b/transforms/csdl/transform.ps1 index 0362937c..177d31f0 100644 --- a/transforms/csdl/transform.ps1 +++ b/transforms/csdl/transform.ps1 @@ -13,7 +13,7 @@ param ( [bool] $removeCapabilityAnnotations = $true, [bool] - $removeInnererrorDescription = $true + $addInnerErrorDescription = $false ) function Get-PathWithPrefix([string]$requestedPath) { if([System.IO.Path]::IsPathRooted($requestedPath)) { @@ -38,7 +38,7 @@ $outputFullPath = Get-PathWithPrefix -requestedPath $outputPath $xsltargs = [System.Xml.Xsl.XsltArgumentList]::new() $xsltargs.AddParam("remove-capability-annotations", "", $removeCapabilityAnnotations.ToString()) -$xsltargs.AddParam("remove-innererror-description", "", $removeInnererrorDescription.ToString()) +$xsltargs.AddParam("add-innererror-description", "", $removeInnererrorDescription.ToString()) $xmlWriterSettings = [System.Xml.XmlWriterSettings]::new() $xmlWriterSettings.Indent = $true From d4307f85365ee4239c7fffdcac06dcb3d3aeba0a Mon Sep 17 00:00:00 2001 From: Vincent Biret Date: Wed, 2 Feb 2022 15:46:55 -0500 Subject: [PATCH 8/9] Update transforms/csdl/transform.ps1 Co-authored-by: Mustafa Zengin --- transforms/csdl/transform.ps1 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/transforms/csdl/transform.ps1 b/transforms/csdl/transform.ps1 index 177d31f0..5032d12e 100644 --- a/transforms/csdl/transform.ps1 +++ b/transforms/csdl/transform.ps1 @@ -38,7 +38,7 @@ $outputFullPath = Get-PathWithPrefix -requestedPath $outputPath $xsltargs = [System.Xml.Xsl.XsltArgumentList]::new() $xsltargs.AddParam("remove-capability-annotations", "", $removeCapabilityAnnotations.ToString()) -$xsltargs.AddParam("add-innererror-description", "", $removeInnererrorDescription.ToString()) +$xsltargs.AddParam("add-innererror-description", "", $addInnerErrorDescription.ToString()) $xmlWriterSettings = [System.Xml.XmlWriterSettings]::new() $xmlWriterSettings.Indent = $true From 935876fb93b0a80fc7d4d5203111878b39bef65d Mon Sep 17 00:00:00 2001 From: Vincent Biret Date: Thu, 3 Feb 2022 13:01:32 -0500 Subject: [PATCH 9/9] - fixes inner error injection to avoid reoving the annotations Signed-off-by: Vincent Biret --- transforms/csdl/preprocess_csdl.xsl | 69 +++++++++++++---------------- 1 file changed, 32 insertions(+), 37 deletions(-) diff --git a/transforms/csdl/preprocess_csdl.xsl b/transforms/csdl/preprocess_csdl.xsl index 646ad002..98de7f09 100644 --- a/transforms/csdl/preprocess_csdl.xsl +++ b/transforms/csdl/preprocess_csdl.xsl @@ -501,6 +501,38 @@ + + + + + InnerError + + request-id + Edm.String + + Org.OData.Core.V1.Description + Request Id as tracked internally by the service + + + + client-request-id + Edm.String + + Org.OData.Core.V1.Description + Client request Id as sent by the client application. + + + + Date + Edm.DateTimeOffset + + Org.OData.Core.V1.Description + Date when the error occured. + + + + + microsoft.graph.driveItem/workbook @@ -636,41 +668,4 @@ - - - - - - - - InnerError - - request-id - Edm.String - - Org.OData.Core.V1.Description - Request Id as tracked internally by the service - - - - client-request-id - Edm.String - - Org.OData.Core.V1.Description - Client request Id as sent by the client application. - - - - Date - Edm.DateTimeOffset - - Org.OData.Core.V1.Description - Date when the error occured. - - - - - - -