diff --git a/.gitattributes b/.gitattributes index 9fb85ec49f011..ff067eed84e37 100644 --- a/.gitattributes +++ b/.gitattributes @@ -9,6 +9,10 @@ # Declare files that will always have CRLF line endings on checkout. *.sln text eol=crlf +# Reference docs are generated by PlatyPS/transform scripts on Windows. +# Force LF so regenerated markdown never churns the diff with CRLF endings. +*.md text eol=lf + # Denote all files that are truly binary and should not be modified. *.png binary *.jpg binary \ No newline at end of file diff --git a/azure-pipelines/common-templates/generate-module-docs-steps.yml b/azure-pipelines/common-templates/generate-module-docs-steps.yml new file mode 100644 index 0000000000000..290ee79651d59 --- /dev/null +++ b/azure-pipelines/common-templates/generate-module-docs-steps.yml @@ -0,0 +1,219 @@ +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. +# +# Reusable steps that generate and post-process documentation for a SINGLE module in a SINGLE +# SDK profile, then open a dedicated pull request for it. Designed to run inside an isolated +# per-module stage so an import/assembly conflict for one module can never affect another. +# +# Failure containment: the generate step runs with continueOnError, and every step after it is +# gated on the ModuleGenerated variable (set only when generation actually succeeds). If the +# module fails to import, nothing is deleted, no PR is opened, and the stage is marked +# partially-succeeded WITHOUT failing the overall pipeline or any other module's stage. + +parameters: + - name: Module + type: string + - name: GraphProfileFilter + type: string + - name: BranchPrefix + type: string + default: WeeklyDocs + - name: BaseBranch + type: string + default: main + +steps: + - template: ../update-template.yml + parameters: + InstallProfile: ${{ parameters.GraphProfileFilter }} + Module: ${{ parameters.Module }} + + - task: PowerShell@2 + name: ComputeBranch + displayName: 'Compute branch name' + inputs: + targetType: 'inline' + pwsh: true + script: | + git submodule update --init --recursive + $branch = "{0}-{1}-{2}_{3}" -f "${{ parameters.BranchPrefix }}", "${{ parameters.GraphProfileFilter }}", "${{ parameters.Module }}", (Get-Date -Format yyyyMMddHHmm) + Write-Host "Compute branch: $branch" + Write-Host "##vso[task.setvariable variable=ModuleBranch;isOutput=true]$branch" + + - task: Bash@3 + displayName: 'Create module refresh branch' + inputs: + targetType: inline + script: | + git status + git branch $(ComputeBranch.ModuleBranch) + git checkout $(ComputeBranch.ModuleBranch) + git status + + - task: PowerShell@2 + displayName: 'Create missing external docs folder' + inputs: + targetType: 'filePath' + pwsh: true + filePath: scripts/CreateExternalDocsFolder.ps1 + + - task: PowerShell@2 + name: GenerateDocs + displayName: 'Generate markdown (${{ parameters.Module }} / ${{ parameters.GraphProfileFilter }})' + continueOnError: true + inputs: + targetType: 'filePath' + pwsh: true + filePath: scripts/GenerateMarkDown.ps1 + arguments: -GraphProfileFilter "${{ parameters.GraphProfileFilter }}" -ModuleFilter "${{ parameters.Module }}" + + - task: PowerShell@2 + displayName: 'Escape disallowed html tags' + condition: and(succeeded(), eq(variables['ModuleGenerated'], 'true')) + continueOnError: true + inputs: + targetType: 'filePath' + pwsh: true + filePath: scripts/EscapeDisallowedHtmlTags.ps1 + arguments: -GraphProfileFilter "${{ parameters.GraphProfileFilter }}" -ModuleFilter "${{ parameters.Module }}" + + - task: PowerShell@2 + displayName: 'Update metadata header' + condition: and(succeeded(), eq(variables['ModuleGenerated'], 'true')) + continueOnError: true + inputs: + targetType: 'filePath' + pwsh: true + filePath: scripts/MsSubserviceUpdate.ps1 + arguments: -GraphProfileFilter "${{ parameters.GraphProfileFilter }}" -ModuleFilter "${{ parameters.Module }}" + + - task: PowerShell@2 + displayName: 'Generate permissions table' + condition: and(succeeded(), eq(variables['ModuleGenerated'], 'true')) + continueOnError: true + inputs: + targetType: 'filePath' + pwsh: true + filePath: scripts/GeneratePermissionsTable.ps1 + arguments: -GraphProfileFilter "${{ parameters.GraphProfileFilter }}" -ModuleFilter "${{ parameters.Module }}" + + - task: PowerShell@2 + displayName: 'Update Links' + condition: and(succeeded(), eq(variables['ModuleGenerated'], 'true')) + continueOnError: true + inputs: + targetType: 'filePath' + pwsh: true + filePath: scripts/UpdateLinks.ps1 + arguments: -GraphProfileFilter "${{ parameters.GraphProfileFilter }}" -ModuleFilter "${{ parameters.Module }}" + + - task: PowerShell@2 + displayName: 'Repair Examples and Descriptions and Title' + condition: and(succeeded(), eq(variables['ModuleGenerated'], 'true')) + continueOnError: true + inputs: + targetType: 'filePath' + pwsh: true + filePath: scripts/RepairExamplesDescriptionsAndTitle.ps1 + arguments: -GraphProfileFilter "${{ parameters.GraphProfileFilter }}" -ModuleFilter "${{ parameters.Module }}" + + - task: PowerShell@2 + displayName: 'Remove boiler plate code' + condition: and(succeeded(), eq(variables['ModuleGenerated'], 'true')) + continueOnError: true + inputs: + targetType: 'filePath' + pwsh: true + filePath: scripts/RemoveBoilerPlateCode.ps1 + arguments: -GraphProfileFilter "${{ parameters.GraphProfileFilter }}" -ModuleFilter "${{ parameters.Module }}" + + - task: PowerShell@2 + displayName: 'Remove invalid fullstops' + condition: and(succeeded(), eq(variables['ModuleGenerated'], 'true')) + continueOnError: true + inputs: + targetType: 'filePath' + pwsh: true + filePath: scripts/RemoveInvalidFullStops.ps1 + arguments: -GraphProfileFilter "${{ parameters.GraphProfileFilter }}" -ModuleFilter "${{ parameters.Module }}" + + - task: PowerShell@2 + displayName: 'Generate missing docs for aliased cmdlets' + condition: and(succeeded(), eq(variables['ModuleGenerated'], 'true')) + continueOnError: true + inputs: + targetType: 'filePath' + pwsh: true + filePath: scripts/GenerateAliasedDocs.ps1 + arguments: -GraphProfileFilter "${{ parameters.GraphProfileFilter }}" -ModuleFilter "${{ parameters.Module }}" + + - task: PowerShell@2 + displayName: 'Correct related links section' + condition: and(succeeded(), eq(variables['ModuleGenerated'], 'true')) + continueOnError: true + inputs: + targetType: 'filePath' + pwsh: true + filePath: scripts/CorrectRelatedLinks-AllFiles.ps1 + arguments: -GraphProfileFilter "${{ parameters.GraphProfileFilter }}" -ModuleFilter "${{ parameters.Module }}" + + - task: AzureKeyVault@2 + displayName: "Azure Key Vault: Get GitHub App secrets" + condition: and(succeeded(), eq(variables['ModuleGenerated'], 'true')) + inputs: + azureSubscription: "Federated AKV Managed Identity Connection" + KeyVaultName: akv-prod-eastus + SecretsFilter: "microsoft-graph-devx-bot-appid,microsoft-graph-devx-bot-privatekey" + + - task: PowerShell@2 + displayName: 'Push ${{ parameters.Module }} (${{ parameters.GraphProfileFilter }}) branch' + condition: and(succeeded(), eq(variables['ModuleGenerated'], 'true')) + continueOnError: true + env: + GhAppId: $(microsoft-graph-devx-bot-appid) + GhAppKey: $(microsoft-graph-devx-bot-privatekey) + inputs: + targetType: inline + pwsh: true + script: | + git config --global user.email "GraphTooling@service.microsoft.com" + git config --global user.name "Microsoft Graph DevX Tooling" + git config --system core.longpaths true + # The microsoft-graph-devx-bot GitHub App must have contents:write on this repo. + $token = & "$(Build.SourcesDirectory)/scripts/Generate-Github-Token.ps1" -AppClientId $env:GhAppId -AppPrivateKeyContents $env:GhAppKey -Repository "MicrosoftDocs/microsoftgraph-docs-powershell" + if ([string]::IsNullOrWhiteSpace($token)) { throw "Failed to generate GitHub App installation token." } + # Mask the token so it is never surfaced in pipeline logs. + Write-Host "##vso[task.setsecret]$token" + git status + git add . + $pending = git status --porcelain + if (-not [string]::IsNullOrWhiteSpace($pending)) { + git commit -m "Updating reference docs for ${{ parameters.Module }} (${{ parameters.GraphProfileFilter }})" + } + else { + $global:LASTEXITCODE = 0 + } + git push --set-upstream "https://x-access-token:$token@github.com/MicrosoftDocs/microsoftgraph-docs-powershell.git" $(ComputeBranch.ModuleBranch) + git status + + - task: PowerShell@2 + displayName: 'Create PR for ${{ parameters.Module }} (${{ parameters.GraphProfileFilter }})' + condition: and(succeeded(), eq(variables['ModuleGenerated'], 'true')) + continueOnError: true + env: + GhAppId: $(microsoft-graph-devx-bot-appid) + GhAppKey: $(microsoft-graph-devx-bot-privatekey) + inputs: + targetType: inline + pwsh: true + script: | + $BaseBranchName = "${{ parameters.BaseBranch }}" + $Head = "MicrosoftDocs:$(ComputeBranch.ModuleBranch)" + $Title = "Weekly Docs Refresh: ${{ parameters.Module }} (${{ parameters.GraphProfileFilter }})" + $Body = "This pull request was automatically created by Azure Pipelines for the ``${{ parameters.Module }}`` module (``${{ parameters.GraphProfileFilter }}`` profile). **Important** Check for unexpected deletions or changes in this PR." + # The microsoft-graph-devx-bot GitHub App must have pull_requests:write on this repo. + $env:GITHUB_TOKEN = & "$(Build.SourcesDirectory)/scripts/Generate-Github-Token.ps1" -AppClientId $env:GhAppId -AppPrivateKeyContents $env:GhAppKey -Repository "MicrosoftDocs/microsoftgraph-docs-powershell" + if ([string]::IsNullOrWhiteSpace($env:GITHUB_TOKEN)) { throw "Failed to generate GitHub App installation token." } + # Mask the token so it is never surfaced in pipeline logs. + Write-Host "##vso[task.setsecret]$env:GITHUB_TOKEN" + gh pr create -t $Title -b $Body -B $BaseBranchName -H $Head diff --git a/azure-pipelines/common-templates/module-stages.yml b/azure-pipelines/common-templates/module-stages.yml new file mode 100644 index 0000000000000..f8a1f19f2cfc1 --- /dev/null +++ b/azure-pipelines/common-templates/module-stages.yml @@ -0,0 +1,50 @@ +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. +# +# Emits one fully independent stage per module for a given SDK profile. Each stage runs on its +# own agent (clean assembly-load context), generates + post-processes docs for that single +# module, and opens its own pull request. All stages have dependsOn: [] so they run in +# parallel and one module can never block or fail another. + +parameters: + - name: GraphProfileFilter + type: string + # Short label used in stage names (stage names cannot contain '.'), e.g. "v1" or "beta". + - name: ProfileLabel + type: string + - name: Modules + type: object + default: [] + - name: BranchPrefix + type: string + default: WeeklyDocs + - name: BaseBranch + type: string + default: main + - name: PipelineTimeout + type: number + default: 120 + +stages: + - ${{ each module in parameters.Modules }}: + - stage: "Gen_${{ parameters.ProfileLabel }}_${{ replace(module, '.', '_') }}" + displayName: '${{ parameters.GraphProfileFilter }} - ${{ module }}' + dependsOn: [] + jobs: + - job: GenerateModuleDocs + timeoutInMinutes: ${{ parameters.PipelineTimeout }} + templateContext: + outputs: + - output: pipelineArtifact + displayName: 'Publish missing external docs' + targetPath: missingexternaldocsurl + artifactName: "MissingExternalDocs-${{ parameters.ProfileLabel }}-${{ replace(module, '.', '-') }}" + publishLocation: 'Container' + condition: succeededOrFailed() + steps: + - template: generate-module-docs-steps.yml + parameters: + Module: ${{ module }} + GraphProfileFilter: ${{ parameters.GraphProfileFilter }} + BranchPrefix: ${{ parameters.BranchPrefix }} + BaseBranch: ${{ parameters.BaseBranch }} diff --git a/azure-pipelines/powershell-docs.yml b/azure-pipelines/powershell-docs.yml index c0304ad79ada1..71679bf595944 100644 --- a/azure-pipelines/powershell-docs.yml +++ b/azure-pipelines/powershell-docs.yml @@ -47,156 +47,106 @@ extends: customBuildTags: - ES365AIMigrationTooling stages: - - stage: stage - jobs: - - job: PowerShellDocsUpdate - timeoutInMinutes: ${{ parameters.PipelineTimeout }} - templateContext: - outputs: - - output: pipelineArtifact - displayName: 'Publish Examples to be reviewed as artifact' - targetPath: missingexternaldocsurl - artifactName: 'MissingExternalDocs' - publishLocation: 'Container' - steps: - - template: azure-pipelines/update-template.yml@self - - task : PowerShell@2 - name: "ComputeBranch" - displayName: 'Compute Branch Name' - inputs: - targetType: 'inline' - script: | - git submodule update --init --recursive - $branch = "{0}_{1}" -f "WeeklyReferenceDocsUpdate", (Get-Date -Format yyyyMMddHHmm) - Write-Host "Compute branch: $branch" - Write-Host "##vso[task.setvariable variable=WeeklyReferenceDocsBranch;isOutput=true]$branch" - - task: Bash@3 - displayName: "Create weekly refresh branch" - inputs: - targetType: inline - script: | - git status - git branch $(ComputeBranch.WeeklyReferenceDocsBranch) - git checkout $(ComputeBranch.WeeklyReferenceDocsBranch) - git status - - task: PowerShell@2 - displayName: 'Create missing external docs folder' - continueOnError: false - inputs: - targetType: 'filePath' - pwsh: true - filePath: scripts/CreateExternalDocsFolder.ps1 - - - task: PowerShell@2 - displayName: 'Generate markdown files from PowerShell help files' - continueOnError: false - inputs: - targetType: 'filePath' - pwsh: true - filePath: scripts/GenerateMarkDown.ps1 - - task: PowerShell@2 - displayName: 'Escape disallowed html tags' - continueOnError: false - inputs: - targetType: 'filePath' - pwsh: true - filePath: scripts/EscapeDisallowedHtmlTags.ps1 - - task: PowerShell@2 - displayName: 'Update metadata header' - continueOnError: false - inputs: - targetType: 'filePath' - pwsh: true - filePath: scripts/MsSubserviceUpdate.ps1 - - task: PowerShell@2 - displayName: 'Generate permissions table' - continueOnError: false - inputs: - targetType: 'filePath' - pwsh: true - filePath: scripts/GeneratePermissionsTable.ps1 - - task: PowerShell@2 - displayName: 'Update Links' - continueOnError: false - inputs: - targetType: 'filePath' - pwsh: true - filePath: scripts/UpdateLinks.ps1 - errorActionPreference: 'stop' - - task: PowerShell@2 - displayName: 'Repair Examples and Descriptions and Title' - continueOnError: false - inputs: - targetType: 'filePath' - pwsh: true - filePath: scripts/RepairExamplesDescriptionsAndTitle.ps1 - - task: PowerShell@2 - displayName: 'Remove boiler plate code' - continueOnError: false - inputs: - targetType: 'filePath' - pwsh: true - filePath: scripts/RemoveBoilerPlateCode.ps1 - - task: PowerShell@2 - displayName: 'Remove invalid fullstops' - continueOnError: false - inputs: - targetType: 'filePath' - pwsh: true - filePath: scripts/RemoveInvalidFullStops.ps1 - - task: PowerShell@2 - displayName: 'Generate missing docs for aliased cmdlets' - continueOnError: false - inputs: - targetType: 'filePath' - pwsh: true - filePath: scripts/GenerateAliasedDocs.ps1 - - task: PowerShell@2 - displayName: 'Correct related links section' - continueOnError: false - inputs: - targetType: 'filePath' - pwsh: true - filePath: scripts/CorrectRelatedLinks-AllFiles.ps1 - - task: PowerShell@2 - displayName: 'Stabilize ms.date values' - continueOnError: false - inputs: - targetType: 'filePath' - pwsh: true - filePath: scripts/StabilizeMsDate.ps1 - errorActionPreference: 'stop' - - task: AzureKeyVault@2 - displayName: "Azure Key Vault: Get GitHub App secrets" - inputs: - azureSubscription: "Federated AKV Managed Identity Connection" - KeyVaultName: akv-prod-eastus - SecretsFilter: "microsoft-graph-devx-bot-appid,microsoft-graph-devx-bot-privatekey" - - task: PowerShell@2 - displayName: Pushing to github - env: - GhAppId: $(microsoft-graph-devx-bot-appid) - GhAppKey: $(microsoft-graph-devx-bot-privatekey) - inputs: - targetType: inline - pwsh: true - script: | - git config --global user.email "GraphTooling@service.microsoft.com" - git config --global user.name "Microsoft Graph DevX Tooling" - git config --system core.longpaths true - # The microsoft-graph-devx-bot GitHub App must have contents:write on this repo. - $token = & "$(Build.SourcesDirectory)/scripts/Generate-Github-Token.ps1" -AppClientId $env:GhAppId -AppPrivateKeyContents $env:GhAppKey -Repository "MicrosoftDocs/microsoftgraph-docs-powershell" - if ([string]::IsNullOrWhiteSpace($token)) { throw "Failed to generate GitHub App installation token." } - # Mask the token so it is never surfaced in pipeline logs. - Write-Host "##vso[task.setsecret]$token" - git status - git add . - git commit -m "Updating reference docs" - git push --set-upstream "https://x-access-token:$token@github.com/MicrosoftDocs/microsoftgraph-docs-powershell.git" $(ComputeBranch.WeeklyReferenceDocsBranch) - git status - - template: azure-pipelines/common-templates/create-pr.yml@self - parameters: - BaseBranch: "main" - TargetBranch: $(ComputeBranch.WeeklyReferenceDocsBranch) - Title: "Weekly PowerShell Microsoft Graph Reference Docs Refresh" - Body: "This pull request was automatically created by Azure Pipelines. **Important** Check for unexpected deletions or changes in this PR." \ No newline at end of file + - template: common-templates/module-stages.yml@self + parameters: + GraphProfileFilter: "v1.0" + ProfileLabel: "v1" + BranchPrefix: "WeeklyDocs" + BaseBranch: "main" + PipelineTimeout: ${{ parameters.PipelineTimeout }} + Modules: + - Authentication + - Applications + - Bookings + - BusinessScenario + - BackupRestore + - Calendar + - ChangeNotifications + - CloudCommunications + - Compliance + - CrossDeviceExperiences + - Devices.CloudPrint + - Devices.CorporateManagement + - Devices.ServiceAnnouncement + - DeviceManagement + - DeviceManagement.Administration + - DeviceManagement.Enrollment + - DeviceManagement.Actions + - DeviceManagement.Functions + - DirectoryObjects + - Education + - Files + - Financials + - Groups + - Identity.DirectoryManagement + - Identity.Governance + - Identity.SignIns + - Identity.Partner + - Mail + - ManagedTenants + - NetworkAccess + - Notes + - People + - PersonalContacts + - Planner + - Reports + - SchemaExtensions + - Search + - Security + - Sites + - Teams + - Users + - Users.Actions + - Users.Functions + - WindowsUpdates + - template: common-templates/module-stages.yml@self + parameters: + GraphProfileFilter: "beta" + ProfileLabel: "beta" + BranchPrefix: "WeeklyDocs" + BaseBranch: "main" + PipelineTimeout: ${{ parameters.PipelineTimeout }} + Modules: + - Applications + - Bookings + - BusinessScenario + - BackupRestore + - Calendar + - ChangeNotifications + - CloudCommunications + - Compliance + - CrossDeviceExperiences + - Devices.CloudPrint + - Devices.CorporateManagement + - Devices.ServiceAnnouncement + - DeviceManagement + - DeviceManagement.Administration + - DeviceManagement.Enrollment + - DeviceManagement.Actions + - DeviceManagement.Functions + - DirectoryObjects + - Education + - Files + - Financials + - Groups + - Identity.DirectoryManagement + - Identity.Governance + - Identity.SignIns + - Identity.Partner + - Mail + - ManagedTenants + - NetworkAccess + - Notes + - People + - PersonalContacts + - Planner + - Reports + - SchemaExtensions + - Search + - Security + - Sites + - Teams + - Users + - Users.Actions + - Users.Functions + - WindowsUpdates diff --git a/azure-pipelines/update-template.yml b/azure-pipelines/update-template.yml index cd0ec7be60216..8884e887a9aae 100644 --- a/azure-pipelines/update-template.yml +++ b/azure-pipelines/update-template.yml @@ -1,3 +1,16 @@ +parameters: + # Which SDK profile to install for. "both" preserves the original full-run behaviour and + # installs the Microsoft.Graph and Microsoft.Graph.Beta meta modules. + - name: InstallProfile + type: string + default: both + # When set, only the single workload submodule for that module (plus Authentication) is + # installed instead of the whole SDK. This keeps each isolated per-module stage fast and + # guarantees only one workload module is ever present in the session. + - name: Module + type: string + default: "" + steps: - task: PowerShell@2 displayName: Install Required Modules @@ -12,25 +25,44 @@ steps: if (-not (Get-PSRepository -Name PowerShell_V2_Build -ErrorAction SilentlyContinue)) { Register-PSRepository -Name PowerShell_V2_Build -SourceLocation $feedUrl -InstallationPolicy Trusted -Credential $cred } - try{ - # Try to update the V1 module first. - Install-Module Microsoft.Graph.Beta -Repository PowerShell_V2_Build -Credential $cred -Scope AllUsers -AcceptLicense -SkipPublisherCheck -Force -AllowClobber - }catch{ - # If the module is not installed, install it. - echo "Error when installing Beta" + + $installProfile = "${{ parameters.InstallProfile }}" + $module = "${{ parameters.Module }}" + + # Build the list of modules to install. + $toInstall = @() + if ([string]::IsNullOrWhiteSpace($module)) { + # Full-run behaviour: install the meta module(s) for the requested profile(s). + if ($installProfile -ne 'v1.0') { $toInstall += 'Microsoft.Graph.Beta' } + if ($installProfile -ne 'beta') { $toInstall += 'Microsoft.Graph' } } - try{ - # Try to update the beta module first. - Install-Module Microsoft.Graph -Repository PowerShell_V2_Build -Credential $cred -Scope AllUsers -AcceptLicense -SkipPublisherCheck -Force -AllowClobber - }catch{ - # If the module is not installed, install it. - echo "Error when installing V1" + else { + # Isolated per-module run: install only Authentication + the single workload + # submodule for the target profile. + $toInstall += 'Microsoft.Graph.Authentication' + if ($installProfile -eq 'beta') { + $toInstall += "Microsoft.Graph.Beta.$module" + } + else { + $toInstall += "Microsoft.Graph.$module" + } + } + + foreach ($m in $toInstall) { + try { + Install-Module $m -Repository PowerShell_V2_Build -Credential $cred -Scope AllUsers -AcceptLicense -SkipPublisherCheck -Force -AllowClobber + } + catch { + # Do not fail the install step; a missing/failed module surfaces later as a + # fail-safe (no deletion, no PR) in the isolated generation stage. + Write-Host "##vso[task.logissue type=warning]Failed to install $m : $($_.Exception.Message)" + } } - $modules = Get-Module -Name Microsoft.Graph -ListAvailable + $modules = Get-Module -Name Microsoft.Graph* -ListAvailable foreach($r in $modules) { - echo $r.Version + echo "$($r.Name) $($r.Version)" } env: SYSTEM_ACCESSTOKEN: $(System.AccessToken) diff --git a/microsoftgraph/graph-powershell-1.0/Microsoft.Graph.Compliance/Get-MgCompliance.md b/microsoftgraph/graph-powershell-1.0/Microsoft.Graph.Compliance/Get-MgCompliance.md index 1724009a6a73a..34be6d7255c9f 100644 --- a/microsoftgraph/graph-powershell-1.0/Microsoft.Graph.Compliance/Get-MgCompliance.md +++ b/microsoftgraph/graph-powershell-1.0/Microsoft.Graph.Compliance/Get-MgCompliance.md @@ -4,7 +4,7 @@ external help file: Microsoft.Graph.Compliance-Help.xml HelpUri: https://learn.microsoft.com/powershell/module/microsoft.graph.compliance/get-mgcompliance Locale: en-US Module Name: Microsoft.Graph.Compliance -ms.date: 06/05/2026 +ms.date: 07/31/2026 PlatyPS schema version: 2024-05-01 title: Get-MgCompliance --- @@ -26,7 +26,7 @@ Get compliance Get-MgCompliance [-ExpandProperty ] [-Property ] [-ResponseHeadersVariable ] [-Break] [-Headers ] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] - [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + [-ProxyCredential ] [-ProxyUseDefaultCredentials] ``` ## ALIASES diff --git a/microsoftgraph/graph-powershell-1.0/Microsoft.Graph.Compliance/Get-MgPrivacySubjectRightsRequest.md b/microsoftgraph/graph-powershell-1.0/Microsoft.Graph.Compliance/Get-MgPrivacySubjectRightsRequest.md index f73f497f4b168..73c10bedf1c18 100644 --- a/microsoftgraph/graph-powershell-1.0/Microsoft.Graph.Compliance/Get-MgPrivacySubjectRightsRequest.md +++ b/microsoftgraph/graph-powershell-1.0/Microsoft.Graph.Compliance/Get-MgPrivacySubjectRightsRequest.md @@ -4,7 +4,7 @@ external help file: Microsoft.Graph.Compliance-Help.xml HelpUri: https://learn.microsoft.com/powershell/module/microsoft.graph.compliance/get-mgprivacysubjectrightsrequest Locale: en-US Module Name: Microsoft.Graph.Compliance -ms.date: 06/05/2026 +ms.date: 07/31/2026 PlatyPS schema version: 2024-05-01 title: Get-MgPrivacySubjectRightsRequest --- @@ -28,7 +28,7 @@ Get-MgPrivacySubjectRightsRequest [-ExpandProperty ] [-Property ] [-Break] [-Headers ] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-PageSize ] [-All] - [-CountVariable ] [] + [-CountVariable ] ``` ### Get @@ -37,7 +37,7 @@ Get-MgPrivacySubjectRightsRequest [-ExpandProperty ] [-Property [-ExpandProperty ] [-Property ] [-ResponseHeadersVariable ] [-Break] [-Headers ] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] - [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + [-ProxyCredential ] [-ProxyUseDefaultCredentials] ``` ### GetViaIdentity @@ -46,7 +46,7 @@ Get-MgPrivacySubjectRightsRequest -SubjectRightsRequestId [-ExpandPrope Get-MgPrivacySubjectRightsRequest -InputObject [-ExpandProperty ] [-Property ] [-ResponseHeadersVariable ] [-Break] [-Headers ] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] - [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + [-ProxyCredential ] [-ProxyUseDefaultCredentials] ``` ## ALIASES diff --git a/microsoftgraph/graph-powershell-1.0/Microsoft.Graph.Compliance/Get-MgPrivacySubjectRightsRequestApprover.md b/microsoftgraph/graph-powershell-1.0/Microsoft.Graph.Compliance/Get-MgPrivacySubjectRightsRequestApprover.md index 6803a29548803..df3257ad9c221 100644 --- a/microsoftgraph/graph-powershell-1.0/Microsoft.Graph.Compliance/Get-MgPrivacySubjectRightsRequestApprover.md +++ b/microsoftgraph/graph-powershell-1.0/Microsoft.Graph.Compliance/Get-MgPrivacySubjectRightsRequestApprover.md @@ -4,7 +4,7 @@ external help file: Microsoft.Graph.Compliance-Help.xml HelpUri: https://learn.microsoft.com/powershell/module/microsoft.graph.compliance/get-mgprivacysubjectrightsrequestapprover Locale: en-US Module Name: Microsoft.Graph.Compliance -ms.date: 06/05/2026 +ms.date: 07/31/2026 PlatyPS schema version: 2024-05-01 title: Get-MgPrivacySubjectRightsRequestApprover --- @@ -30,7 +30,6 @@ Get-MgPrivacySubjectRightsRequestApprover -SubjectRightsRequestId [-Headers ] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-PageSize ] [-All] [-CountVariable ] - [] ``` ### Get @@ -40,7 +39,7 @@ Get-MgPrivacySubjectRightsRequestApprover -SubjectRightsRequestId -User [-ExpandProperty ] [-Property ] [-ResponseHeadersVariable ] [-Break] [-Headers ] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] - [-ProxyUseDefaultCredentials] [] + [-ProxyUseDefaultCredentials] ``` ### GetViaIdentity @@ -50,7 +49,7 @@ Get-MgPrivacySubjectRightsRequestApprover -InputObject [-ExpandProperty ] [-Property ] [-ResponseHeadersVariable ] [-Break] [-Headers ] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] - [-ProxyUseDefaultCredentials] [] + [-ProxyUseDefaultCredentials] ``` ## ALIASES diff --git a/microsoftgraph/graph-powershell-1.0/Microsoft.Graph.Compliance/Get-MgPrivacySubjectRightsRequestApproverByUserPrincipalName.md b/microsoftgraph/graph-powershell-1.0/Microsoft.Graph.Compliance/Get-MgPrivacySubjectRightsRequestApproverByUserPrincipalName.md index b75fc6b1f4e77..80c0192773eb4 100644 --- a/microsoftgraph/graph-powershell-1.0/Microsoft.Graph.Compliance/Get-MgPrivacySubjectRightsRequestApproverByUserPrincipalName.md +++ b/microsoftgraph/graph-powershell-1.0/Microsoft.Graph.Compliance/Get-MgPrivacySubjectRightsRequestApproverByUserPrincipalName.md @@ -4,7 +4,7 @@ external help file: Microsoft.Graph.Compliance-Help.xml HelpUri: https://learn.microsoft.com/powershell/module/microsoft.graph.compliance/get-mgprivacysubjectrightsrequestapproverbyuserprincipalname Locale: en-US Module Name: Microsoft.Graph.Compliance -ms.date: 06/05/2026 +ms.date: 07/31/2026 PlatyPS schema version: 2024-05-01 title: Get-MgPrivacySubjectRightsRequestApproverByUserPrincipalName --- @@ -28,7 +28,7 @@ Get-MgPrivacySubjectRightsRequestApproverByUserPrincipalName -SubjectRightsReque -UserPrincipalName [-ExpandProperty ] [-Property ] [-ResponseHeadersVariable ] [-Break] [-Headers ] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] - [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + [-ProxyCredential ] [-ProxyUseDefaultCredentials] ``` ### GetViaIdentity @@ -38,7 +38,7 @@ Get-MgPrivacySubjectRightsRequestApproverByUserPrincipalName -InputObject ] [-Property ] [-ResponseHeadersVariable ] [-Break] [-Headers ] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] - [-ProxyUseDefaultCredentials] [] + [-ProxyUseDefaultCredentials] ``` ## ALIASES diff --git a/microsoftgraph/graph-powershell-1.0/Microsoft.Graph.Compliance/Get-MgPrivacySubjectRightsRequestApproverCount.md b/microsoftgraph/graph-powershell-1.0/Microsoft.Graph.Compliance/Get-MgPrivacySubjectRightsRequestApproverCount.md index bea9f23c92706..f145800d0df5c 100644 --- a/microsoftgraph/graph-powershell-1.0/Microsoft.Graph.Compliance/Get-MgPrivacySubjectRightsRequestApproverCount.md +++ b/microsoftgraph/graph-powershell-1.0/Microsoft.Graph.Compliance/Get-MgPrivacySubjectRightsRequestApproverCount.md @@ -4,7 +4,7 @@ external help file: Microsoft.Graph.Compliance-Help.xml HelpUri: https://learn.microsoft.com/powershell/module/microsoft.graph.compliance/get-mgprivacysubjectrightsrequestapprovercount Locale: en-US Module Name: Microsoft.Graph.Compliance -ms.date: 06/05/2026 +ms.date: 07/31/2026 PlatyPS schema version: 2024-05-01 title: Get-MgPrivacySubjectRightsRequestApproverCount --- @@ -26,7 +26,7 @@ Get the number of the resource Get-MgPrivacySubjectRightsRequestApproverCount -SubjectRightsRequestId [-Filter ] [-Search ] [-ResponseHeadersVariable ] [-Break] [-Headers ] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] - [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + [-ProxyCredential ] [-ProxyUseDefaultCredentials] ``` ### GetViaIdentity @@ -35,7 +35,7 @@ Get-MgPrivacySubjectRightsRequestApproverCount -SubjectRightsRequestId Get-MgPrivacySubjectRightsRequestApproverCount -InputObject [-Filter ] [-Search ] [-ResponseHeadersVariable ] [-Break] [-Headers ] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] - [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + [-ProxyCredential ] [-ProxyUseDefaultCredentials] ``` ## ALIASES diff --git a/microsoftgraph/graph-powershell-1.0/Microsoft.Graph.Compliance/Get-MgPrivacySubjectRightsRequestApproverMailboxSetting.md b/microsoftgraph/graph-powershell-1.0/Microsoft.Graph.Compliance/Get-MgPrivacySubjectRightsRequestApproverMailboxSetting.md index b22d88c2efa12..71a8bbb0c2d8e 100644 --- a/microsoftgraph/graph-powershell-1.0/Microsoft.Graph.Compliance/Get-MgPrivacySubjectRightsRequestApproverMailboxSetting.md +++ b/microsoftgraph/graph-powershell-1.0/Microsoft.Graph.Compliance/Get-MgPrivacySubjectRightsRequestApproverMailboxSetting.md @@ -4,7 +4,7 @@ external help file: Microsoft.Graph.Compliance-Help.xml HelpUri: https://learn.microsoft.com/powershell/module/microsoft.graph.compliance/get-mgprivacysubjectrightsrequestapprovermailboxsetting Locale: en-US Module Name: Microsoft.Graph.Compliance -ms.date: 06/05/2026 +ms.date: 07/31/2026 PlatyPS schema version: 2024-05-01 title: Get-MgPrivacySubjectRightsRequestApproverMailboxSetting --- @@ -29,7 +29,7 @@ Get-MgPrivacySubjectRightsRequestApproverMailboxSetting -SubjectRightsRequestId -UserId [-ExpandProperty ] [-Property ] [-ResponseHeadersVariable ] [-Break] [-Headers ] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] - [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + [-ProxyCredential ] [-ProxyUseDefaultCredentials] ``` ### GetViaIdentity @@ -39,7 +39,7 @@ Get-MgPrivacySubjectRightsRequestApproverMailboxSetting -InputObject ] [-Property ] [-ResponseHeadersVariable ] [-Break] [-Headers ] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] - [-ProxyUseDefaultCredentials] [] + [-ProxyUseDefaultCredentials] ``` ## ALIASES diff --git a/microsoftgraph/graph-powershell-1.0/Microsoft.Graph.Compliance/Get-MgPrivacySubjectRightsRequestApproverServiceProvisioningError.md b/microsoftgraph/graph-powershell-1.0/Microsoft.Graph.Compliance/Get-MgPrivacySubjectRightsRequestApproverServiceProvisioningError.md index 51c12173553d7..33a4b80600997 100644 --- a/microsoftgraph/graph-powershell-1.0/Microsoft.Graph.Compliance/Get-MgPrivacySubjectRightsRequestApproverServiceProvisioningError.md +++ b/microsoftgraph/graph-powershell-1.0/Microsoft.Graph.Compliance/Get-MgPrivacySubjectRightsRequestApproverServiceProvisioningError.md @@ -4,7 +4,7 @@ external help file: Microsoft.Graph.Compliance-Help.xml HelpUri: https://learn.microsoft.com/powershell/module/microsoft.graph.compliance/get-mgprivacysubjectrightsrequestapproverserviceprovisioningerror Locale: en-US Module Name: Microsoft.Graph.Compliance -ms.date: 06/05/2026 +ms.date: 07/31/2026 PlatyPS schema version: 2024-05-01 title: Get-MgPrivacySubjectRightsRequestApproverServiceProvisioningError --- @@ -30,7 +30,7 @@ Get-MgPrivacySubjectRightsRequestApproverServiceProvisioningError -SubjectRights [-ResponseHeadersVariable ] [-Break] [-Headers ] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-PageSize ] [-All] - [-CountVariable ] [] + [-CountVariable ] ``` ## ALIASES diff --git a/microsoftgraph/graph-powershell-1.0/Microsoft.Graph.Compliance/Get-MgPrivacySubjectRightsRequestApproverServiceProvisioningErrorCount.md b/microsoftgraph/graph-powershell-1.0/Microsoft.Graph.Compliance/Get-MgPrivacySubjectRightsRequestApproverServiceProvisioningErrorCount.md index ce075dd6127b8..601c3ba66ec08 100644 --- a/microsoftgraph/graph-powershell-1.0/Microsoft.Graph.Compliance/Get-MgPrivacySubjectRightsRequestApproverServiceProvisioningErrorCount.md +++ b/microsoftgraph/graph-powershell-1.0/Microsoft.Graph.Compliance/Get-MgPrivacySubjectRightsRequestApproverServiceProvisioningErrorCount.md @@ -4,7 +4,7 @@ external help file: Microsoft.Graph.Compliance-Help.xml HelpUri: https://learn.microsoft.com/powershell/module/microsoft.graph.compliance/get-mgprivacysubjectrightsrequestapproverserviceprovisioningerrorcount Locale: en-US Module Name: Microsoft.Graph.Compliance -ms.date: 06/05/2026 +ms.date: 07/31/2026 PlatyPS schema version: 2024-05-01 title: Get-MgPrivacySubjectRightsRequestApproverServiceProvisioningErrorCount --- @@ -27,7 +27,7 @@ Get-MgPrivacySubjectRightsRequestApproverServiceProvisioningErrorCount -SubjectRightsRequestId -UserId [-Filter ] [-Search ] [-ResponseHeadersVariable ] [-Break] [-Headers ] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] - [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + [-ProxyCredential ] [-ProxyUseDefaultCredentials] ``` ### GetViaIdentity @@ -37,7 +37,7 @@ Get-MgPrivacySubjectRightsRequestApproverServiceProvisioningErrorCount -InputObject [-Filter ] [-Search ] [-ResponseHeadersVariable ] [-Break] [-Headers ] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] - [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + [-ProxyCredential ] [-ProxyUseDefaultCredentials] ``` ## ALIASES diff --git a/microsoftgraph/graph-powershell-1.0/Microsoft.Graph.Compliance/Get-MgPrivacySubjectRightsRequestCollaborator.md b/microsoftgraph/graph-powershell-1.0/Microsoft.Graph.Compliance/Get-MgPrivacySubjectRightsRequestCollaborator.md index a8281de8041b4..068a716e961b0 100644 --- a/microsoftgraph/graph-powershell-1.0/Microsoft.Graph.Compliance/Get-MgPrivacySubjectRightsRequestCollaborator.md +++ b/microsoftgraph/graph-powershell-1.0/Microsoft.Graph.Compliance/Get-MgPrivacySubjectRightsRequestCollaborator.md @@ -4,7 +4,7 @@ external help file: Microsoft.Graph.Compliance-Help.xml HelpUri: https://learn.microsoft.com/powershell/module/microsoft.graph.compliance/get-mgprivacysubjectrightsrequestcollaborator Locale: en-US Module Name: Microsoft.Graph.Compliance -ms.date: 06/05/2026 +ms.date: 07/31/2026 PlatyPS schema version: 2024-05-01 title: Get-MgPrivacySubjectRightsRequestCollaborator --- @@ -29,7 +29,6 @@ Get-MgPrivacySubjectRightsRequestCollaborator -SubjectRightsRequestId [-Headers ] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-PageSize ] [-All] [-CountVariable ] - [] ``` ### Get @@ -39,7 +38,7 @@ Get-MgPrivacySubjectRightsRequestCollaborator -SubjectRightsRequestId - [-ExpandProperty ] [-Property ] [-ResponseHeadersVariable ] [-Break] [-Headers ] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] - [-ProxyUseDefaultCredentials] [] + [-ProxyUseDefaultCredentials] ``` ### GetViaIdentity @@ -49,7 +48,7 @@ Get-MgPrivacySubjectRightsRequestCollaborator -InputObject [-ExpandProperty ] [-Property ] [-ResponseHeadersVariable ] [-Break] [-Headers ] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] - [-ProxyUseDefaultCredentials] [] + [-ProxyUseDefaultCredentials] ``` ## ALIASES diff --git a/microsoftgraph/graph-powershell-1.0/Microsoft.Graph.Compliance/Get-MgPrivacySubjectRightsRequestCollaboratorByUserPrincipalName.md b/microsoftgraph/graph-powershell-1.0/Microsoft.Graph.Compliance/Get-MgPrivacySubjectRightsRequestCollaboratorByUserPrincipalName.md index 05122357ee14d..71f291cac3411 100644 --- a/microsoftgraph/graph-powershell-1.0/Microsoft.Graph.Compliance/Get-MgPrivacySubjectRightsRequestCollaboratorByUserPrincipalName.md +++ b/microsoftgraph/graph-powershell-1.0/Microsoft.Graph.Compliance/Get-MgPrivacySubjectRightsRequestCollaboratorByUserPrincipalName.md @@ -4,7 +4,7 @@ external help file: Microsoft.Graph.Compliance-Help.xml HelpUri: https://learn.microsoft.com/powershell/module/microsoft.graph.compliance/get-mgprivacysubjectrightsrequestcollaboratorbyuserprincipalname Locale: en-US Module Name: Microsoft.Graph.Compliance -ms.date: 06/05/2026 +ms.date: 07/31/2026 PlatyPS schema version: 2024-05-01 title: Get-MgPrivacySubjectRightsRequestCollaboratorByUserPrincipalName --- @@ -27,7 +27,7 @@ Get-MgPrivacySubjectRightsRequestCollaboratorByUserPrincipalName -SubjectRightsR -UserPrincipalName [-ExpandProperty ] [-Property ] [-ResponseHeadersVariable ] [-Break] [-Headers ] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] - [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + [-ProxyCredential ] [-ProxyUseDefaultCredentials] ``` ### GetViaIdentity @@ -37,7 +37,7 @@ Get-MgPrivacySubjectRightsRequestCollaboratorByUserPrincipalName -InputObject ] [-Property ] [-ResponseHeadersVariable ] [-Break] [-Headers ] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] - [-ProxyUseDefaultCredentials] [] + [-ProxyUseDefaultCredentials] ``` ## ALIASES diff --git a/microsoftgraph/graph-powershell-1.0/Microsoft.Graph.Compliance/Get-MgPrivacySubjectRightsRequestCollaboratorCount.md b/microsoftgraph/graph-powershell-1.0/Microsoft.Graph.Compliance/Get-MgPrivacySubjectRightsRequestCollaboratorCount.md index 1e120b6139388..79899c1b849c5 100644 --- a/microsoftgraph/graph-powershell-1.0/Microsoft.Graph.Compliance/Get-MgPrivacySubjectRightsRequestCollaboratorCount.md +++ b/microsoftgraph/graph-powershell-1.0/Microsoft.Graph.Compliance/Get-MgPrivacySubjectRightsRequestCollaboratorCount.md @@ -4,7 +4,7 @@ external help file: Microsoft.Graph.Compliance-Help.xml HelpUri: https://learn.microsoft.com/powershell/module/microsoft.graph.compliance/get-mgprivacysubjectrightsrequestcollaboratorcount Locale: en-US Module Name: Microsoft.Graph.Compliance -ms.date: 06/05/2026 +ms.date: 07/31/2026 PlatyPS schema version: 2024-05-01 title: Get-MgPrivacySubjectRightsRequestCollaboratorCount --- @@ -27,7 +27,7 @@ Get-MgPrivacySubjectRightsRequestCollaboratorCount -SubjectRightsRequestId ] [-Search ] [-ResponseHeadersVariable ] [-Break] [-Headers ] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] - [-ProxyUseDefaultCredentials] [] + [-ProxyUseDefaultCredentials] ``` ### GetViaIdentity @@ -37,7 +37,7 @@ Get-MgPrivacySubjectRightsRequestCollaboratorCount -InputObject ] [-Search ] [-ResponseHeadersVariable ] [-Break] [-Headers ] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] - [-ProxyUseDefaultCredentials] [] + [-ProxyUseDefaultCredentials] ``` ## ALIASES diff --git a/microsoftgraph/graph-powershell-1.0/Microsoft.Graph.Compliance/Get-MgPrivacySubjectRightsRequestCollaboratorMailboxSetting.md b/microsoftgraph/graph-powershell-1.0/Microsoft.Graph.Compliance/Get-MgPrivacySubjectRightsRequestCollaboratorMailboxSetting.md index c75a3d790370a..9db273f093304 100644 --- a/microsoftgraph/graph-powershell-1.0/Microsoft.Graph.Compliance/Get-MgPrivacySubjectRightsRequestCollaboratorMailboxSetting.md +++ b/microsoftgraph/graph-powershell-1.0/Microsoft.Graph.Compliance/Get-MgPrivacySubjectRightsRequestCollaboratorMailboxSetting.md @@ -4,7 +4,7 @@ external help file: Microsoft.Graph.Compliance-Help.xml HelpUri: https://learn.microsoft.com/powershell/module/microsoft.graph.compliance/get-mgprivacysubjectrightsrequestcollaboratormailboxsetting Locale: en-US Module Name: Microsoft.Graph.Compliance -ms.date: 06/05/2026 +ms.date: 07/31/2026 PlatyPS schema version: 2024-05-01 title: Get-MgPrivacySubjectRightsRequestCollaboratorMailboxSetting --- @@ -29,7 +29,7 @@ Get-MgPrivacySubjectRightsRequestCollaboratorMailboxSetting -SubjectRightsReques -UserId [-ExpandProperty ] [-Property ] [-ResponseHeadersVariable ] [-Break] [-Headers ] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] - [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + [-ProxyCredential ] [-ProxyUseDefaultCredentials] ``` ### GetViaIdentity @@ -39,7 +39,7 @@ Get-MgPrivacySubjectRightsRequestCollaboratorMailboxSetting -InputObject ] [-Property ] [-ResponseHeadersVariable ] [-Break] [-Headers ] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] - [-ProxyUseDefaultCredentials] [] + [-ProxyUseDefaultCredentials] ``` ## ALIASES diff --git a/microsoftgraph/graph-powershell-1.0/Microsoft.Graph.Compliance/Get-MgPrivacySubjectRightsRequestCollaboratorServiceProvisioningError.md b/microsoftgraph/graph-powershell-1.0/Microsoft.Graph.Compliance/Get-MgPrivacySubjectRightsRequestCollaboratorServiceProvisioningError.md index 85fdf87be2730..9eca561ac1880 100644 --- a/microsoftgraph/graph-powershell-1.0/Microsoft.Graph.Compliance/Get-MgPrivacySubjectRightsRequestCollaboratorServiceProvisioningError.md +++ b/microsoftgraph/graph-powershell-1.0/Microsoft.Graph.Compliance/Get-MgPrivacySubjectRightsRequestCollaboratorServiceProvisioningError.md @@ -4,7 +4,7 @@ external help file: Microsoft.Graph.Compliance-Help.xml HelpUri: https://learn.microsoft.com/powershell/module/microsoft.graph.compliance/get-mgprivacysubjectrightsrequestcollaboratorserviceprovisioningerror Locale: en-US Module Name: Microsoft.Graph.Compliance -ms.date: 06/05/2026 +ms.date: 07/31/2026 PlatyPS schema version: 2024-05-01 title: Get-MgPrivacySubjectRightsRequestCollaboratorServiceProvisioningError --- @@ -30,7 +30,7 @@ Get-MgPrivacySubjectRightsRequestCollaboratorServiceProvisioningError [-ResponseHeadersVariable ] [-Break] [-Headers ] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-PageSize ] [-All] - [-CountVariable ] [] + [-CountVariable ] ``` ## ALIASES diff --git a/microsoftgraph/graph-powershell-1.0/Microsoft.Graph.Compliance/Get-MgPrivacySubjectRightsRequestCollaboratorServiceProvisioningErrorCount.md b/microsoftgraph/graph-powershell-1.0/Microsoft.Graph.Compliance/Get-MgPrivacySubjectRightsRequestCollaboratorServiceProvisioningErrorCount.md index e75734b5977e8..9008fe16b66e5 100644 --- a/microsoftgraph/graph-powershell-1.0/Microsoft.Graph.Compliance/Get-MgPrivacySubjectRightsRequestCollaboratorServiceProvisioningErrorCount.md +++ b/microsoftgraph/graph-powershell-1.0/Microsoft.Graph.Compliance/Get-MgPrivacySubjectRightsRequestCollaboratorServiceProvisioningErrorCount.md @@ -4,7 +4,7 @@ external help file: Microsoft.Graph.Compliance-Help.xml HelpUri: https://learn.microsoft.com/powershell/module/microsoft.graph.compliance/get-mgprivacysubjectrightsrequestcollaboratorserviceprovisioningerrorcount Locale: en-US Module Name: Microsoft.Graph.Compliance -ms.date: 06/05/2026 +ms.date: 07/31/2026 PlatyPS schema version: 2024-05-01 title: Get-MgPrivacySubjectRightsRequestCollaboratorServiceProvisioningErrorCount --- @@ -27,7 +27,7 @@ Get-MgPrivacySubjectRightsRequestCollaboratorServiceProvisioningErrorCount -SubjectRightsRequestId -UserId [-Filter ] [-Search ] [-ResponseHeadersVariable ] [-Break] [-Headers ] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] - [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + [-ProxyCredential ] [-ProxyUseDefaultCredentials] ``` ### GetViaIdentity @@ -37,7 +37,7 @@ Get-MgPrivacySubjectRightsRequestCollaboratorServiceProvisioningErrorCount -InputObject [-Filter ] [-Search ] [-ResponseHeadersVariable ] [-Break] [-Headers ] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] - [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + [-ProxyCredential ] [-ProxyUseDefaultCredentials] ``` ## ALIASES diff --git a/microsoftgraph/graph-powershell-1.0/Microsoft.Graph.Compliance/Get-MgPrivacySubjectRightsRequestCount.md b/microsoftgraph/graph-powershell-1.0/Microsoft.Graph.Compliance/Get-MgPrivacySubjectRightsRequestCount.md index eb3af3ab715c9..c4125d703faba 100644 --- a/microsoftgraph/graph-powershell-1.0/Microsoft.Graph.Compliance/Get-MgPrivacySubjectRightsRequestCount.md +++ b/microsoftgraph/graph-powershell-1.0/Microsoft.Graph.Compliance/Get-MgPrivacySubjectRightsRequestCount.md @@ -4,7 +4,7 @@ external help file: Microsoft.Graph.Compliance-Help.xml HelpUri: https://learn.microsoft.com/powershell/module/microsoft.graph.compliance/get-mgprivacysubjectrightsrequestcount Locale: en-US Module Name: Microsoft.Graph.Compliance -ms.date: 06/05/2026 +ms.date: 07/31/2026 PlatyPS schema version: 2024-05-01 title: Get-MgPrivacySubjectRightsRequestCount --- @@ -26,7 +26,7 @@ Get the number of the resource Get-MgPrivacySubjectRightsRequestCount [-Filter ] [-Search ] [-ResponseHeadersVariable ] [-Break] [-Headers ] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] - [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + [-ProxyCredential ] [-ProxyUseDefaultCredentials] ``` ## ALIASES diff --git a/microsoftgraph/graph-powershell-1.0/Microsoft.Graph.Compliance/Get-MgPrivacySubjectRightsRequestFinalAttachment.md b/microsoftgraph/graph-powershell-1.0/Microsoft.Graph.Compliance/Get-MgPrivacySubjectRightsRequestFinalAttachment.md index 09178a3d964a9..f2bf6a1f88ec7 100644 --- a/microsoftgraph/graph-powershell-1.0/Microsoft.Graph.Compliance/Get-MgPrivacySubjectRightsRequestFinalAttachment.md +++ b/microsoftgraph/graph-powershell-1.0/Microsoft.Graph.Compliance/Get-MgPrivacySubjectRightsRequestFinalAttachment.md @@ -4,7 +4,7 @@ external help file: Microsoft.Graph.Compliance-Help.xml HelpUri: https://learn.microsoft.com/powershell/module/microsoft.graph.compliance/get-mgprivacysubjectrightsrequestfinalattachment Locale: en-US Module Name: Microsoft.Graph.Compliance -ms.date: 06/05/2026 +ms.date: 07/31/2026 PlatyPS schema version: 2024-05-01 title: Get-MgPrivacySubjectRightsRequestFinalAttachment --- @@ -27,7 +27,7 @@ The attachment is a zip file that contains all the files that were included by t Get-MgPrivacySubjectRightsRequestFinalAttachment -SubjectRightsRequestId -OutFile [-ResponseHeadersVariable ] [-Break] [-Headers ] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-PassThru] - [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] ``` ### GetViaIdentity @@ -36,7 +36,7 @@ Get-MgPrivacySubjectRightsRequestFinalAttachment -SubjectRightsRequestId -OutFile [-ResponseHeadersVariable ] [-Break] [-Headers ] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-PassThru] - [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] ``` ## ALIASES diff --git a/microsoftgraph/graph-powershell-1.0/Microsoft.Graph.Compliance/Get-MgPrivacySubjectRightsRequestFinalReport.md b/microsoftgraph/graph-powershell-1.0/Microsoft.Graph.Compliance/Get-MgPrivacySubjectRightsRequestFinalReport.md index bd1294417d8ca..f1978301130a8 100644 --- a/microsoftgraph/graph-powershell-1.0/Microsoft.Graph.Compliance/Get-MgPrivacySubjectRightsRequestFinalReport.md +++ b/microsoftgraph/graph-powershell-1.0/Microsoft.Graph.Compliance/Get-MgPrivacySubjectRightsRequestFinalReport.md @@ -4,7 +4,7 @@ external help file: Microsoft.Graph.Compliance-Help.xml HelpUri: https://learn.microsoft.com/powershell/module/microsoft.graph.compliance/get-mgprivacysubjectrightsrequestfinalreport Locale: en-US Module Name: Microsoft.Graph.Compliance -ms.date: 06/05/2026 +ms.date: 07/31/2026 PlatyPS schema version: 2024-05-01 title: Get-MgPrivacySubjectRightsRequestFinalReport --- @@ -27,7 +27,7 @@ The report is a text file that contains information about the files that were in Get-MgPrivacySubjectRightsRequestFinalReport -SubjectRightsRequestId -OutFile [-ResponseHeadersVariable ] [-Break] [-Headers ] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-PassThru] - [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] ``` ### GetViaIdentity @@ -36,7 +36,7 @@ Get-MgPrivacySubjectRightsRequestFinalReport -SubjectRightsRequestId -O Get-MgPrivacySubjectRightsRequestFinalReport -InputObject -OutFile [-ResponseHeadersVariable ] [-Break] [-Headers ] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-PassThru] - [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] ``` ## ALIASES diff --git a/microsoftgraph/graph-powershell-1.0/Microsoft.Graph.Compliance/Get-MgPrivacySubjectRightsRequestNote.md b/microsoftgraph/graph-powershell-1.0/Microsoft.Graph.Compliance/Get-MgPrivacySubjectRightsRequestNote.md index 68e4bcd7994f2..6389eb797521f 100644 --- a/microsoftgraph/graph-powershell-1.0/Microsoft.Graph.Compliance/Get-MgPrivacySubjectRightsRequestNote.md +++ b/microsoftgraph/graph-powershell-1.0/Microsoft.Graph.Compliance/Get-MgPrivacySubjectRightsRequestNote.md @@ -4,7 +4,7 @@ external help file: Microsoft.Graph.Compliance-Help.xml HelpUri: https://learn.microsoft.com/powershell/module/microsoft.graph.compliance/get-mgprivacysubjectrightsrequestnote Locale: en-US Module Name: Microsoft.Graph.Compliance -ms.date: 06/05/2026 +ms.date: 07/31/2026 PlatyPS schema version: 2024-05-01 title: Get-MgPrivacySubjectRightsRequestNote --- @@ -28,7 +28,7 @@ Get-MgPrivacySubjectRightsRequestNote -SubjectRightsRequestId [-ExpandP [-Top ] [-ResponseHeadersVariable ] [-Break] [-Headers ] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-PageSize ] [-All] - [-CountVariable ] [] + [-CountVariable ] ``` ### Get @@ -38,7 +38,7 @@ Get-MgPrivacySubjectRightsRequestNote -AuthoredNoteId -SubjectRightsReq [-ExpandProperty ] [-Property ] [-ResponseHeadersVariable ] [-Break] [-Headers ] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] - [-ProxyUseDefaultCredentials] [] + [-ProxyUseDefaultCredentials] ``` ### GetViaIdentity @@ -48,7 +48,7 @@ Get-MgPrivacySubjectRightsRequestNote -InputObject [-ExpandProperty ] [-Property ] [-ResponseHeadersVariable ] [-Break] [-Headers ] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] - [-ProxyUseDefaultCredentials] [] + [-ProxyUseDefaultCredentials] ``` ## ALIASES diff --git a/microsoftgraph/graph-powershell-1.0/Microsoft.Graph.Compliance/Get-MgPrivacySubjectRightsRequestNoteCount.md b/microsoftgraph/graph-powershell-1.0/Microsoft.Graph.Compliance/Get-MgPrivacySubjectRightsRequestNoteCount.md index 90dd06c3dc6f6..54b099b56a13d 100644 --- a/microsoftgraph/graph-powershell-1.0/Microsoft.Graph.Compliance/Get-MgPrivacySubjectRightsRequestNoteCount.md +++ b/microsoftgraph/graph-powershell-1.0/Microsoft.Graph.Compliance/Get-MgPrivacySubjectRightsRequestNoteCount.md @@ -4,7 +4,7 @@ external help file: Microsoft.Graph.Compliance-Help.xml HelpUri: https://learn.microsoft.com/powershell/module/microsoft.graph.compliance/get-mgprivacysubjectrightsrequestnotecount Locale: en-US Module Name: Microsoft.Graph.Compliance -ms.date: 06/05/2026 +ms.date: 07/31/2026 PlatyPS schema version: 2024-05-01 title: Get-MgPrivacySubjectRightsRequestNoteCount --- @@ -26,7 +26,7 @@ Get the number of the resource Get-MgPrivacySubjectRightsRequestNoteCount -SubjectRightsRequestId [-Filter ] [-Search ] [-ResponseHeadersVariable ] [-Break] [-Headers ] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] - [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + [-ProxyCredential ] [-ProxyUseDefaultCredentials] ``` ### GetViaIdentity @@ -35,7 +35,7 @@ Get-MgPrivacySubjectRightsRequestNoteCount -SubjectRightsRequestId [-Fi Get-MgPrivacySubjectRightsRequestNoteCount -InputObject [-Filter ] [-Search ] [-ResponseHeadersVariable ] [-Break] [-Headers ] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] - [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + [-ProxyCredential ] [-ProxyUseDefaultCredentials] ``` ## ALIASES diff --git a/microsoftgraph/graph-powershell-1.0/Microsoft.Graph.Compliance/Get-MgPrivacySubjectRightsRequestTeam.md b/microsoftgraph/graph-powershell-1.0/Microsoft.Graph.Compliance/Get-MgPrivacySubjectRightsRequestTeam.md index 6cdb4d4bfd732..77ed1c45aa074 100644 --- a/microsoftgraph/graph-powershell-1.0/Microsoft.Graph.Compliance/Get-MgPrivacySubjectRightsRequestTeam.md +++ b/microsoftgraph/graph-powershell-1.0/Microsoft.Graph.Compliance/Get-MgPrivacySubjectRightsRequestTeam.md @@ -4,7 +4,7 @@ external help file: Microsoft.Graph.Compliance-Help.xml HelpUri: https://learn.microsoft.com/powershell/module/microsoft.graph.compliance/get-mgprivacysubjectrightsrequestteam Locale: en-US Module Name: Microsoft.Graph.Compliance -ms.date: 06/05/2026 +ms.date: 07/31/2026 PlatyPS schema version: 2024-05-01 title: Get-MgPrivacySubjectRightsRequestTeam --- @@ -26,7 +26,7 @@ Information about the Microsoft Teams team that was created for the request. Get-MgPrivacySubjectRightsRequestTeam -SubjectRightsRequestId [-ExpandProperty ] [-Property ] [-ResponseHeadersVariable ] [-Break] [-Headers ] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] - [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + [-ProxyCredential ] [-ProxyUseDefaultCredentials] ``` ### GetViaIdentity @@ -36,7 +36,7 @@ Get-MgPrivacySubjectRightsRequestTeam -InputObject [-ExpandProperty ] [-Property ] [-ResponseHeadersVariable ] [-Break] [-Headers ] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] - [-ProxyUseDefaultCredentials] [] + [-ProxyUseDefaultCredentials] ``` ## ALIASES diff --git a/microsoftgraph/graph-powershell-1.0/Microsoft.Graph.Compliance/Microsoft.Graph.Compliance.md b/microsoftgraph/graph-powershell-1.0/Microsoft.Graph.Compliance/Microsoft.Graph.Compliance.md index 2093dc9e32038..85859b88c0d7d 100644 --- a/microsoftgraph/graph-powershell-1.0/Microsoft.Graph.Compliance/Microsoft.Graph.Compliance.md +++ b/microsoftgraph/graph-powershell-1.0/Microsoft.Graph.Compliance/Microsoft.Graph.Compliance.md @@ -1,6 +1,6 @@ --- Module Name: Microsoft.Graph.Compliance -Module Guid: a8db4713-edf1-49db-bc71-38c917013835 +Module Guid: 75eca4a1-b0cd-40ea-bb75-90c8d2456148 Download Help Link: https://learn.microsoft.com/en-us/powershell/module/microsoft.graph.compliance/?view=graph-powershell-1.0 Help Version: 1.0.0.0 Locale: en-US diff --git a/microsoftgraph/graph-powershell-1.0/Microsoft.Graph.Compliance/New-MgPrivacySubjectRightsRequest.md b/microsoftgraph/graph-powershell-1.0/Microsoft.Graph.Compliance/New-MgPrivacySubjectRightsRequest.md index bd06a79fc2f1c..6f3db86ca10be 100644 --- a/microsoftgraph/graph-powershell-1.0/Microsoft.Graph.Compliance/New-MgPrivacySubjectRightsRequest.md +++ b/microsoftgraph/graph-powershell-1.0/Microsoft.Graph.Compliance/New-MgPrivacySubjectRightsRequest.md @@ -4,7 +4,7 @@ external help file: Microsoft.Graph.Compliance-Help.xml HelpUri: https://learn.microsoft.com/powershell/module/microsoft.graph.compliance/new-mgprivacysubjectrightsrequest Locale: en-US Module Name: Microsoft.Graph.Compliance -ms.date: 06/05/2026 +ms.date: 07/31/2026 PlatyPS schema version: 2024-05-01 title: New-MgPrivacySubjectRightsRequest --- @@ -39,7 +39,6 @@ New-MgPrivacySubjectRightsRequest [-ResponseHeadersVariable ] [-Status ] [-Team ] [-Type ] [-Break] [-Headers ] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] - [] ``` ### Create @@ -49,7 +48,6 @@ New-MgPrivacySubjectRightsRequest -BodyParameter ] [-Break] [-Headers ] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] - [] ``` ## ALIASES @@ -1296,11 +1294,14 @@ Read-only. [(Any) ]: This indicates any property can be added to this object. [ClientExtensionResults ]: webauthnAuthenticationExtensionsClientOutputs [(Any) ]: This indicates any property can be added to this object. - [Id ]: + [Id ]: The credential ID created by the WebAuthn Authenticator. +This value is Base64URL-encoded without padding. [Response ]: webauthnAuthenticatorAttestationResponse [(Any) ]: This indicates any property can be added to this object. - [AttestationObject ]: - [ClientDataJson ]: + [AttestationObject ]: A CBOR-encoded attestation object containing the authenticator data and attestation statement. +This value is Base64URL-encoded without padding. + [ClientDataJson ]: Contains the JSON-compatible serialization of client data passed to the authenticator by the client. +This value is Base64URL-encoded without padding. [Methods ]: Represents all authentication methods registered to a user. [Id ]: The unique identifier for an entity. Read-only. @@ -1996,7 +1997,8 @@ For example, if a user changes their display name the API might show the new val [Id ]: Unique identifier for the identity or actor. For example, in the access reviews decisions API, this property might record the id of the principal, that is, the group, user, or application that's subject to review. [UserIdentityType ]: teamworkUserIdentityType - [OriginalCreatedDateTime ]: + [OriginalCreatedDateTime ]: Timestamp of the original creation time for the chat. +The value is null if the chat never entered migration mode. [PermissionGrants ]: A collection of permissions granted to apps for the chat. [DeletedDateTime ]: Date and time when this object was deleted. Always null when the object hasn't been deleted. @@ -2033,6 +2035,47 @@ Required. [TeamsApp ]: teamsApp [WebUrl ]: Deep link URL of the tab instance. Read-only. + [TargetedMessages ]: + [Attachments ]: References to attached objects like files, tabs, meetings etc. + [Body ]: itemBody + [ChannelIdentity ]: channelIdentity + [ChatId ]: If the message was sent in a chat, represents the identity of the chat. + [CreatedDateTime ]: Timestamp of when the chat message was created. + [DeletedDateTime ]: Read only. +Timestamp at which the chat message was deleted, or null if not deleted. + [Etag ]: Read-only. +Version number of the chat message. + [EventDetail ]: eventMessageDetail + [From ]: chatMessageFromIdentitySet + [HostedContents ]: Content in a message hosted by Microsoft Teams - for example, images or code snippets. + [Importance ]: chatMessageImportance + [LastEditedDateTime ]: Read only. +Timestamp when edits to the chat message were made. +Triggers an 'Edited' flag in the Teams UI. +If no edits are made the value is null. + [LastModifiedDateTime ]: Read only. +Timestamp when the chat message is created (initial setting) or modified, including when a reaction is added or removed. + [Locale ]: Locale of the chat message set by the client. +Always set to en-us. + [Mentions ]: List of entities mentioned in the chat message. +Supported entities are: user, bot, team, channel, chat, and tag. + [MessageHistory ]: List of activity history of a message item, including modification time and actions, such as reactionAdded, reactionRemoved, or reaction changes, on the message. + [MessageType ]: chatMessageType + [PolicyViolation ]: chatMessagePolicyViolation + [Reactions ]: Reactions for this chat message (for example, Like). + [Replies ]: Replies for a specified message. +Supports $expand for channel messages. + [ReplyToId ]: Read-only. +ID of the parent chat message or root chat message of the thread. +(Only applies to chat messages in channels, not chats.) + [Subject ]: The subject of the chat message, in plaintext. + [Summary ]: Summary text of the chat message that could be used for push notifications and summary views or fall back views. +Only applies to channel chat messages, not chat messages in a chat. + [WebUrl ]: Read-only. +Link to the message in Microsoft Teams. + [Id ]: The unique identifier for an entity. +Read-only. + [Recipient ]: identity [TenantId ]: The identifier of the tenant in which the chat was created. Read-only. [Topic ]: (Optional) Subject or topic for the chat. @@ -4008,7 +4051,8 @@ The default value is false. A navigation property. Nullable. [MigrationMode ]: migrationMode - [OriginalCreatedDateTime ]: + [OriginalCreatedDateTime ]: Timestamp of the original creation time for the channel. +The value is null if the channel never entered migration mode. [SharedWithTeams ]: A collection of teams with which a channel is shared. [DisplayName ]: The name of the team. [Team ]: team @@ -4213,6 +4257,7 @@ Supported only on the Get group API (GET /groups/{ID}). The default value is false. Requires $select to retrieve. Supported only on the Get group API (GET /groups/{ID}). + [InfoCatalogs ]: [IsArchived ]: When a group is associated with a team, this property determines whether the team is in read-only mode.To read this property, use the /group/{groupId}/team endpoint or the Get team API. To update this property, use the archiveTeam and unarchiveTeam APIs. [IsAssignableToRole ]: Indicates whether this group can be assigned to a Microsoft Entra role. @@ -5993,7 +6038,7 @@ Users can control this setting in Office Delve. [(Any) ]: This indicates any property can be added to this object. [Id ]: The unique identifier for an entity. Read-only. - [PrimaryMailboxId ]: + [PrimaryMailboxId ]: The unique identifier for the user's primary mailbox. [ItemInsights ]: userInsightsSettings [(Any) ]: This indicates any property can be added to this object. [Id ]: The unique identifier for an entity. @@ -6540,11 +6585,14 @@ Read-only. [(Any) ]: This indicates any property can be added to this object. [ClientExtensionResults ]: webauthnAuthenticationExtensionsClientOutputs [(Any) ]: This indicates any property can be added to this object. - [Id ]: + [Id ]: The credential ID created by the WebAuthn Authenticator. +This value is Base64URL-encoded without padding. [Response ]: webauthnAuthenticatorAttestationResponse [(Any) ]: This indicates any property can be added to this object. - [AttestationObject ]: - [ClientDataJson ]: + [AttestationObject ]: A CBOR-encoded attestation object containing the authenticator data and attestation statement. +This value is Base64URL-encoded without padding. + [ClientDataJson ]: Contains the JSON-compatible serialization of client data passed to the authenticator by the client. +This value is Base64URL-encoded without padding. [Methods ]: Represents all authentication methods registered to a user. [Id ]: The unique identifier for an entity. Read-only. @@ -7240,7 +7288,8 @@ For example, if a user changes their display name the API might show the new val [Id ]: Unique identifier for the identity or actor. For example, in the access reviews decisions API, this property might record the id of the principal, that is, the group, user, or application that's subject to review. [UserIdentityType ]: teamworkUserIdentityType - [OriginalCreatedDateTime ]: + [OriginalCreatedDateTime ]: Timestamp of the original creation time for the chat. +The value is null if the chat never entered migration mode. [PermissionGrants ]: A collection of permissions granted to apps for the chat. [DeletedDateTime ]: Date and time when this object was deleted. Always null when the object hasn't been deleted. @@ -7277,6 +7326,47 @@ Required. [TeamsApp ]: teamsApp [WebUrl ]: Deep link URL of the tab instance. Read-only. + [TargetedMessages ]: + [Attachments ]: References to attached objects like files, tabs, meetings etc. + [Body ]: itemBody + [ChannelIdentity ]: channelIdentity + [ChatId ]: If the message was sent in a chat, represents the identity of the chat. + [CreatedDateTime ]: Timestamp of when the chat message was created. + [DeletedDateTime ]: Read only. +Timestamp at which the chat message was deleted, or null if not deleted. + [Etag ]: Read-only. +Version number of the chat message. + [EventDetail ]: eventMessageDetail + [From ]: chatMessageFromIdentitySet + [HostedContents ]: Content in a message hosted by Microsoft Teams - for example, images or code snippets. + [Importance ]: chatMessageImportance + [LastEditedDateTime ]: Read only. +Timestamp when edits to the chat message were made. +Triggers an 'Edited' flag in the Teams UI. +If no edits are made the value is null. + [LastModifiedDateTime ]: Read only. +Timestamp when the chat message is created (initial setting) or modified, including when a reaction is added or removed. + [Locale ]: Locale of the chat message set by the client. +Always set to en-us. + [Mentions ]: List of entities mentioned in the chat message. +Supported entities are: user, bot, team, channel, chat, and tag. + [MessageHistory ]: List of activity history of a message item, including modification time and actions, such as reactionAdded, reactionRemoved, or reaction changes, on the message. + [MessageType ]: chatMessageType + [PolicyViolation ]: chatMessagePolicyViolation + [Reactions ]: Reactions for this chat message (for example, Like). + [Replies ]: Replies for a specified message. +Supports $expand for channel messages. + [ReplyToId ]: Read-only. +ID of the parent chat message or root chat message of the thread. +(Only applies to chat messages in channels, not chats.) + [Subject ]: The subject of the chat message, in plaintext. + [Summary ]: Summary text of the chat message that could be used for push notifications and summary views or fall back views. +Only applies to channel chat messages, not chat messages in a chat. + [WebUrl ]: Read-only. +Link to the message in Microsoft Teams. + [Id ]: The unique identifier for an entity. +Read-only. + [Recipient ]: identity [TenantId ]: The identifier of the tenant in which the chat was created. Read-only. [Topic ]: (Optional) Subject or topic for the chat. @@ -9252,7 +9342,8 @@ The default value is false. A navigation property. Nullable. [MigrationMode ]: migrationMode - [OriginalCreatedDateTime ]: + [OriginalCreatedDateTime ]: Timestamp of the original creation time for the channel. +The value is null if the channel never entered migration mode. [SharedWithTeams ]: A collection of teams with which a channel is shared. [DisplayName ]: The name of the team. [Team ]: team @@ -9457,6 +9548,7 @@ Supported only on the Get group API (GET /groups/{ID}). The default value is false. Requires $select to retrieve. Supported only on the Get group API (GET /groups/{ID}). + [InfoCatalogs ]: [IsArchived ]: When a group is associated with a team, this property determines whether the team is in read-only mode.To read this property, use the /group/{groupId}/team endpoint or the Get team API. To update this property, use the archiveTeam and unarchiveTeam APIs. [IsAssignableToRole ]: Indicates whether this group can be assigned to a Microsoft Entra role. @@ -11237,7 +11329,7 @@ Users can control this setting in Office Delve. [(Any) ]: This indicates any property can be added to this object. [Id ]: The unique identifier for an entity. Read-only. - [PrimaryMailboxId ]: + [PrimaryMailboxId ]: The unique identifier for the user's primary mailbox. [ItemInsights ]: userInsightsSettings [(Any) ]: This indicates any property can be added to this object. [Id ]: The unique identifier for an entity. @@ -11849,11 +11941,14 @@ Read-only. [(Any) ]: This indicates any property can be added to this object. [ClientExtensionResults ]: webauthnAuthenticationExtensionsClientOutputs [(Any) ]: This indicates any property can be added to this object. - [Id ]: + [Id ]: The credential ID created by the WebAuthn Authenticator. +This value is Base64URL-encoded without padding. [Response ]: webauthnAuthenticatorAttestationResponse [(Any) ]: This indicates any property can be added to this object. - [AttestationObject ]: - [ClientDataJson ]: + [AttestationObject ]: A CBOR-encoded attestation object containing the authenticator data and attestation statement. +This value is Base64URL-encoded without padding. + [ClientDataJson ]: Contains the JSON-compatible serialization of client data passed to the authenticator by the client. +This value is Base64URL-encoded without padding. [Methods ]: Represents all authentication methods registered to a user. [Id ]: The unique identifier for an entity. Read-only. @@ -12549,7 +12644,8 @@ For example, if a user changes their display name the API might show the new val [Id ]: Unique identifier for the identity or actor. For example, in the access reviews decisions API, this property might record the id of the principal, that is, the group, user, or application that's subject to review. [UserIdentityType ]: teamworkUserIdentityType - [OriginalCreatedDateTime ]: + [OriginalCreatedDateTime ]: Timestamp of the original creation time for the chat. +The value is null if the chat never entered migration mode. [PermissionGrants ]: A collection of permissions granted to apps for the chat. [DeletedDateTime ]: Date and time when this object was deleted. Always null when the object hasn't been deleted. @@ -12586,6 +12682,47 @@ Required. [TeamsApp ]: teamsApp [WebUrl ]: Deep link URL of the tab instance. Read-only. + [TargetedMessages ]: + [Attachments ]: References to attached objects like files, tabs, meetings etc. + [Body ]: itemBody + [ChannelIdentity ]: channelIdentity + [ChatId ]: If the message was sent in a chat, represents the identity of the chat. + [CreatedDateTime ]: Timestamp of when the chat message was created. + [DeletedDateTime ]: Read only. +Timestamp at which the chat message was deleted, or null if not deleted. + [Etag ]: Read-only. +Version number of the chat message. + [EventDetail ]: eventMessageDetail + [From ]: chatMessageFromIdentitySet + [HostedContents ]: Content in a message hosted by Microsoft Teams - for example, images or code snippets. + [Importance ]: chatMessageImportance + [LastEditedDateTime ]: Read only. +Timestamp when edits to the chat message were made. +Triggers an 'Edited' flag in the Teams UI. +If no edits are made the value is null. + [LastModifiedDateTime ]: Read only. +Timestamp when the chat message is created (initial setting) or modified, including when a reaction is added or removed. + [Locale ]: Locale of the chat message set by the client. +Always set to en-us. + [Mentions ]: List of entities mentioned in the chat message. +Supported entities are: user, bot, team, channel, chat, and tag. + [MessageHistory ]: List of activity history of a message item, including modification time and actions, such as reactionAdded, reactionRemoved, or reaction changes, on the message. + [MessageType ]: chatMessageType + [PolicyViolation ]: chatMessagePolicyViolation + [Reactions ]: Reactions for this chat message (for example, Like). + [Replies ]: Replies for a specified message. +Supports $expand for channel messages. + [ReplyToId ]: Read-only. +ID of the parent chat message or root chat message of the thread. +(Only applies to chat messages in channels, not chats.) + [Subject ]: The subject of the chat message, in plaintext. + [Summary ]: Summary text of the chat message that could be used for push notifications and summary views or fall back views. +Only applies to channel chat messages, not chat messages in a chat. + [WebUrl ]: Read-only. +Link to the message in Microsoft Teams. + [Id ]: The unique identifier for an entity. +Read-only. + [Recipient ]: identity [TenantId ]: The identifier of the tenant in which the chat was created. Read-only. [Topic ]: (Optional) Subject or topic for the chat. @@ -14561,7 +14698,8 @@ The default value is false. A navigation property. Nullable. [MigrationMode ]: migrationMode - [OriginalCreatedDateTime ]: + [OriginalCreatedDateTime ]: Timestamp of the original creation time for the channel. +The value is null if the channel never entered migration mode. [SharedWithTeams ]: A collection of teams with which a channel is shared. [DisplayName ]: The name of the team. [Team ]: team @@ -14766,6 +14904,7 @@ Supported only on the Get group API (GET /groups/{ID}). The default value is false. Requires $select to retrieve. Supported only on the Get group API (GET /groups/{ID}). + [InfoCatalogs ]: [IsArchived ]: When a group is associated with a team, this property determines whether the team is in read-only mode.To read this property, use the /group/{groupId}/team endpoint or the Get team API. To update this property, use the archiveTeam and unarchiveTeam APIs. [IsAssignableToRole ]: Indicates whether this group can be assigned to a Microsoft Entra role. @@ -16546,7 +16685,7 @@ Users can control this setting in Office Delve. [(Any) ]: This indicates any property can be added to this object. [Id ]: The unique identifier for an entity. Read-only. - [PrimaryMailboxId ]: + [PrimaryMailboxId ]: The unique identifier for the user's primary mailbox. [ItemInsights ]: userInsightsSettings [(Any) ]: This indicates any property can be added to this object. [Id ]: The unique identifier for an entity. @@ -17233,11 +17372,14 @@ Read-only. [(Any) ]: This indicates any property can be added to this object. [ClientExtensionResults ]: webauthnAuthenticationExtensionsClientOutputs [(Any) ]: This indicates any property can be added to this object. - [Id ]: + [Id ]: The credential ID created by the WebAuthn Authenticator. +This value is Base64URL-encoded without padding. [Response ]: webauthnAuthenticatorAttestationResponse [(Any) ]: This indicates any property can be added to this object. - [AttestationObject ]: - [ClientDataJson ]: + [AttestationObject ]: A CBOR-encoded attestation object containing the authenticator data and attestation statement. +This value is Base64URL-encoded without padding. + [ClientDataJson ]: Contains the JSON-compatible serialization of client data passed to the authenticator by the client. +This value is Base64URL-encoded without padding. [Methods ]: Represents all authentication methods registered to a user. [Id ]: The unique identifier for an entity. Read-only. @@ -17894,7 +18036,8 @@ For example, if a user changes their display name the API might show the new val [Id ]: Unique identifier for the identity or actor. For example, in the access reviews decisions API, this property might record the id of the principal, that is, the group, user, or application that's subject to review. [UserIdentityType ]: teamworkUserIdentityType - [OriginalCreatedDateTime ]: + [OriginalCreatedDateTime ]: Timestamp of the original creation time for the chat. +The value is null if the chat never entered migration mode. [PermissionGrants ]: A collection of permissions granted to apps for the chat. [DeletedDateTime ]: Date and time when this object was deleted. Always null when the object hasn't been deleted. @@ -17931,6 +18074,47 @@ Required. [TeamsApp ]: teamsApp [WebUrl ]: Deep link URL of the tab instance. Read-only. + [TargetedMessages ]: + [Attachments ]: References to attached objects like files, tabs, meetings etc. + [Body ]: itemBody + [ChannelIdentity ]: channelIdentity + [ChatId ]: If the message was sent in a chat, represents the identity of the chat. + [CreatedDateTime ]: Timestamp of when the chat message was created. + [DeletedDateTime ]: Read only. +Timestamp at which the chat message was deleted, or null if not deleted. + [Etag ]: Read-only. +Version number of the chat message. + [EventDetail ]: eventMessageDetail + [From ]: chatMessageFromIdentitySet + [HostedContents ]: Content in a message hosted by Microsoft Teams - for example, images or code snippets. + [Importance ]: chatMessageImportance + [LastEditedDateTime ]: Read only. +Timestamp when edits to the chat message were made. +Triggers an 'Edited' flag in the Teams UI. +If no edits are made the value is null. + [LastModifiedDateTime ]: Read only. +Timestamp when the chat message is created (initial setting) or modified, including when a reaction is added or removed. + [Locale ]: Locale of the chat message set by the client. +Always set to en-us. + [Mentions ]: List of entities mentioned in the chat message. +Supported entities are: user, bot, team, channel, chat, and tag. + [MessageHistory ]: List of activity history of a message item, including modification time and actions, such as reactionAdded, reactionRemoved, or reaction changes, on the message. + [MessageType ]: chatMessageType + [PolicyViolation ]: chatMessagePolicyViolation + [Reactions ]: Reactions for this chat message (for example, Like). + [Replies ]: Replies for a specified message. +Supports $expand for channel messages. + [ReplyToId ]: Read-only. +ID of the parent chat message or root chat message of the thread. +(Only applies to chat messages in channels, not chats.) + [Subject ]: The subject of the chat message, in plaintext. + [Summary ]: Summary text of the chat message that could be used for push notifications and summary views or fall back views. +Only applies to channel chat messages, not chat messages in a chat. + [WebUrl ]: Read-only. +Link to the message in Microsoft Teams. + [Id ]: The unique identifier for an entity. +Read-only. + [Recipient ]: identity [TenantId ]: The identifier of the tenant in which the chat was created. Read-only. [Topic ]: (Optional) Subject or topic for the chat. @@ -20684,6 +20868,7 @@ Supported only on the Get group API (GET /groups/{ID}). The default value is false. Requires $select to retrieve. Supported only on the Get group API (GET /groups/{ID}). + [InfoCatalogs ]: [IsArchived ]: When a group is associated with a team, this property determines whether the team is in read-only mode.To read this property, use the /group/{groupId}/team endpoint or the Get team API. To update this property, use the archiveTeam and unarchiveTeam APIs. [IsAssignableToRole ]: Indicates whether this group can be assigned to a Microsoft Entra role. @@ -20974,7 +21159,7 @@ Users can control this setting in Office Delve. [(Any) ]: This indicates any property can be added to this object. [Id ]: The unique identifier for an entity. Read-only. - [PrimaryMailboxId ]: + [PrimaryMailboxId ]: The unique identifier for the user's primary mailbox. [ItemInsights ]: userInsightsSettings [(Any) ]: This indicates any property can be added to this object. [Id ]: The unique identifier for an entity. @@ -21830,7 +22015,8 @@ The default value is false. A navigation property. Nullable. [MigrationMode ]: migrationMode - [OriginalCreatedDateTime ]: + [OriginalCreatedDateTime ]: Timestamp of the original creation time for the channel. +The value is null if the channel never entered migration mode. [SharedWithTeams ]: A collection of teams with which a channel is shared. [DisplayName ]: The name of the team. [Team ]: team diff --git a/microsoftgraph/graph-powershell-1.0/Microsoft.Graph.Compliance/New-MgPrivacySubjectRightsRequestNote.md b/microsoftgraph/graph-powershell-1.0/Microsoft.Graph.Compliance/New-MgPrivacySubjectRightsRequestNote.md index a3831d5e2281a..a093ef59b89f2 100644 --- a/microsoftgraph/graph-powershell-1.0/Microsoft.Graph.Compliance/New-MgPrivacySubjectRightsRequestNote.md +++ b/microsoftgraph/graph-powershell-1.0/Microsoft.Graph.Compliance/New-MgPrivacySubjectRightsRequestNote.md @@ -4,7 +4,7 @@ external help file: Microsoft.Graph.Compliance-Help.xml HelpUri: https://learn.microsoft.com/powershell/module/microsoft.graph.compliance/new-mgprivacysubjectrightsrequestnote Locale: en-US Module Name: Microsoft.Graph.Compliance -ms.date: 06/05/2026 +ms.date: 07/31/2026 PlatyPS schema version: 2024-05-01 title: New-MgPrivacySubjectRightsRequestNote --- @@ -29,7 +29,6 @@ New-MgPrivacySubjectRightsRequestNote -SubjectRightsRequestId [-CreatedDateTime ] [-Id ] [-Break] [-Headers ] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] - [] ``` ### Create @@ -39,7 +38,7 @@ New-MgPrivacySubjectRightsRequestNote -SubjectRightsRequestId -BodyParameter [-ResponseHeadersVariable ] [-Break] [-Headers ] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] - [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] ``` ### CreateViaIdentityExpanded @@ -51,7 +50,6 @@ New-MgPrivacySubjectRightsRequestNote -InputObject [-CreatedDateTime ] [-Id ] [-Break] [-Headers ] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] - [] ``` ### CreateViaIdentity @@ -61,7 +59,7 @@ New-MgPrivacySubjectRightsRequestNote -InputObject -BodyParameter [-ResponseHeadersVariable ] [-Break] [-Headers ] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] - [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] ``` ## ALIASES diff --git a/microsoftgraph/graph-powershell-1.0/Microsoft.Graph.Compliance/Remove-MgPrivacySubjectRightsRequest.md b/microsoftgraph/graph-powershell-1.0/Microsoft.Graph.Compliance/Remove-MgPrivacySubjectRightsRequest.md index db3fc1c6fe065..68b3bf9acd930 100644 --- a/microsoftgraph/graph-powershell-1.0/Microsoft.Graph.Compliance/Remove-MgPrivacySubjectRightsRequest.md +++ b/microsoftgraph/graph-powershell-1.0/Microsoft.Graph.Compliance/Remove-MgPrivacySubjectRightsRequest.md @@ -4,7 +4,7 @@ external help file: Microsoft.Graph.Compliance-Help.xml HelpUri: https://learn.microsoft.com/powershell/module/microsoft.graph.compliance/remove-mgprivacysubjectrightsrequest Locale: en-US Module Name: Microsoft.Graph.Compliance -ms.date: 06/05/2026 +ms.date: 07/31/2026 PlatyPS schema version: 2024-05-01 title: Remove-MgPrivacySubjectRightsRequest --- @@ -27,7 +27,6 @@ Remove-MgPrivacySubjectRightsRequest -SubjectRightsRequestId [-IfMatch [-ResponseHeadersVariable ] [-Break] [-Headers ] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-PassThru] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] - [] ``` ### DeleteViaIdentity @@ -37,7 +36,6 @@ Remove-MgPrivacySubjectRightsRequest -InputObject [-IfMatc [-ResponseHeadersVariable ] [-Break] [-Headers ] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-PassThru] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] - [] ``` ## ALIASES diff --git a/microsoftgraph/graph-powershell-1.0/Microsoft.Graph.Compliance/Remove-MgPrivacySubjectRightsRequestNote.md b/microsoftgraph/graph-powershell-1.0/Microsoft.Graph.Compliance/Remove-MgPrivacySubjectRightsRequestNote.md index aaae4183ad398..317285d32c68a 100644 --- a/microsoftgraph/graph-powershell-1.0/Microsoft.Graph.Compliance/Remove-MgPrivacySubjectRightsRequestNote.md +++ b/microsoftgraph/graph-powershell-1.0/Microsoft.Graph.Compliance/Remove-MgPrivacySubjectRightsRequestNote.md @@ -4,7 +4,7 @@ external help file: Microsoft.Graph.Compliance-Help.xml HelpUri: https://learn.microsoft.com/powershell/module/microsoft.graph.compliance/remove-mgprivacysubjectrightsrequestnote Locale: en-US Module Name: Microsoft.Graph.Compliance -ms.date: 06/05/2026 +ms.date: 07/31/2026 PlatyPS schema version: 2024-05-01 title: Remove-MgPrivacySubjectRightsRequestNote --- @@ -27,7 +27,6 @@ Remove-MgPrivacySubjectRightsRequestNote -AuthoredNoteId -SubjectRights [-IfMatch ] [-ResponseHeadersVariable ] [-Break] [-Headers ] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-PassThru] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] - [] ``` ### DeleteViaIdentity @@ -37,7 +36,6 @@ Remove-MgPrivacySubjectRightsRequestNote -InputObject [-If [-ResponseHeadersVariable ] [-Break] [-Headers ] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-PassThru] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] - [] ``` ## ALIASES diff --git a/microsoftgraph/graph-powershell-1.0/Microsoft.Graph.Compliance/Update-MgCompliance.md b/microsoftgraph/graph-powershell-1.0/Microsoft.Graph.Compliance/Update-MgCompliance.md index cfcdfcad7331f..c1fe7a1923edc 100644 --- a/microsoftgraph/graph-powershell-1.0/Microsoft.Graph.Compliance/Update-MgCompliance.md +++ b/microsoftgraph/graph-powershell-1.0/Microsoft.Graph.Compliance/Update-MgCompliance.md @@ -4,7 +4,7 @@ external help file: Microsoft.Graph.Compliance-Help.xml HelpUri: https://learn.microsoft.com/powershell/module/microsoft.graph.compliance/update-mgcompliance Locale: en-US Module Name: Microsoft.Graph.Compliance -ms.date: 06/05/2026 +ms.date: 07/31/2026 PlatyPS schema version: 2024-05-01 title: Update-MgCompliance --- @@ -26,7 +26,7 @@ Update compliance Update-MgCompliance [-ResponseHeadersVariable ] [-AdditionalProperties ] [-Break] [-Headers ] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] - [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] ``` ### Update @@ -35,7 +35,7 @@ Update-MgCompliance [-ResponseHeadersVariable ] [-AdditionalProperties < Update-MgCompliance -BodyParameter [-ResponseHeadersVariable ] [-Break] [-Headers ] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] - [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] ``` ## ALIASES diff --git a/microsoftgraph/graph-powershell-1.0/Microsoft.Graph.Compliance/Update-MgPrivacySubjectRightsRequest.md b/microsoftgraph/graph-powershell-1.0/Microsoft.Graph.Compliance/Update-MgPrivacySubjectRightsRequest.md index 0d9cebe1baa3b..6ea9d1aea3a1e 100644 --- a/microsoftgraph/graph-powershell-1.0/Microsoft.Graph.Compliance/Update-MgPrivacySubjectRightsRequest.md +++ b/microsoftgraph/graph-powershell-1.0/Microsoft.Graph.Compliance/Update-MgPrivacySubjectRightsRequest.md @@ -4,7 +4,7 @@ external help file: Microsoft.Graph.Compliance-Help.xml HelpUri: https://learn.microsoft.com/powershell/module/microsoft.graph.compliance/update-mgprivacysubjectrightsrequest Locale: en-US Module Name: Microsoft.Graph.Compliance -ms.date: 06/05/2026 +ms.date: 07/31/2026 PlatyPS schema version: 2024-05-01 title: Update-MgPrivacySubjectRightsRequest --- @@ -39,7 +39,6 @@ Update-MgPrivacySubjectRightsRequest -SubjectRightsRequestId [-Status ] [-Team ] [-Type ] [-Break] [-Headers ] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] - [] ``` ### Update @@ -49,7 +48,7 @@ Update-MgPrivacySubjectRightsRequest -SubjectRightsRequestId -BodyParameter [-ResponseHeadersVariable ] [-Break] [-Headers ] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] - [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] ``` ### UpdateViaIdentityExpanded @@ -71,7 +70,6 @@ Update-MgPrivacySubjectRightsRequest -InputObject [-Status ] [-Team ] [-Type ] [-Break] [-Headers ] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] - [] ``` ### UpdateViaIdentity @@ -81,7 +79,7 @@ Update-MgPrivacySubjectRightsRequest -InputObject -BodyParameter [-ResponseHeadersVariable ] [-Break] [-Headers ] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] - [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] ``` ## ALIASES @@ -1547,11 +1545,14 @@ Read-only. [(Any) ]: This indicates any property can be added to this object. [ClientExtensionResults ]: webauthnAuthenticationExtensionsClientOutputs [(Any) ]: This indicates any property can be added to this object. - [Id ]: + [Id ]: The credential ID created by the WebAuthn Authenticator. +This value is Base64URL-encoded without padding. [Response ]: webauthnAuthenticatorAttestationResponse [(Any) ]: This indicates any property can be added to this object. - [AttestationObject ]: - [ClientDataJson ]: + [AttestationObject ]: A CBOR-encoded attestation object containing the authenticator data and attestation statement. +This value is Base64URL-encoded without padding. + [ClientDataJson ]: Contains the JSON-compatible serialization of client data passed to the authenticator by the client. +This value is Base64URL-encoded without padding. [Methods ]: Represents all authentication methods registered to a user. [Id ]: The unique identifier for an entity. Read-only. @@ -2247,7 +2248,8 @@ For example, if a user changes their display name the API might show the new val [Id ]: Unique identifier for the identity or actor. For example, in the access reviews decisions API, this property might record the id of the principal, that is, the group, user, or application that's subject to review. [UserIdentityType ]: teamworkUserIdentityType - [OriginalCreatedDateTime ]: + [OriginalCreatedDateTime ]: Timestamp of the original creation time for the chat. +The value is null if the chat never entered migration mode. [PermissionGrants ]: A collection of permissions granted to apps for the chat. [DeletedDateTime ]: Date and time when this object was deleted. Always null when the object hasn't been deleted. @@ -2284,6 +2286,47 @@ Required. [TeamsApp ]: teamsApp [WebUrl ]: Deep link URL of the tab instance. Read-only. + [TargetedMessages ]: + [Attachments ]: References to attached objects like files, tabs, meetings etc. + [Body ]: itemBody + [ChannelIdentity ]: channelIdentity + [ChatId ]: If the message was sent in a chat, represents the identity of the chat. + [CreatedDateTime ]: Timestamp of when the chat message was created. + [DeletedDateTime ]: Read only. +Timestamp at which the chat message was deleted, or null if not deleted. + [Etag ]: Read-only. +Version number of the chat message. + [EventDetail ]: eventMessageDetail + [From ]: chatMessageFromIdentitySet + [HostedContents ]: Content in a message hosted by Microsoft Teams - for example, images or code snippets. + [Importance ]: chatMessageImportance + [LastEditedDateTime ]: Read only. +Timestamp when edits to the chat message were made. +Triggers an 'Edited' flag in the Teams UI. +If no edits are made the value is null. + [LastModifiedDateTime ]: Read only. +Timestamp when the chat message is created (initial setting) or modified, including when a reaction is added or removed. + [Locale ]: Locale of the chat message set by the client. +Always set to en-us. + [Mentions ]: List of entities mentioned in the chat message. +Supported entities are: user, bot, team, channel, chat, and tag. + [MessageHistory ]: List of activity history of a message item, including modification time and actions, such as reactionAdded, reactionRemoved, or reaction changes, on the message. + [MessageType ]: chatMessageType + [PolicyViolation ]: chatMessagePolicyViolation + [Reactions ]: Reactions for this chat message (for example, Like). + [Replies ]: Replies for a specified message. +Supports $expand for channel messages. + [ReplyToId ]: Read-only. +ID of the parent chat message or root chat message of the thread. +(Only applies to chat messages in channels, not chats.) + [Subject ]: The subject of the chat message, in plaintext. + [Summary ]: Summary text of the chat message that could be used for push notifications and summary views or fall back views. +Only applies to channel chat messages, not chat messages in a chat. + [WebUrl ]: Read-only. +Link to the message in Microsoft Teams. + [Id ]: The unique identifier for an entity. +Read-only. + [Recipient ]: identity [TenantId ]: The identifier of the tenant in which the chat was created. Read-only. [Topic ]: (Optional) Subject or topic for the chat. @@ -4259,7 +4302,8 @@ The default value is false. A navigation property. Nullable. [MigrationMode ]: migrationMode - [OriginalCreatedDateTime ]: + [OriginalCreatedDateTime ]: Timestamp of the original creation time for the channel. +The value is null if the channel never entered migration mode. [SharedWithTeams ]: A collection of teams with which a channel is shared. [DisplayName ]: The name of the team. [Team ]: team @@ -4464,6 +4508,7 @@ Supported only on the Get group API (GET /groups/{ID}). The default value is false. Requires $select to retrieve. Supported only on the Get group API (GET /groups/{ID}). + [InfoCatalogs ]: [IsArchived ]: When a group is associated with a team, this property determines whether the team is in read-only mode.To read this property, use the /group/{groupId}/team endpoint or the Get team API. To update this property, use the archiveTeam and unarchiveTeam APIs. [IsAssignableToRole ]: Indicates whether this group can be assigned to a Microsoft Entra role. @@ -6244,7 +6289,7 @@ Users can control this setting in Office Delve. [(Any) ]: This indicates any property can be added to this object. [Id ]: The unique identifier for an entity. Read-only. - [PrimaryMailboxId ]: + [PrimaryMailboxId ]: The unique identifier for the user's primary mailbox. [ItemInsights ]: userInsightsSettings [(Any) ]: This indicates any property can be added to this object. [Id ]: The unique identifier for an entity. @@ -6791,11 +6836,14 @@ Read-only. [(Any) ]: This indicates any property can be added to this object. [ClientExtensionResults ]: webauthnAuthenticationExtensionsClientOutputs [(Any) ]: This indicates any property can be added to this object. - [Id ]: + [Id ]: The credential ID created by the WebAuthn Authenticator. +This value is Base64URL-encoded without padding. [Response ]: webauthnAuthenticatorAttestationResponse [(Any) ]: This indicates any property can be added to this object. - [AttestationObject ]: - [ClientDataJson ]: + [AttestationObject ]: A CBOR-encoded attestation object containing the authenticator data and attestation statement. +This value is Base64URL-encoded without padding. + [ClientDataJson ]: Contains the JSON-compatible serialization of client data passed to the authenticator by the client. +This value is Base64URL-encoded without padding. [Methods ]: Represents all authentication methods registered to a user. [Id ]: The unique identifier for an entity. Read-only. @@ -7491,7 +7539,8 @@ For example, if a user changes their display name the API might show the new val [Id ]: Unique identifier for the identity or actor. For example, in the access reviews decisions API, this property might record the id of the principal, that is, the group, user, or application that's subject to review. [UserIdentityType ]: teamworkUserIdentityType - [OriginalCreatedDateTime ]: + [OriginalCreatedDateTime ]: Timestamp of the original creation time for the chat. +The value is null if the chat never entered migration mode. [PermissionGrants ]: A collection of permissions granted to apps for the chat. [DeletedDateTime ]: Date and time when this object was deleted. Always null when the object hasn't been deleted. @@ -7528,6 +7577,47 @@ Required. [TeamsApp ]: teamsApp [WebUrl ]: Deep link URL of the tab instance. Read-only. + [TargetedMessages ]: + [Attachments ]: References to attached objects like files, tabs, meetings etc. + [Body ]: itemBody + [ChannelIdentity ]: channelIdentity + [ChatId ]: If the message was sent in a chat, represents the identity of the chat. + [CreatedDateTime ]: Timestamp of when the chat message was created. + [DeletedDateTime ]: Read only. +Timestamp at which the chat message was deleted, or null if not deleted. + [Etag ]: Read-only. +Version number of the chat message. + [EventDetail ]: eventMessageDetail + [From ]: chatMessageFromIdentitySet + [HostedContents ]: Content in a message hosted by Microsoft Teams - for example, images or code snippets. + [Importance ]: chatMessageImportance + [LastEditedDateTime ]: Read only. +Timestamp when edits to the chat message were made. +Triggers an 'Edited' flag in the Teams UI. +If no edits are made the value is null. + [LastModifiedDateTime ]: Read only. +Timestamp when the chat message is created (initial setting) or modified, including when a reaction is added or removed. + [Locale ]: Locale of the chat message set by the client. +Always set to en-us. + [Mentions ]: List of entities mentioned in the chat message. +Supported entities are: user, bot, team, channel, chat, and tag. + [MessageHistory ]: List of activity history of a message item, including modification time and actions, such as reactionAdded, reactionRemoved, or reaction changes, on the message. + [MessageType ]: chatMessageType + [PolicyViolation ]: chatMessagePolicyViolation + [Reactions ]: Reactions for this chat message (for example, Like). + [Replies ]: Replies for a specified message. +Supports $expand for channel messages. + [ReplyToId ]: Read-only. +ID of the parent chat message or root chat message of the thread. +(Only applies to chat messages in channels, not chats.) + [Subject ]: The subject of the chat message, in plaintext. + [Summary ]: Summary text of the chat message that could be used for push notifications and summary views or fall back views. +Only applies to channel chat messages, not chat messages in a chat. + [WebUrl ]: Read-only. +Link to the message in Microsoft Teams. + [Id ]: The unique identifier for an entity. +Read-only. + [Recipient ]: identity [TenantId ]: The identifier of the tenant in which the chat was created. Read-only. [Topic ]: (Optional) Subject or topic for the chat. @@ -9503,7 +9593,8 @@ The default value is false. A navigation property. Nullable. [MigrationMode ]: migrationMode - [OriginalCreatedDateTime ]: + [OriginalCreatedDateTime ]: Timestamp of the original creation time for the channel. +The value is null if the channel never entered migration mode. [SharedWithTeams ]: A collection of teams with which a channel is shared. [DisplayName ]: The name of the team. [Team ]: team @@ -9708,6 +9799,7 @@ Supported only on the Get group API (GET /groups/{ID}). The default value is false. Requires $select to retrieve. Supported only on the Get group API (GET /groups/{ID}). + [InfoCatalogs ]: [IsArchived ]: When a group is associated with a team, this property determines whether the team is in read-only mode.To read this property, use the /group/{groupId}/team endpoint or the Get team API. To update this property, use the archiveTeam and unarchiveTeam APIs. [IsAssignableToRole ]: Indicates whether this group can be assigned to a Microsoft Entra role. @@ -11488,7 +11580,7 @@ Users can control this setting in Office Delve. [(Any) ]: This indicates any property can be added to this object. [Id ]: The unique identifier for an entity. Read-only. - [PrimaryMailboxId ]: + [PrimaryMailboxId ]: The unique identifier for the user's primary mailbox. [ItemInsights ]: userInsightsSettings [(Any) ]: This indicates any property can be added to this object. [Id ]: The unique identifier for an entity. @@ -12100,11 +12192,14 @@ Read-only. [(Any) ]: This indicates any property can be added to this object. [ClientExtensionResults ]: webauthnAuthenticationExtensionsClientOutputs [(Any) ]: This indicates any property can be added to this object. - [Id ]: + [Id ]: The credential ID created by the WebAuthn Authenticator. +This value is Base64URL-encoded without padding. [Response ]: webauthnAuthenticatorAttestationResponse [(Any) ]: This indicates any property can be added to this object. - [AttestationObject ]: - [ClientDataJson ]: + [AttestationObject ]: A CBOR-encoded attestation object containing the authenticator data and attestation statement. +This value is Base64URL-encoded without padding. + [ClientDataJson ]: Contains the JSON-compatible serialization of client data passed to the authenticator by the client. +This value is Base64URL-encoded without padding. [Methods ]: Represents all authentication methods registered to a user. [Id ]: The unique identifier for an entity. Read-only. @@ -12800,7 +12895,8 @@ For example, if a user changes their display name the API might show the new val [Id ]: Unique identifier for the identity or actor. For example, in the access reviews decisions API, this property might record the id of the principal, that is, the group, user, or application that's subject to review. [UserIdentityType ]: teamworkUserIdentityType - [OriginalCreatedDateTime ]: + [OriginalCreatedDateTime ]: Timestamp of the original creation time for the chat. +The value is null if the chat never entered migration mode. [PermissionGrants ]: A collection of permissions granted to apps for the chat. [DeletedDateTime ]: Date and time when this object was deleted. Always null when the object hasn't been deleted. @@ -12837,6 +12933,47 @@ Required. [TeamsApp ]: teamsApp [WebUrl ]: Deep link URL of the tab instance. Read-only. + [TargetedMessages ]: + [Attachments ]: References to attached objects like files, tabs, meetings etc. + [Body ]: itemBody + [ChannelIdentity ]: channelIdentity + [ChatId ]: If the message was sent in a chat, represents the identity of the chat. + [CreatedDateTime ]: Timestamp of when the chat message was created. + [DeletedDateTime ]: Read only. +Timestamp at which the chat message was deleted, or null if not deleted. + [Etag ]: Read-only. +Version number of the chat message. + [EventDetail ]: eventMessageDetail + [From ]: chatMessageFromIdentitySet + [HostedContents ]: Content in a message hosted by Microsoft Teams - for example, images or code snippets. + [Importance ]: chatMessageImportance + [LastEditedDateTime ]: Read only. +Timestamp when edits to the chat message were made. +Triggers an 'Edited' flag in the Teams UI. +If no edits are made the value is null. + [LastModifiedDateTime ]: Read only. +Timestamp when the chat message is created (initial setting) or modified, including when a reaction is added or removed. + [Locale ]: Locale of the chat message set by the client. +Always set to en-us. + [Mentions ]: List of entities mentioned in the chat message. +Supported entities are: user, bot, team, channel, chat, and tag. + [MessageHistory ]: List of activity history of a message item, including modification time and actions, such as reactionAdded, reactionRemoved, or reaction changes, on the message. + [MessageType ]: chatMessageType + [PolicyViolation ]: chatMessagePolicyViolation + [Reactions ]: Reactions for this chat message (for example, Like). + [Replies ]: Replies for a specified message. +Supports $expand for channel messages. + [ReplyToId ]: Read-only. +ID of the parent chat message or root chat message of the thread. +(Only applies to chat messages in channels, not chats.) + [Subject ]: The subject of the chat message, in plaintext. + [Summary ]: Summary text of the chat message that could be used for push notifications and summary views or fall back views. +Only applies to channel chat messages, not chat messages in a chat. + [WebUrl ]: Read-only. +Link to the message in Microsoft Teams. + [Id ]: The unique identifier for an entity. +Read-only. + [Recipient ]: identity [TenantId ]: The identifier of the tenant in which the chat was created. Read-only. [Topic ]: (Optional) Subject or topic for the chat. @@ -14812,7 +14949,8 @@ The default value is false. A navigation property. Nullable. [MigrationMode ]: migrationMode - [OriginalCreatedDateTime ]: + [OriginalCreatedDateTime ]: Timestamp of the original creation time for the channel. +The value is null if the channel never entered migration mode. [SharedWithTeams ]: A collection of teams with which a channel is shared. [DisplayName ]: The name of the team. [Team ]: team @@ -15017,6 +15155,7 @@ Supported only on the Get group API (GET /groups/{ID}). The default value is false. Requires $select to retrieve. Supported only on the Get group API (GET /groups/{ID}). + [InfoCatalogs ]: [IsArchived ]: When a group is associated with a team, this property determines whether the team is in read-only mode.To read this property, use the /group/{groupId}/team endpoint or the Get team API. To update this property, use the archiveTeam and unarchiveTeam APIs. [IsAssignableToRole ]: Indicates whether this group can be assigned to a Microsoft Entra role. @@ -16797,7 +16936,7 @@ Users can control this setting in Office Delve. [(Any) ]: This indicates any property can be added to this object. [Id ]: The unique identifier for an entity. Read-only. - [PrimaryMailboxId ]: + [PrimaryMailboxId ]: The unique identifier for the user's primary mailbox. [ItemInsights ]: userInsightsSettings [(Any) ]: This indicates any property can be added to this object. [Id ]: The unique identifier for an entity. @@ -17490,11 +17629,14 @@ Read-only. [(Any) ]: This indicates any property can be added to this object. [ClientExtensionResults ]: webauthnAuthenticationExtensionsClientOutputs [(Any) ]: This indicates any property can be added to this object. - [Id ]: + [Id ]: The credential ID created by the WebAuthn Authenticator. +This value is Base64URL-encoded without padding. [Response ]: webauthnAuthenticatorAttestationResponse [(Any) ]: This indicates any property can be added to this object. - [AttestationObject ]: - [ClientDataJson ]: + [AttestationObject ]: A CBOR-encoded attestation object containing the authenticator data and attestation statement. +This value is Base64URL-encoded without padding. + [ClientDataJson ]: Contains the JSON-compatible serialization of client data passed to the authenticator by the client. +This value is Base64URL-encoded without padding. [Methods ]: Represents all authentication methods registered to a user. [Id ]: The unique identifier for an entity. Read-only. @@ -18151,7 +18293,8 @@ For example, if a user changes their display name the API might show the new val [Id ]: Unique identifier for the identity or actor. For example, in the access reviews decisions API, this property might record the id of the principal, that is, the group, user, or application that's subject to review. [UserIdentityType ]: teamworkUserIdentityType - [OriginalCreatedDateTime ]: + [OriginalCreatedDateTime ]: Timestamp of the original creation time for the chat. +The value is null if the chat never entered migration mode. [PermissionGrants ]: A collection of permissions granted to apps for the chat. [DeletedDateTime ]: Date and time when this object was deleted. Always null when the object hasn't been deleted. @@ -18188,6 +18331,47 @@ Required. [TeamsApp ]: teamsApp [WebUrl ]: Deep link URL of the tab instance. Read-only. + [TargetedMessages ]: + [Attachments ]: References to attached objects like files, tabs, meetings etc. + [Body ]: itemBody + [ChannelIdentity ]: channelIdentity + [ChatId ]: If the message was sent in a chat, represents the identity of the chat. + [CreatedDateTime ]: Timestamp of when the chat message was created. + [DeletedDateTime ]: Read only. +Timestamp at which the chat message was deleted, or null if not deleted. + [Etag ]: Read-only. +Version number of the chat message. + [EventDetail ]: eventMessageDetail + [From ]: chatMessageFromIdentitySet + [HostedContents ]: Content in a message hosted by Microsoft Teams - for example, images or code snippets. + [Importance ]: chatMessageImportance + [LastEditedDateTime ]: Read only. +Timestamp when edits to the chat message were made. +Triggers an 'Edited' flag in the Teams UI. +If no edits are made the value is null. + [LastModifiedDateTime ]: Read only. +Timestamp when the chat message is created (initial setting) or modified, including when a reaction is added or removed. + [Locale ]: Locale of the chat message set by the client. +Always set to en-us. + [Mentions ]: List of entities mentioned in the chat message. +Supported entities are: user, bot, team, channel, chat, and tag. + [MessageHistory ]: List of activity history of a message item, including modification time and actions, such as reactionAdded, reactionRemoved, or reaction changes, on the message. + [MessageType ]: chatMessageType + [PolicyViolation ]: chatMessagePolicyViolation + [Reactions ]: Reactions for this chat message (for example, Like). + [Replies ]: Replies for a specified message. +Supports $expand for channel messages. + [ReplyToId ]: Read-only. +ID of the parent chat message or root chat message of the thread. +(Only applies to chat messages in channels, not chats.) + [Subject ]: The subject of the chat message, in plaintext. + [Summary ]: Summary text of the chat message that could be used for push notifications and summary views or fall back views. +Only applies to channel chat messages, not chat messages in a chat. + [WebUrl ]: Read-only. +Link to the message in Microsoft Teams. + [Id ]: The unique identifier for an entity. +Read-only. + [Recipient ]: identity [TenantId ]: The identifier of the tenant in which the chat was created. Read-only. [Topic ]: (Optional) Subject or topic for the chat. @@ -20941,6 +21125,7 @@ Supported only on the Get group API (GET /groups/{ID}). The default value is false. Requires $select to retrieve. Supported only on the Get group API (GET /groups/{ID}). + [InfoCatalogs ]: [IsArchived ]: When a group is associated with a team, this property determines whether the team is in read-only mode.To read this property, use the /group/{groupId}/team endpoint or the Get team API. To update this property, use the archiveTeam and unarchiveTeam APIs. [IsAssignableToRole ]: Indicates whether this group can be assigned to a Microsoft Entra role. @@ -21231,7 +21416,7 @@ Users can control this setting in Office Delve. [(Any) ]: This indicates any property can be added to this object. [Id ]: The unique identifier for an entity. Read-only. - [PrimaryMailboxId ]: + [PrimaryMailboxId ]: The unique identifier for the user's primary mailbox. [ItemInsights ]: userInsightsSettings [(Any) ]: This indicates any property can be added to this object. [Id ]: The unique identifier for an entity. @@ -22087,7 +22272,8 @@ The default value is false. A navigation property. Nullable. [MigrationMode ]: migrationMode - [OriginalCreatedDateTime ]: + [OriginalCreatedDateTime ]: Timestamp of the original creation time for the channel. +The value is null if the channel never entered migration mode. [SharedWithTeams ]: A collection of teams with which a channel is shared. [DisplayName ]: The name of the team. [Team ]: team diff --git a/microsoftgraph/graph-powershell-1.0/Microsoft.Graph.Compliance/Update-MgPrivacySubjectRightsRequestApproverMailboxSetting.md b/microsoftgraph/graph-powershell-1.0/Microsoft.Graph.Compliance/Update-MgPrivacySubjectRightsRequestApproverMailboxSetting.md index fc3fbb8e541ac..95ce986d13986 100644 --- a/microsoftgraph/graph-powershell-1.0/Microsoft.Graph.Compliance/Update-MgPrivacySubjectRightsRequestApproverMailboxSetting.md +++ b/microsoftgraph/graph-powershell-1.0/Microsoft.Graph.Compliance/Update-MgPrivacySubjectRightsRequestApproverMailboxSetting.md @@ -4,7 +4,7 @@ external help file: Microsoft.Graph.Compliance-Help.xml HelpUri: https://learn.microsoft.com/powershell/module/microsoft.graph.compliance/update-mgprivacysubjectrightsrequestapprovermailboxsetting Locale: en-US Module Name: Microsoft.Graph.Compliance -ms.date: 06/05/2026 +ms.date: 07/31/2026 PlatyPS schema version: 2024-05-01 title: Update-MgPrivacySubjectRightsRequestApproverMailboxSetting --- @@ -31,7 +31,7 @@ Update-MgPrivacySubjectRightsRequestApproverMailboxSetting -SubjectRightsRequest [-UserPurpose ] [-WorkingHours ] [-Break] [-Headers ] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] - [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] ``` ### Update @@ -42,7 +42,6 @@ Update-MgPrivacySubjectRightsRequestApproverMailboxSetting -SubjectRightsRequest [-ResponseHeadersVariable ] [-Break] [-Headers ] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] - [] ``` ### UpdateViaIdentityExpanded @@ -56,7 +55,6 @@ Update-MgPrivacySubjectRightsRequestApproverMailboxSetting -InputObject ] [-Break] [-Headers ] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] - [] ``` ### UpdateViaIdentity @@ -66,7 +64,7 @@ Update-MgPrivacySubjectRightsRequestApproverMailboxSetting -InputObject [-ResponseHeadersVariable ] [-Break] [-Headers ] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] - [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] ``` ## ALIASES diff --git a/microsoftgraph/graph-powershell-1.0/Microsoft.Graph.Compliance/Update-MgPrivacySubjectRightsRequestCollaboratorMailboxSetting.md b/microsoftgraph/graph-powershell-1.0/Microsoft.Graph.Compliance/Update-MgPrivacySubjectRightsRequestCollaboratorMailboxSetting.md index 03e08811ac11c..fbe0043b81fee 100644 --- a/microsoftgraph/graph-powershell-1.0/Microsoft.Graph.Compliance/Update-MgPrivacySubjectRightsRequestCollaboratorMailboxSetting.md +++ b/microsoftgraph/graph-powershell-1.0/Microsoft.Graph.Compliance/Update-MgPrivacySubjectRightsRequestCollaboratorMailboxSetting.md @@ -4,7 +4,7 @@ external help file: Microsoft.Graph.Compliance-Help.xml HelpUri: https://learn.microsoft.com/powershell/module/microsoft.graph.compliance/update-mgprivacysubjectrightsrequestcollaboratormailboxsetting Locale: en-US Module Name: Microsoft.Graph.Compliance -ms.date: 06/05/2026 +ms.date: 07/31/2026 PlatyPS schema version: 2024-05-01 title: Update-MgPrivacySubjectRightsRequestCollaboratorMailboxSetting --- @@ -31,7 +31,7 @@ Update-MgPrivacySubjectRightsRequestCollaboratorMailboxSetting -SubjectRightsReq [-UserPurpose ] [-WorkingHours ] [-Break] [-Headers ] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] - [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] ``` ### Update @@ -42,7 +42,6 @@ Update-MgPrivacySubjectRightsRequestCollaboratorMailboxSetting -SubjectRightsReq [-ResponseHeadersVariable ] [-Break] [-Headers ] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] - [] ``` ### UpdateViaIdentityExpanded @@ -56,7 +55,6 @@ Update-MgPrivacySubjectRightsRequestCollaboratorMailboxSetting -InputObject ] [-Break] [-Headers ] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] - [] ``` ### UpdateViaIdentity @@ -66,7 +64,7 @@ Update-MgPrivacySubjectRightsRequestCollaboratorMailboxSetting -InputObject [-ResponseHeadersVariable ] [-Break] [-Headers ] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] - [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] ``` ## ALIASES diff --git a/microsoftgraph/graph-powershell-1.0/Microsoft.Graph.Compliance/Update-MgPrivacySubjectRightsRequestNote.md b/microsoftgraph/graph-powershell-1.0/Microsoft.Graph.Compliance/Update-MgPrivacySubjectRightsRequestNote.md index dfb544e06ca90..69f05987c7827 100644 --- a/microsoftgraph/graph-powershell-1.0/Microsoft.Graph.Compliance/Update-MgPrivacySubjectRightsRequestNote.md +++ b/microsoftgraph/graph-powershell-1.0/Microsoft.Graph.Compliance/Update-MgPrivacySubjectRightsRequestNote.md @@ -4,7 +4,7 @@ external help file: Microsoft.Graph.Compliance-Help.xml HelpUri: https://learn.microsoft.com/powershell/module/microsoft.graph.compliance/update-mgprivacysubjectrightsrequestnote Locale: en-US Module Name: Microsoft.Graph.Compliance -ms.date: 06/05/2026 +ms.date: 07/31/2026 PlatyPS schema version: 2024-05-01 title: Update-MgPrivacySubjectRightsRequestNote --- @@ -29,7 +29,6 @@ Update-MgPrivacySubjectRightsRequestNote -AuthoredNoteId -SubjectRights [-CreatedDateTime ] [-Id ] [-Break] [-Headers ] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] - [] ``` ### Update @@ -39,7 +38,7 @@ Update-MgPrivacySubjectRightsRequestNote -AuthoredNoteId -SubjectRights -BodyParameter [-ResponseHeadersVariable ] [-Break] [-Headers ] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] - [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] ``` ### UpdateViaIdentityExpanded @@ -51,7 +50,6 @@ Update-MgPrivacySubjectRightsRequestNote -InputObject [-CreatedDateTime ] [-Id ] [-Break] [-Headers ] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] - [] ``` ### UpdateViaIdentity @@ -61,7 +59,7 @@ Update-MgPrivacySubjectRightsRequestNote -InputObject -BodyParameter [-ResponseHeadersVariable ] [-Break] [-Headers ] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] - [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] ``` ## ALIASES diff --git a/scripts/CorrectRelatedLinks-AllFiles.ps1 b/scripts/CorrectRelatedLinks-AllFiles.ps1 index 3f6a71383b9e6..be414538528a7 100644 --- a/scripts/CorrectRelatedLinks-AllFiles.ps1 +++ b/scripts/CorrectRelatedLinks-AllFiles.ps1 @@ -19,7 +19,11 @@ param( [Parameter(Mandatory = $false)] [ValidateSet("v1.0", "beta", "both")] - [string]$GraphProfile = "both" + [Alias("GraphProfileFilter")] + [string]$GraphProfile = "both", + + [Parameter(Mandatory = $false)] + [string]$ModuleFilter = "" ) function Get-GraphMapping { @@ -217,6 +221,10 @@ if ($ModulesToGenerate.Count -eq 0) { } } +if (-not [string]::IsNullOrWhiteSpace($ModuleFilter)) { + $ModulesToGenerate = @($ModulesToGenerate | Where-Object { $_ -eq $ModuleFilter }) +} + # Main execution Write-Host "=== Related Links Correction Script ===" -ForegroundColor Blue Write-Host "Working directory: $WorkLoadDocsPath" -ForegroundColor Blue diff --git a/scripts/EscapeDisallowedHtmlTags.ps1 b/scripts/EscapeDisallowedHtmlTags.ps1 index 7f2d4079ff9da..0039a05b33500 100644 --- a/scripts/EscapeDisallowedHtmlTags.ps1 +++ b/scripts/EscapeDisallowedHtmlTags.ps1 @@ -2,7 +2,10 @@ # Licensed under the MIT License. Param( $ModulesToGenerate = @(), - [string] $ModuleMappingConfigPath = (Join-Path $PSScriptRoot "../microsoftgraph/config/ModulesMapping.jsonc") + [string] $ModuleMappingConfigPath = (Join-Path $PSScriptRoot "../microsoftgraph/config/ModulesMapping.jsonc"), + [ValidateSet("both", "v1.0", "beta")] + [string] $GraphProfileFilter = "both", + [string] $ModuleFilter = "" ) function Get-GraphMapping { $graphMapping = @{} @@ -20,13 +23,19 @@ function EscapeDisallowedHtmlTags { $GraphMapping = Get-GraphMapping $GraphMapping.Keys | ForEach-Object { $graphProfile = $_ + if ($GraphProfileFilter -ne "both" -and $graphProfile -ne $GraphProfileFilter) { return } Get-FilesByProfile -GraphProfile $graphProfile -GraphProfilePath $GraphMapping[$graphProfile] -ModulePrefix $ModulePrefix -ModulesToGenerate $ModulesToGenerate } - git config --global user.email "timwamalwa@gmail.com" - git config --global user.name "Timothy Wamalwa" + git config --global user.email "GraphTooling@service.microsoft.com" + git config --global user.name "Microsoft Graph DevX Tooling" git add . - git commit -m "Escaped disallowed html tags" + $pending = git status --porcelain + if (-not [string]::IsNullOrWhiteSpace($pending)) { + git commit -m "Escaped disallowed html tags" + } else { + $global:LASTEXITCODE = 0 + } } function Get-FilesByProfile { Param( @@ -322,5 +331,8 @@ function CleanupFile { } Write-Host -ForegroundColor Green "-------------finished checking out to today's branch-------------" +if (-not [string]::IsNullOrWhiteSpace($ModuleFilter)) { + $ModulesToGenerate = @($ModulesToGenerate | Where-Object { $_ -eq $ModuleFilter }) +} EscapeDisallowedHtmlTags -ModulesToGenerate $ModulesToGenerate Write-Host -ForegroundColor Green "-------------Done-------------" \ No newline at end of file diff --git a/scripts/GenerateAliasedDocs.ps1 b/scripts/GenerateAliasedDocs.ps1 index 97eba9685354d..c7ba9bec1d19c 100644 --- a/scripts/GenerateAliasedDocs.ps1 +++ b/scripts/GenerateAliasedDocs.ps1 @@ -6,12 +6,18 @@ See related PR for more information. #> +Param( + [ValidateSet("both", "v1.0", "beta")] + [string] $GraphProfileFilter = "both", + [string] $ModuleFilter = "" +) + function Start-GenerateAliasedDocs { $BreakingChangeReportV1Report = (Join-Path $PSScriptRoot "../msgraph-sdk-powershell/docs/PowerShellBreakingChanges-V1.0.csv") $BreakingChangeReportBetaReport = (Join-Path $PSScriptRoot "../msgraph-sdk-powershell/docs/PowerShellBreakingChanges-beta.csv") $Reports = @() - $Reports += $BreakingChangeReportV1Report - $Reports += $BreakingChangeReportBetaReport + if ($GraphProfileFilter -ne "beta") { $Reports += $BreakingChangeReportV1Report } + if ($GraphProfileFilter -ne "v1.0") { $Reports += $BreakingChangeReportBetaReport } foreach ($BreakingChangeReport in $Reports) { Import-Csv $BreakingChangeReport | ForEach-Object { $Command = $_."NewCmdlet" @@ -39,6 +45,7 @@ function Copy-Files { if($CmdDetails){ $Module = $CmdDetails.Module $Module = $Module.Replace("Beta.", "") + if (-not [string]::IsNullOrWhiteSpace($ModuleFilter) -and $Module -ne $ModuleFilter) { return } $Module = "$ModulePrefix.$Module" $NewDoc = (Join-Path $PSScriptRoot "../microsoftgraph" $GraphProfilePath $Module "$Command.md") if(Test-Path $NewDoc) { diff --git a/scripts/GenerateMarkDown.ps1 b/scripts/GenerateMarkDown.ps1 index 52498f065e01d..ed6c85dcdb009 100644 --- a/scripts/GenerateMarkDown.ps1 +++ b/scripts/GenerateMarkDown.ps1 @@ -5,7 +5,16 @@ Param( $ModulesToGenerate = @(), [string] $ModuleMappingConfigPath = (Join-Path $PSScriptRoot "../microsoftgraph/config\ModulesMapping.jsonc"), [string] $WorkLoadDocsPath = (Join-Path $PSScriptRoot "../microsoftgraph"), - [string] $CmdletMetadataPath = (Join-Path $PSScriptRoot "../msgraph-sdk-powershell/src/Authentication/Authentication/custom/common/MgCommandMetadata.json") + [string] $CmdletMetadataPath = (Join-Path $PSScriptRoot "../msgraph-sdk-powershell/src/Authentication/Authentication/custom/common/MgCommandMetadata.json"), + # Restrict generation to a single SDK profile ("v1.0" or "beta"); "both" keeps the + # original full-run behaviour. + [ValidateSet("both", "v1.0", "beta")] + [string] $GraphProfileFilter = "both", + # Restrict generation to a single module (e.g. "Applications" or "Authentication"). Empty + # means all modules. When set, the run is "scoped": the module's folder is completely + # cleared and regenerated, and an import failure aborts THIS run (fail-safe, no deletion) + # instead of silently skipping. + [string] $ModuleFilter = "" ) function Get-GraphMapping { $graphMapping = @{} @@ -13,36 +22,6 @@ function Get-GraphMapping { $graphMapping.Add("beta", "graph-powershell-beta") return $graphMapping } - -function Get-NormalizedContent { - param ( - [ValidateNotNullOrEmpty()] - [string] $FilePath - ) - $content = Get-Content $FilePath -Raw - # Normalize line endings to LF and trim trailing whitespace - $content = $content -replace "`r`n", "`n" - $content = $content.TrimEnd() - # Strip ms.date line so date-only changes are ignored during comparison - $content = $content -replace '(?m)^ms\.date: .+$', '' - return $content -} - -function Get-DeterministicGuid { - param ( - [ValidateNotNullOrEmpty()] - [string] $InputString - ) - $bytes = [System.Text.Encoding]::UTF8.GetBytes($InputString) - $sha256 = [System.Security.Cryptography.SHA256]::Create() - try { - $hash = $sha256.ComputeHash($bytes) - return [guid]::new([byte[]]$hash[0..15]).ToString() - } finally { - $sha256.Dispose() - } -} - function Set-Help { param ( [ValidateNotNullOrEmpty()] @@ -57,7 +36,7 @@ function Set-Help { Command = (Get-Command $Command) OutputFolder = $ModuleDocsPath Force = $true - Encoding = [System.Text.Encoding]::UTF8 + Encoding = [System.Text.UTF8Encoding]::new($false) } if ($Module -eq "Microsoft.Graph.Authentication") { @@ -65,7 +44,7 @@ function Set-Help { Module = (Get-Module $Module) OutputFolder = $ModuleDocsPath WithModulePage = $true - Encoding = [System.Text.Encoding]::UTF8 + Encoding = [System.Text.UTF8Encoding]::new($false) } Import-Module $Module -Force -Global } @@ -81,55 +60,55 @@ function Start-GraphHelp { Param( $ModulesToGenerate = @() ) - - #Generate for auth module first + $ModulePrefix = "Microsoft.Graph" $AuthPath = "$ModulePrefix.Authentication" $AuthDestination = Join-Path $WorkLoadDocsPath "graph-powershell-1.0" $AuthPath - - Import-Module Microsoft.Graph.Authentication -Global - $GraphMapping = Get-GraphMapping - $TempAuthDir = Join-Path ([System.IO.Path]::GetTempPath()) "GraphDocsTempAuth_$([guid]::NewGuid().ToString('N'))" - New-Item -Path $TempAuthDir -ItemType Directory -Force | Out-Null - $GraphMapping.Keys | ForEach-Object { - $graphProfile = $_ - $profilePath = "graph-powershell-1.0" - if ($graphProfile -eq "beta") { - $profilePath = "graph-powershell-beta" - } - # Generate all auth module docs to temp directory using module-level generation - Set-Help -ModuleDocsPath $TempAuthDir -Command "Connect-MgGraph" -Module "Microsoft.Graph.Authentication" + # Determine which profiles this run covers. + $GraphMapping = Get-GraphMapping + $profilesToProcess = @($GraphMapping.Keys) + if ($GraphProfileFilter -ne "both") { + $profilesToProcess = @($GraphProfileFilter) + } - # Compare and copy all generated auth files - $TempAuthModuleDir = Join-Path $TempAuthDir $AuthPath - if (Test-Path $TempAuthModuleDir) { - if (-not (Test-Path $AuthDestination)) { - New-Item -Path $AuthDestination -ItemType Directory -Force | Out-Null - } - Get-ChildItem -Path $TempAuthModuleDir -Filter "*.md" -File | ForEach-Object { - $tempFile = $_.FullName - $existingFile = Join-Path $AuthDestination $_.Name - if (Test-Path $existingFile) { - $existingContent = Get-NormalizedContent -FilePath $existingFile - $newContent = Get-NormalizedContent -FilePath $tempFile - if ($existingContent -ne $newContent) { - Copy-Item -Path $tempFile -Destination $existingFile -Force - Write-Host "Updated auth doc: $($_.BaseName)" - } - } else { - Copy-Item -Path $tempFile -Destination $existingFile -Force - Write-Host "Added auth doc: $($_.BaseName)" - } + # Authentication docs live under graph-powershell-1.0 and are only generated on a full run + # or when Authentication is the explicitly targeted module. + $generateAuth = ([string]::IsNullOrWhiteSpace($ModuleFilter) -or $ModuleFilter -eq "Authentication") + if ($generateAuth -and ($profilesToProcess -contains "v1.0")) { + # Guard against catastrophic deletions: never remove existing docs unless the module + # is available to regenerate them. Authentication is required for every run, so abort + # if it failed to install rather than wiping committed documentation. + if (-not (Get-Module -Name Microsoft.Graph.Authentication -ListAvailable -ErrorAction SilentlyContinue)) { + throw "Microsoft.Graph.Authentication module is not available. Aborting generation to avoid deleting existing documentation." + } + Import-Module Microsoft.Graph.Authentication -Force -Global -ErrorAction Stop + Get-ChildItem -Path $AuthDestination * -File -Recurse | foreach { $_.Delete() } + $AuthenticationDocsPath = Join-Path $PSScriptRoot "..\microsoftgraph\graph-powershell-1.0" + Set-Help -ModuleDocsPath $AuthenticationDocsPath -Command "Connect-MgGraph" -Module "Microsoft.Graph.Authentication" + } + + # Workload modules. Skip entirely when Authentication is the explicit single target. + if ($ModuleFilter -ne "Authentication") { + $profilesToProcess | ForEach-Object { + $graphProfile = $_ + $profilePath = "graph-powershell-1.0" + if ($graphProfile -eq "beta") { + $profilePath = "graph-powershell-beta" } + Get-FolderByProfile -GraphProfile $graphProfile -GraphProfilePath $profilePath -ModulePrefix $ModulePrefix -ModulesToGenerate $ModulesToGenerate } - Get-FolderByProfile -GraphProfile $graphProfile -GraphProfilePath $profilePath -ModulePrefix $ModulePrefix -ModulesToGenerate $ModulesToGenerate } - Remove-Item -Path $TempAuthDir -Recurse -Force -ErrorAction SilentlyContinue + git config --global user.email "GraphTooling@service.microsoft.com" git config --global user.name "Microsoft Graph DevX Tooling" git add . - git commit -m "Updated markdown help" + $pending = git status --porcelain + if (-not [string]::IsNullOrWhiteSpace($pending)) { + git commit -m "Updated markdown help" + } else { + $global:LASTEXITCODE = 0 + } } function Get-FolderByProfile { @@ -145,10 +124,14 @@ function Get-FolderByProfile { ) $CommandMetadataContent = Get-Content $CmdletMetadataPath | ConvertFrom-Json - # Create a single temp directory for this profile's generation - $TempOutputDir = Join-Path ([System.IO.Path]::GetTempPath()) "GraphDocsTemp_$([guid]::NewGuid().ToString('N'))" - New-Item -Path $TempOutputDir -ItemType Directory -Force | Out-Null - + # In scoped (single-module) runs, restrict to the requested module and enable + # complete-delete + regenerate for it (safe because the module is verified to import + # below before anything is removed). + $Scoped = -not [string]::IsNullOrWhiteSpace($ModuleFilter) + if ($Scoped) { + $ModulesToGenerate = @($ModulesToGenerate | Where-Object { $_ -eq $ModuleFilter }) + } + $ModulesToGenerate | ForEach-Object { $ModuleName = $_ Write-Host $ModuleName @@ -160,107 +143,102 @@ function Get-FolderByProfile { } $Destination = Join-Path $WorkLoadDocsPath $GraphProfilePath $Path $DocsDestination = Join-Path $WorkLoadDocsPath $GraphProfilePath + + # Guard against catastrophic deletions. A module can be installed yet fail to + # import (e.g. an Authentication version conflict), and ListAvailable alone does + # not catch that. Verify the module actually imports AND exposes commands; if it + # does not, skip it so its committed docs are preserved instead of being wiped + # and never regenerated (which is what produced the mass-deletion refresh PRs). + $ModuleUsable = $false + if (Get-Module -Name $Path -ListAvailable -ErrorAction SilentlyContinue) { + try { + Import-Module $Path -Force -Global -ErrorAction Stop + if (Get-Command -Module $Path -ErrorAction SilentlyContinue) { + $ModuleUsable = $true + } + } catch { + Write-Warning "Module $Path failed to import: $($_.Exception.Message)" + } + } + if (-not $ModuleUsable) { + if ($Scoped) { + # Isolated single-module run: fail fast WITHOUT deleting anything so the + # module's committed docs are preserved. The pipeline job contains this + # failure (continueOnError) so it never fails the whole run or other modules. + throw "Module $Path is not usable in isolated generation; aborting this module without deleting its documentation." + } + Write-Warning "Module $Path is not usable; skipping to preserve existing documentation." + return + } + if (-not(Test-Path $Destination)) { New-Item -Path $Destination -ItemType Directory } + elseif ($Scoped) { + # Complete deletion + regeneration for this single module. Safe here because the + # module imported successfully above, so regeneration repopulates the folder. + Get-ChildItem -Path $Destination -Filter "*.md" -File | ForEach-Object { + Remove-Item $_.FullName -Force + } + } + # NOTE: docs are intentionally NOT bulk-deleted here. Each doc is overwritten in + # place as it is regenerated, and only genuine orphans (commands no longer in the + # metadata) are removed afterwards. This guarantees that a transient generation + # failure can never wipe a module's documentation. $CmdletCount = 0 $MetadataCommands = @{} - - # Generate table of contents for each module using a deterministic GUID + # Generate table of contents for each module $TocFileName = "$Path.md" - $ModuleGuid = Get-DeterministicGuid -InputString $Path + $ModuleGuid = [guid]::NewGuid().ToString() $LinkProfile = $GraphProfile.Replace("v", "") $LinkModuleName = $Path.ToLower() $HelpVersion = "1.0.0.0" $HelpLocale = "en-US" - $DownloadLink = "https://learn.microsoft.com/en-us/powershell/module/$LinkModuleName/?view=graph-powershell-$LinkProfile" - - # Build TOC content in memory to compare before writing - $TocContent = @() - $TocContent += "---" - $TocContent += "Module Name: $Path" - $TocContent += "Module Guid: $ModuleGuid" - $TocContent += "Download Help Link: $DownloadLink" - $TocContent += "Help Version: $HelpVersion" - $TocContent += "Locale: $HelpLocale" - $TocContent += "---" - $TocContent += "" - $TocContent += "# $Path Module" - $TocContent += "## Description" - $TocContent += "Microsoft Graph PowerShell Cmdlets" - $TocContent += "" - $TocContent += "## $Path Cmdlets" - + $DownloadLink = "https://learn.microsoft.com/en-us/powershell/module/$LinkModuleName/?view=graph-powershell-$LinkProfile" + New-Item -Path $Destination -Name $TocFileName -ItemType File -Force + Add-Content -Path $Destination\$TocFileName -Value "---" + Add-Content -Path $Destination\$TocFileName -Value "Module Name: $Path" + Add-Content -Path $Destination\$TocFileName -Value "Module Guid: $ModuleGuid" + Add-Content -Path $Destination\$TocFileName -Value "Download Help Link: $DownloadLink" + Add-Content -Path $Destination\$TocFileName -Value "Help Version: $HelpVersion" + Add-Content -Path $Destination\$TocFileName -Value "Locale: $HelpLocale" + Add-Content -Path $Destination\$TocFileName -Value "---" + Add-Content -Path $Destination\$TocFileName -Value "" + Add-Content -Path $Destination\$TocFileName -Value "# $Path Module" + Add-Content -Path $Destination\$TocFileName -Value "## Description" + Add-Content -Path $Destination\$TocFileName -Value "Microsoft Graph PowerShell Cmdlets" + Add-Content -Path $Destination\$TocFileName -Value "" + Add-Content -Path $Destination\$TocFileName -Value "## $Path Cmdlets" $CommandMetadataContent | Where-Object { $_.Module -eq $ModName -and $_.ApiVersion -eq $GraphProfile } | ForEach-Object { $Command = $_.Command $MetadataCommands[$Command] = $true - $CmdletDocsPath = Join-Path $WorkLoadDocsPath $GraphProfilePath $Path "$Command.md" - - # Generate to temp directory and compare with existing if (Get-Command -Name $Command -ErrorAction SilentlyContinue) { - Set-Help -ModuleDocsPath $TempOutputDir -Command $Command -Module $Path - $TempFilePath = Join-Path $TempOutputDir $Path "$Command.md" - if (Test-Path $TempFilePath) { - if (Test-Path $CmdletDocsPath) { - $existingContent = Get-NormalizedContent -FilePath $CmdletDocsPath - $newContent = Get-NormalizedContent -FilePath $TempFilePath - if ($existingContent -ne $newContent) { - Copy-Item -Path $TempFilePath -Destination $CmdletDocsPath -Force - Write-Host "Updated: $Command" - } - } else { - Copy-Item -Path $TempFilePath -Destination $CmdletDocsPath -Force - Write-Host "Added: $Command" - } - } - } elseif (-not (Test-Path $CmdletDocsPath)) { + Set-Help -ModuleDocsPath $DocsDestination -Command $Command -Module $Path + } else { Write-Warning "Cmdlet $Command is not available." } - - $TocContent += "### [$Command]($Command.md)" - $TocContent += "" + Add-Content -Path $Destination\$TocFileName -Value "### [$Command]($Command.md)" + Add-Content -Path $Destination\$TocFileName -Value "" $CmdletCount++ } - if ($CmdletCount -eq 0) { - Remove-Item -LiteralPath $Destination -Force -Recurse - } else { - # Only write TOC if content has changed - $TocFilePath = Join-Path $Destination $TocFileName - $newTocText = ($TocContent -join "`r`n") + "`r`n" - if (Test-Path $TocFilePath) { - $existingTocText = Get-Content $TocFilePath -Raw - # Normalize both to LF for comparison - $existingNormalized = $existingTocText -replace "`r`n", "`n" - $newNormalized = $newTocText -replace "`r`n", "`n" - if ($existingNormalized.TrimEnd() -ne $newNormalized.TrimEnd()) { - $newTocText | Out-File $TocFilePath -Encoding UTF8 -NoNewline - Write-Host "Updated TOC: $TocFileName" - } - } else { - $newTocText | Out-File $TocFilePath -Encoding UTF8 -NoNewline - Write-Host "Added TOC: $TocFileName" - } - - # Remove orphaned docs — files for commands no longer in metadata - Get-ChildItem -Path $Destination -Filter "*.md" -File | Where-Object { - $cmdName = $_.BaseName - -not $MetadataCommands.ContainsKey($cmdName) -and $_.Name -ne $TocFileName - } | ForEach-Object { - Write-Host "Removing orphaned doc: $($_.Name)" - Remove-Item $_.FullName -Force - } + # Remove only genuine orphans: docs whose command is no longer in the metadata. + # Docs for commands still in metadata are preserved even if this run failed to + # regenerate them, so a bad run cannot delete valid documentation. + Get-ChildItem -Path $Destination -Filter "*.md" -File | Where-Object { + $_.Name -ne $TocFileName -and -not $MetadataCommands.ContainsKey($_.BaseName) + } | ForEach-Object { + Write-Host "Removing orphaned doc: $($_.Name)" + Remove-Item $_.FullName -Force } - # Clean up temp module folder for this iteration - $TempModuleDir = Join-Path $TempOutputDir $Path - if (Test-Path $TempModuleDir) { - Remove-Item -Path $TempModuleDir -Recurse -Force -ErrorAction SilentlyContinue + if($CmdletCount -eq 0){ + Remove-Item -LiteralPath $Destination -Force -Recurse } - } - Remove-Item -Path $TempOutputDir -Recurse -Force -ErrorAction SilentlyContinue + } + } # Install PlatyPS Install-Module -Name Microsoft.PowerShell.PlatyPS -Force @@ -280,4 +258,8 @@ if ($ModulesToGenerate.Count -eq 0) { } Write-Host -ForegroundColor Green "-------------finished checking out to today's branch-------------" Start-GraphHelp -ModulesToGenerate $ModulesToGenerate +# Signal successful generation so downstream pipeline steps (post-processing, push, PR) only +# run when this module actually generated. On an import failure the script throws before this +# line, the variable is never set, and the isolated stage opens no PR and deletes nothing. +Write-Host "##vso[task.setvariable variable=ModuleGenerated]true" Write-Host -ForegroundColor Green "-------------Done-------------" \ No newline at end of file diff --git a/scripts/GeneratePermissionsTable.ps1 b/scripts/GeneratePermissionsTable.ps1 index aeca973f7f228..d854d62458c62 100644 --- a/scripts/GeneratePermissionsTable.ps1 +++ b/scripts/GeneratePermissionsTable.ps1 @@ -1,6 +1,9 @@ param( [string]$MgCommandMetadatJsonFile = (Join-Path $PSScriptRoot "../msgraph-sdk-powershell/src/Authentication/Authentication/custom/common/MgCommandMetadata.json"), - [string[]]$CmdList = @() + [string[]]$CmdList = @(), + [ValidateSet("both", "v1.0", "beta")] + [string] $GraphProfileFilter = "both", + [string] $ModuleFilter = "" ) function Start-Generator { @@ -11,6 +14,9 @@ function Start-Generator { $CommandName = $_.Command; $ApiVersion = $_.ApiVersion $Module = $_.Module; + if ($GraphProfileFilter -ne "both" -and $ApiVersion -ne $GraphProfileFilter) { return } + $normalizedModule = $Module -replace "^Beta\.", "" + if (-not [string]::IsNullOrWhiteSpace($ModuleFilter) -and $normalizedModule -ne $ModuleFilter) { return } #Array for DelegatedWork Permissions $DelegatedWorkPermissions = @(); #Array for Application Permissions @@ -70,7 +76,12 @@ function Start-Generator { git config --global user.email "GraphTooling@service.microsoft.com" git config --global user.name "Microsoft Graph DevX Tooling" git add . - git commit -m "Inserted permissions Table" + $pending = git status --porcelain + if (-not [string]::IsNullOrWhiteSpace($pending)) { + git commit -m "Inserted permissions Table" + } else { + $global:LASTEXITCODE = 0 + } } catch { Write-Host "Error in $_"; @@ -136,7 +147,12 @@ function New-ReferenceTable { "@; - if ((Get-Content -Raw -Path $File) -match '(## DESCRIPTION)[\s\S]*## EXAMPLES') { + if ((Get-Content -Raw -Path $File) -match '\*\*Permissions\*\*') { + # A permissions table has already been inserted on a previous run. + # Skip to avoid prepending a duplicate '**Permissions**' block. + Write-Host "Skipping $CommandName as it already has a permissions table"; + } + elseif ((Get-Content -Raw -Path $File) -match '(## DESCRIPTION)[\s\S]*## EXAMPLES') { $Link = "**Permissions**`r`n`n$markdownTable`r`n`n## EXAMPLES" (Get-Content $File) | Foreach-Object { $_ -replace '## EXAMPLES', $Link } | diff --git a/scripts/MsSubserviceUpdate.ps1 b/scripts/MsSubserviceUpdate.ps1 index d9bbd826afe67..54ce3c003d8ca 100644 --- a/scripts/MsSubserviceUpdate.ps1 +++ b/scripts/MsSubserviceUpdate.ps1 @@ -5,7 +5,10 @@ Param( [string] $SDKDocsPath = (Join-Path $PSScriptRoot "../msgraph-sdk-powershell/src"), [string] $SDKOpenApiPath = (Join-Path $PSScriptRoot "../msgraph-sdk-powershell"), [string] $WorkLoadDocsPath = (Join-Path $PSScriptRoot "../microsoftgraph"), - [string] $MissingMsSubserviceHeaderPath = (Join-Path $PSScriptRoot "../missingexternaldocsurl") + [string] $MissingMsSubserviceHeaderPath = (Join-Path $PSScriptRoot "../missingexternaldocsurl"), + [ValidateSet("both", "v1.0", "beta")] + [string] $GraphProfileFilter = "both", + [string] $ModuleFilter = "" ) function Start-Generator { if (Test-Path $CommandMetadataPath) { @@ -22,6 +25,8 @@ function Start-Generator { $ModulePrefix = "Microsoft.Graph.Beta" $ModuleName = $ModuleName.Replace("Beta.", "") } + if ($GraphProfileFilter -ne "both" -and $GraphProfile -ne $GraphProfileFilter) { return } + if (-not [string]::IsNullOrWhiteSpace($ModuleFilter) -and $ModuleName -ne $ModuleFilter) { return } $Path = "$ModulePrefix.$ModuleName" $DestinationFile = Join-Path $WorkLoadDocsPath $GraphProfilePath $Path "$Command.md" try { diff --git a/scripts/RemoveBoilerPlateCode.ps1 b/scripts/RemoveBoilerPlateCode.ps1 index 246e79ba3febe..8158654b106a1 100644 --- a/scripts/RemoveBoilerPlateCode.ps1 +++ b/scripts/RemoveBoilerPlateCode.ps1 @@ -4,7 +4,10 @@ Param( $ModulesToGenerate = @(), [string] $ModuleMappingConfigPath = (Join-Path $PSScriptRoot "../microsoftgraph/config/ModulesMapping.jsonc"), [string] $WorkLoadDocsPath = (Join-Path $PSScriptRoot "../microsoftgraph"), - [string] $AuthLoadDocsPath = (Join-Path $PSScriptRoot "../microsoftgraph/graph-powershell-1.0/Microsoft.Graph.Authentication") + [string] $AuthLoadDocsPath = (Join-Path $PSScriptRoot "../microsoftgraph/graph-powershell-1.0/Microsoft.Graph.Authentication"), + [ValidateSet("both", "v1.0", "beta")] + [string] $GraphProfileFilter = "both", + [string] $ModuleFilter = "" ) function Get-GraphMapping { $graphMapping = @{} @@ -19,19 +22,22 @@ function Start-Repair { $ModulesToGenerate = @() ) - #Cleanup Authentication Module first - $files = Get-ChildItem -Path $AuthLoadDocsPath -Filter *.md -Recurse - foreach ($file in $files) { - $content = Get-Content -Path $file.FullName - # Remove lines that contain '{{ Fill in the Description }}' or '### This' or '### *' or '### have' or '### certain' or '### the' - $cleanedContent = $content | Where-Object { $_ -notmatch '^\s*{{ Fill in the Description }}|^\s*### This|^\s*### \*|^\s*### have|^\s*### certain|^\s*### the' } - # Write the cleaned content back to the file - $cleanedContent | Set-Content -Path $file.FullName + #Cleanup Authentication Module first (only on a full run or the Authentication stage). + if ([string]::IsNullOrWhiteSpace($ModuleFilter) -or $ModuleFilter -eq "Authentication") { + $files = Get-ChildItem -Path $AuthLoadDocsPath -Filter *.md -Recurse + foreach ($file in $files) { + $content = Get-Content -Path $file.FullName + # Remove lines that contain '{{ Fill in the Description }}' or '### This' or '### *' or '### have' or '### certain' or '### the' + $cleanedContent = $content | Where-Object { $_ -notmatch '^\s*{{ Fill in the Description }}|^\s*### This|^\s*### \*|^\s*### have|^\s*### certain|^\s*### the' } + # Write the cleaned content back to the file + $cleanedContent | Set-Content -Path $file.FullName + } } $ModulePrefix = "Microsoft.Graph" $GraphMapping = Get-GraphMapping $GraphMapping.Keys | ForEach-Object { $graphProfile = $_ + if ($GraphProfileFilter -ne "both" -and $graphProfile -ne $GraphProfileFilter) { return } $profilePath = "graph-powershell-1.0" if ($graphProfile -eq "beta") { $profilePath = "graph-powershell-beta" @@ -41,7 +47,12 @@ function Start-Repair { git config --global user.email "GraphTooling@service.microsoft.com" git config --global user.name "Microsoft Graph DevX Tooling" git add . - git commit -m "Remove boiler plate code injected by Autorest" + $pending = git status --porcelain + if (-not [string]::IsNullOrWhiteSpace($pending)) { + git commit -m "Remove boiler plate code injected by Autorest" + } else { + $global:LASTEXITCODE = 0 + } } function Get-FilesByProfile { Param( @@ -118,5 +129,8 @@ if ($ModulesToGenerate.Count -eq 0) { } Write-Host -ForegroundColor Green "-------------finished checking out to today's branch-------------" +if (-not [string]::IsNullOrWhiteSpace($ModuleFilter)) { + $ModulesToGenerate = @($ModulesToGenerate | Where-Object { $_ -eq $ModuleFilter }) +} Start-Repair -ModulesToGenerate $ModulesToGenerate Write-Host -ForegroundColor Green "-------------Done-------------" \ No newline at end of file diff --git a/scripts/RemoveInvalidFullStops.ps1 b/scripts/RemoveInvalidFullStops.ps1 index 37be47e7c73df..21cfad73afe51 100644 --- a/scripts/RemoveInvalidFullStops.ps1 +++ b/scripts/RemoveInvalidFullStops.ps1 @@ -2,7 +2,10 @@ # Licensed under the MIT License. Param( $ModulesToGenerate = @(), - [string] $ModuleMappingConfigPath = (Join-Path $PSScriptRoot "../microsoftgraph/config/ModulesMapping.jsonc") + [string] $ModuleMappingConfigPath = (Join-Path $PSScriptRoot "../microsoftgraph/config/ModulesMapping.jsonc"), + [ValidateSet("both", "v1.0", "beta")] + [string] $GraphProfileFilter = "both", + [string] $ModuleFilter = "" ) function Get-GraphMapping { $graphMapping = @{} @@ -20,13 +23,19 @@ function Remove-InvalidFullStops { $GraphMapping = Get-GraphMapping $GraphMapping.Keys | ForEach-Object { $graphProfile = $_ + if ($GraphProfileFilter -ne "both" -and $graphProfile -ne $GraphProfileFilter) { return } Get-FilesByProfile -GraphProfile $graphProfile -GraphProfilePath $GraphMapping[$graphProfile] -ModulePrefix $ModulePrefix -ModulesToGenerate $ModulesToGenerate } - git config --global user.email "timwamalwa@gmail.com" - git config --global user.name "Timothy Wamalwa" + git config --global user.email "GraphTooling@service.microsoft.com" + git config --global user.name "Microsoft Graph DevX Tooling" git add . - git commit -m "Removed invalid full stops from the beginning of lines" + $pending = git status --porcelain + if (-not [string]::IsNullOrWhiteSpace($pending)) { + git commit -m "Removed invalid full stops from the beginning of lines" + } else { + $global:LASTEXITCODE = 0 + } } function Get-FilesByProfile { Param( @@ -88,6 +97,9 @@ if ($ModulesToGenerate.Count -eq 0) { [HashTable] $ModuleMapping = Get-Content $ModuleMappingConfigPath | ConvertFrom-Json -AsHashTable $ModulesToGenerate = $ModuleMapping.Keys } +if (-not [string]::IsNullOrWhiteSpace($ModuleFilter)) { + $ModulesToGenerate = @($ModulesToGenerate | Where-Object { $_ -eq $ModuleFilter }) +} Remove-InvalidFullStops -ModulesToGenerate $ModulesToGenerate diff --git a/scripts/RepairExamplesDescriptionsAndTitle.ps1 b/scripts/RepairExamplesDescriptionsAndTitle.ps1 index c8e3c74074799..e1fd1d5a8f172 100644 --- a/scripts/RepairExamplesDescriptionsAndTitle.ps1 +++ b/scripts/RepairExamplesDescriptionsAndTitle.ps1 @@ -4,7 +4,10 @@ Param( $ModulesToGenerate = @(), [string] $SDKDocsPath = (Join-Path $PSScriptRoot "../msgraph-sdk-powershell/src"), [string] $WorkLoadDocsPath = (Join-Path $PSScriptRoot "../microsoftgraph"), - [string] $CommandMetadataPath = (Join-Path $PSScriptRoot "../msgraph-sdk-powershell/src/Authentication/Authentication/custom/common/MgCommandMetadata.json") + [string] $CommandMetadataPath = (Join-Path $PSScriptRoot "../msgraph-sdk-powershell/src/Authentication/Authentication/custom/common/MgCommandMetadata.json"), + [ValidateSet("both", "v1.0", "beta")] + [string] $GraphProfileFilter = "both", + [string] $ModuleFilter = "" ) function Start-Copy { @@ -22,6 +25,8 @@ function Start-Copy { $ModulePrefix = "Microsoft.Graph.Beta" $ModuleName = $ModuleName.Replace("Beta.", "") } + if ($GraphProfileFilter -ne "both" -and $GraphProfile -ne $GraphProfileFilter) { return } + if (-not [string]::IsNullOrWhiteSpace($ModuleFilter) -and $ModuleName -ne $ModuleFilter) { return } $DocPath = Join-Path $SDKDocsPath $ModuleName $GraphProfile "examples" "$Command.md" try { @@ -38,7 +43,12 @@ function Start-Copy { git config --global user.email "GraphTooling@service.microsoft.com" git config --global user.name "Microsoft Graph DevX Tooling" git add . - git commit -m "Repaired examples and descriptions" + $pending = git status --porcelain + if (-not [string]::IsNullOrWhiteSpace($pending)) { + git commit -m "Repaired examples and descriptions" + } else { + $global:LASTEXITCODE = 0 + } } diff --git a/scripts/UpdateLinks.ps1 b/scripts/UpdateLinks.ps1 index f7edf3e93bcd6..1ba011281aa6a 100644 --- a/scripts/UpdateLinks.ps1 +++ b/scripts/UpdateLinks.ps1 @@ -4,7 +4,10 @@ Param( $ModulesToGenerate = @(), [string] $ModuleMappingConfigPath = (Join-Path $PSScriptRoot "../microsoftgraph/config/ModulesMapping.jsonc"), [string] $SDKDocsPath = (Join-Path $PSScriptRoot "../msgraph-sdk-powershell/src"), - [string] $WorkLoadDocsPath = (Join-Path $PSScriptRoot "../microsoftgraph") + [string] $WorkLoadDocsPath = (Join-Path $PSScriptRoot "../microsoftgraph"), + [ValidateSet("both", "v1.0", "beta")] + [string] $GraphProfileFilter = "both", + [string] $ModuleFilter = "" ) function Get-GraphMapping { $graphMapping = @{} @@ -22,6 +25,7 @@ function Start-Update { $GraphMapping = Get-GraphMapping $GraphMapping.Keys | ForEach-Object { $GraphProfile = $_ + if ($GraphProfileFilter -ne "both" -and $GraphProfile -ne $GraphProfileFilter) { return } $profilePath = "graph-powershell-1.0" if ($GraphProfile -eq "beta") { $ProfilePath = "graph-powershell-beta" @@ -175,7 +179,11 @@ function Add-Link { $Folder = $View.Split("=")[1] $ConfirmFile = Join-Path $WorkLoadDocsPath "$Folder" "$ModuleName" "$CommandRename.md" $ConfirmCommandAvailability = Find-MgGraphCommand -Command $CommandRename - if ($ConfirmCommandAvailability -and (Test-Path $ConfirmFile)) { + # Only insert the note if it isn't already present, otherwise every run + # prepends another copy of the same '[!NOTE]' block before '## SYNTAX'. + $NoteMarker = "$LinkTitle [$CommandRename]($BaseUrl/$FullModuleName$View)" + $AlreadyLinked = (Get-Content -Raw -Path $File) -match [regex]::Escape($NoteMarker) + if ($ConfirmCommandAvailability -and (Test-Path $ConfirmFile) -and -not $AlreadyLinked) { (Get-Content $File) | Foreach-Object { $_ -replace '## SYNTAX', $Link } | Out-File $File @@ -201,5 +209,8 @@ if ($ModulesToGenerate.Count -eq 0) { Write-Host -ForegroundColor Green "-------------finished checking out to today's branch-------------" +if (-not [string]::IsNullOrWhiteSpace($ModuleFilter)) { + $ModulesToGenerate = @($ModulesToGenerate | Where-Object { $_ -eq $ModuleFilter }) +} Start-Update -ModulesToGenerate $ModulesToGenerate Write-Host -ForegroundColor Green "-------------Done-------------" \ No newline at end of file