revert generation changes - #819
Conversation
PoliCheck Scan ReportThe following report lists PoliCheck issues in PR files. Before you merge the PR, you must fix all severity-1 and severity-2 issues. The AI Review Details column lists suggestions for either removing or replacing the terms. If you find a false positive result, mention it in a PR comment and include this text: #policheck-false-positive. This feedback helps reduce false positives in future scans. ✅ No issues foundMore information about PoliCheckInformation: PoliCheck | Severity Guidance | Term |
|
Learn Build status updates of commit fd439be:
|
| File | Status | Preview URL | Details |
|---|---|---|---|
| microsoftgraph/graph-powershell-beta/Microsoft.Graph.Beta.BackupRestore/Microsoft.Graph.Beta.BackupRestore.md | View (graph-powershell-beta) | Details | |
| azure-pipelines/powershell-docs.yml | ✅Succeeded | ||
| scripts/GenerateMarkDown.ps1 | ✅Succeeded |
microsoftgraph/graph-powershell-beta/Microsoft.Graph.Beta.BackupRestore/Microsoft.Graph.Beta.BackupRestore.md
- Line 0, Column 0: [Warning: PSMD2Yaml_InconsistentCmdletsInModule]
Inconsistent cmdlets found in module: Microsoft.Graph.Beta.BackupRestore. 15 cmdlets listed in the module file (PlatyPS output YAML) but not in the module folder or failed to process: Disable-MgBetaSolutionBackupRestoreAllDrivesBackup, Disable-MgBetaSolutionBackupRestoreAllMailboxesBackup, Disable-MgBetaSolutionBackupRestoreAllSitesBackup, Enable-MgBetaSolutionBackupRestoreAllDrivesBackup, Enable-MgBetaSolutionBackupRestoreAllMailboxesBackup, Enable-MgBetaSolutionBackupRestoreAllSitesBackup, Get-MgBetaSolutionBackupRestoreDriveBackup, Get-MgBetaSolutionBackupRestoreMailboxBackup, Get-MgBetaSolutionBackupRestoreSiteBackup, Remove-MgBetaSolutionBackupRestoreDriveBackup, Remove-MgBetaSolutionBackupRestoreMailboxBackup, Remove-MgBetaSolutionBackupRestoreSiteBackup, Update-MgBetaSolutionBackupRestoreDriveBackup, Update-MgBetaSolutionBackupRestoreMailboxBackup, Update-MgBetaSolutionBackupRestoreSiteBackup. - Line 0, Column 0: [Suggestion: PSMD2Yaml_UidDuplicated]
Duplicate uid found: Microsoft.Graph.Beta.BackupRestore.Get-MgBetaSolutionBackupRestoreBrowseSession shows more than once in Microsoft.Graph.Beta.BackupRestore Cmdlets command group in module Microsoft.Graph.Beta.BackupRestore. Microsoft.Graph.Beta.BackupRestore.Get-MgBetaSolutionBackupRestoreDriveInclusionRule shows more than once in Microsoft.Graph.Beta.BackupRestore Cmdlets command group in module Microsoft.Graph.Beta.BackupRestore. Microsoft.Graph.Beta.BackupRestore.Get-MgBetaSolutionBackupRestoreDriveProtectionUnit shows more than once in Microsoft.Graph.Beta.BackupRestore Cmdlets command group in module Microsoft.Graph.Beta.BackupRestore. Microsoft.Graph.Beta.BackupRestore.Get-MgBetaSolutionBackupRestoreDriveProtectionUnitBulkAdditionJob shows more than once in Microsoft.Graph.Beta.BackupRestore Cmdlets command group in module Microsoft.Graph.Beta.BackupRestore. Microsoft.Graph.Beta.BackupRestore.Get-MgBetaSolutionBackupRestoreExchangeProtectionPolicy shows more than once in Microsoft.Graph.Beta.BackupRestore Cmdlets command group in module Microsoft.Graph.Beta.BackupRestore. Microsoft.Graph.Beta.BackupRestore.Get-MgBetaSolutionBackupRestoreExchangeProtectionPolicyMailboxInclusionRule shows more than once in Microsoft.Graph.Beta.BackupRestore Cmdlets command group in module Microsoft.Graph.Beta.BackupRestore. Microsoft.Graph.Beta.BackupRestore.Get-MgBetaSolutionBackupRestoreExchangeProtectionPolicyMailboxProtectionUnit shows more than once in Microsoft.Graph.Beta.BackupRestore Cmdlets command group in module Microsoft.Graph.Beta.BackupRestore. Microsoft.Graph.Beta.BackupRestore.Get-MgBetaSolutionBackupRestoreExchangeProtectionPolicyMailboxProtectionUnitBulkAdditionJob shows more than once in Microsoft.Graph.Beta.BackupRestore Cmdlets command group in module Microsoft.Graph.Beta.BackupRestore. Microsoft.Graph.Beta.BackupRestore.Get-MgBetaSolutionBackupRestoreExchangeRestoreSession shows more than once in Microsoft.Graph.Beta.BackupRestore Cmdlets command group in module Microsoft.Graph.Beta.BackupRestore. Microsoft.Graph.Beta.BackupRestore.Get-MgBetaSolutionBackupRestoreExchangeRestoreSessionGranularMailboxRestoreArtifact shows more than once in Microsoft.Graph.Beta.BackupRestore Cmdlets command group in module Microsoft.Graph.Beta.BackupRestore. Microsoft.Graph.Beta.BackupRestore.Get-MgBetaSolutionBackupRestoreExchangeRestoreSessionMailboxRestoreArtifact shows more than once in Microsoft.Graph.Beta.BackupRestore Cmdlets command group in module Microsoft.Graph.Beta.BackupRestore. Microsoft.Graph.Beta.BackupRestore.Get-MgBetaSolutionBackupRestoreExchangeRestoreSessionMailboxRestoreArtifactBulkAdditionRequest shows more than once in Microsoft.Graph.Beta.BackupRestore Cmdlets command group in module Microsoft.Graph.Beta.BackupRestore. Microsoft.Graph.Beta.BackupRestore.Get-MgBetaSolutionBackupRestoreMailboxInclusionRule shows more than once in Microsoft.Graph.Beta.BackupRestore Cmdlets command group in module Microsoft.Graph.Beta.BackupRestore. Microsoft.Graph.Beta.BackupRestore.Get-MgBetaSolutionBackupRestoreMailboxProtectionUnit shows more than once in Microsoft.Graph.Beta.BackupRestore Cmdlets command group in module Microsoft.Graph.Beta.BackupRestore. Microsoft.Graph.Beta.BackupRestore.Get-MgBetaSolutionBackupRestoreMailboxProtectionUnitBulkAdditionJob shows more than once in Microsoft.Graph.Beta.BackupRestore Cmdlets command group in module Microsoft.Graph.Beta.BackupRestore. Microsoft.Graph.Beta.BackupRestore.Get-MgBetaSolutionBackupRestoreOneDriveForBusinessBrowseSession shows more than once in Microsoft.Graph.Beta.BackupRestore Cmdlets command group in module Microsoft.Graph.Beta.BackupRestore. Microsoft.Graph.Beta.BackupRestore.Get-MgBetaSolutionBackupRestoreOneDriveForBusinessProtectionPolicy shows more than once in Microsoft.Graph.Beta.BackupRestore Cmdlets command group in module Microsoft.Graph.Beta.BackupRestore. Microsoft.Graph.Beta.BackupRestore.Get-MgBetaSolutionBackupRestoreOneDriveForBusinessProtectionPolicyDriveInclusionRule shows more than once in Microsoft.Graph.Beta.BackupRestore Cmdlets command group in module Microsoft.Graph.Beta.BackupRestore. Microsoft.Graph.Beta.BackupRestore.Get-MgBetaSolutionBackupRestoreOneDriveForBusinessProtectionPolicyDriveProtectionUnit shows more than once in Microsoft.Graph.Beta.BackupRestore Cmdlets command group in module Microsoft.Graph.Beta.BackupRestore. Microsoft.Graph.Beta.BackupRestore.Get-MgBetaSolutionBackupRestoreOneDriveForBusinessProtectionPolicyDriveProtectionUnitBulkAdditionJob shows more than once in Microsoft.Graph.Beta.BackupRestore Cmdlets command group in module Microsoft.Graph.Beta.BackupRestore. Microsoft.Graph.Beta.BackupRestore.Get-MgBetaSolutionBackupRestoreOneDriveForBusinessRestoreSession shows more than once in Microsoft.Graph.Beta.BackupRestore Cmdlets command group in module Microsoft.Graph.Beta.BackupRestore. Microsoft.Graph.Beta.BackupRestore.Get-MgBetaSolutionBackupRestoreOneDriveForBusinessRestoreSessionDriveRestoreArtifact shows more than once in Microsoft.Graph.Beta.BackupRestore Cmdlets command group in module Microsoft.Graph.Beta.BackupRestore. Microsoft.Graph.Beta.BackupRestore.Get-MgBetaSolutionBackupRestoreOneDriveForBusinessRestoreSessionDriveRestoreArtifactBulkAdditionRequest shows more than once in Microsoft.Graph.Beta.BackupRestore Cmdlets command group in module Microsoft.Graph.Beta.BackupRestore. Microsoft.Graph.Beta.BackupRestore.Get-MgBetaSolutionBackupRestoreOneDriveForBusinessRestoreSessionGranularDriveRestoreArtifact shows more than once in Microsoft.Graph.Beta.BackupRestore Cmdlets command group in module Microsoft.Graph.Beta.BackupRestore. Microsoft.Graph.Beta.BackupRestore.Get-MgBetaSolutionBackupRestorePoint shows more than once in Microsoft.Graph.Beta.BackupRestore Cmdlets command group in module Microsoft.Graph.Beta.BackupRestore. Microsoft.Graph.Beta.BackupRestore.Get-MgBetaSolutionBackupRestoreProtectionPolicy shows more than once in Microsoft.Graph.Beta.BackupRestore Cmdlets command group in module Microsoft.Graph.Beta.BackupRestore. Microsoft.Graph.Beta.BackupRestore.Get-MgBetaSolutionBackupRestoreProtectionUnit shows more than once in Microsoft.Graph.Beta.BackupRestore Cmdlets command group in module Microsoft.Graph.Beta.BackupRestore. Microsoft.Graph.Beta.BackupRestore.Get-MgBetaSolutionBackupRestoreProtectionUnitAsDriveProtectionUnit shows more than once in Microsoft.Graph.Beta.BackupRestore Cmdlets command group in module Microsoft.Graph.Beta.BackupRestore. Microsoft.Graph.Beta.BackupRestore.Get-MgBetaSolutionBackupRestoreProtectionUnitAsMailboxProtectionUnit shows more than once in Microsoft.Graph.Beta.BackupRestore Cmdlets command group in module Microsoft.Graph.Beta.BackupRestore. Microsoft.Graph.Beta.BackupRestore.Get-MgBetaSolutionBackupRestoreProtectionUnitAsSiteProtectionUnit shows more than once in Microsoft.Graph.Beta.BackupRestore Cmdlets command group in module Microsoft.Graph.Beta.BackupRestore. Microsoft.Graph.Beta.BackupRestore.Get-MgBetaSolutionBackupRestoreServiceApp shows more than once in Microsoft.Graph.Beta.BackupRestore Cmdlets command group in module Microsoft.Graph.Beta.BackupRestore. Microsoft.Graph.Beta.BackupRestore.Get-MgBetaSolutionBackupRestoreSession shows more than once in Microsoft.Graph.Beta.BackupRestore Cmdlets command group in module Microsoft.Graph.Beta.BackupRestore. Microsoft.Graph.Beta.BackupRestore.Get-MgBetaSolutionBackupRestoreSharePointBrowseSession shows more than once in Microsoft.Graph.Beta.BackupRestore Cmdlets command group in module Microsoft.Graph.Beta.BackupRestore. Microsoft.Graph.Beta.BackupRestore.Get-MgBetaSolutionBackupRestoreSharePointProtectionPolicy shows more than once in Microsoft.Graph.Beta.BackupRestore Cmdlets command group in module Microsoft.Graph.Beta.BackupRestore. Microsoft.Graph.Beta.BackupRestore.Get-MgBetaSolutionBackupRestoreSharePointProtectionPolicySiteInclusionRule shows more than once in Microsoft.Graph.Beta.BackupRestore Cmdlets command group in module Microsoft.Graph.Beta.BackupRestore. Microsoft.Graph.Beta.BackupRestore.Get-MgBetaSolutionBackupRestoreSharePointProtectionPolicySiteProtectionUnit shows more than once in Microsoft.Graph.Beta.BackupRestore Cmdlets command group in module Microsoft.Graph.Beta.BackupRestore. Microsoft.Graph.Beta.BackupRestore.Get-MgBetaSolutionBackupRestoreSharePointProtectionPolicySiteProtectionUnitBulkAdditionJob shows more than once in Microsoft.Graph.Beta.BackupRestore Cmdlets command group in module Microsoft.Graph.Beta.BackupRestore. Microsoft.Graph.Beta.BackupRestore.Get-MgBetaSolutionBackupRestoreSharePointRestoreSession shows more than once in Microsoft.Graph.Beta.BackupRestore Cmdlets command group in module Microsoft.Graph.Beta.BackupRestore. Microsoft.Graph.Beta.BackupRestore.Get-MgBetaSolutionBackupRestoreSharePointRestoreSessionGranularSiteRestoreArtifact shows more than once in Microsoft.Graph.Beta.BackupRestore Cmdlets command group in module Microsoft.Graph.Beta.BackupRestore. Microsoft.Graph.Beta.BackupRestore.Get-MgBetaSolutionBackupRestoreSharePointRestoreSessionSiteRestoreArtifact shows more than once in Microsoft.Graph.Beta.BackupRestore Cmdlets command group in module Microsoft.Graph.Beta.BackupRestore. Microsoft.Graph.Beta.BackupRestore.Get-MgBetaSolutionBackupRestoreSharePointRestoreSessionSiteRestoreArtifactBulkAdditionRequest shows more than once in Microsoft.Graph.Beta.BackupRestore Cmdlets command group in module Microsoft.Graph.Beta.BackupRestore. Microsoft.Graph.Beta.BackupRestore.Get-MgBetaSolutionBackupRestoreSiteInclusionRule shows more than once in Microsoft.Graph.Beta.BackupRestore Cmdlets command group in module Microsoft.Graph.Beta.BackupRestore. Microsoft.Graph.Beta.BackupRestore.Get-MgBetaSolutionBackupRestoreSiteProtectionUnit shows more than once in Microsoft.Graph.Beta.BackupRestore Cmdlets command group in module Microsoft.Graph.Beta.BackupRestore. Microsoft.Graph.Beta.BackupRestore.Get-MgBetaSolutionBackupRestoreSiteProtectionUnitBulkAdditionJob shows more than once in Microsoft.Graph.Beta.BackupRestore Cmdlets command group in module Microsoft.Graph.Beta.BackupRestore.
For more details, please refer to the build report.
Note: Your PR may contain errors or warnings or suggestions unrelated to the files you changed. This happens when external dependencies like GitHub alias, Microsoft alias, cross repo links are updated. Please use these instructions to resolve them.
Guard GenerateMarkDown.ps1 so a module's docs are only deleted when the module is available to regenerate them. Skip-and-preserve per workload module, and abort if Authentication is unavailable, avoiding refresh PRs that delete thousands of docs after a failed module install. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> Copilot-Session: 4d27d82f-3809-40d2-b4e7-6623436ff2ef
EscapeDisallowedHtmlTags.ps1 and RemoveInvalidFullStops.ps1 hardcoded a personal git identity, so their stage commits in the weekly refresh PRs were attributed to an individual instead of the tooling bot. Align both with the other generation scripts. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> Copilot-Session: 4d27d82f-3809-40d2-b4e7-6623436ff2ef
PoliCheck Scan ReportThe following report lists PoliCheck issues in PR files. Before you merge the PR, you must fix all severity-1 and severity-2 issues. The AI Review Details column lists suggestions for either removing or replacing the terms. If you find a false positive result, mention it in a PR comment and include this text: #policheck-false-positive. This feedback helps reduce false positives in future scans. ✅ No issues foundMore information about PoliCheckInformation: PoliCheck | Severity Guidance | Term |
1 similar comment
PoliCheck Scan ReportThe following report lists PoliCheck issues in PR files. Before you merge the PR, you must fix all severity-1 and severity-2 issues. The AI Review Details column lists suggestions for either removing or replacing the terms. If you find a false positive result, mention it in a PR comment and include this text: #policheck-false-positive. This feedback helps reduce false positives in future scans. ✅ No issues foundMore information about PoliCheckInformation: PoliCheck | Severity Guidance | Term |
|
Learn Build status updates of commit 73a8c60: ✅ Validation status: passed
For more details, please refer to the build report. |
|
Learn Build status updates of commit 07657de: ✅ Validation status: passed
For more details, please refer to the build report. |
- UpdateLinks.ps1: only insert the beta/v1 '[!NOTE]' link when it is not already present, so weekly runs stop stacking duplicate note blocks. - GeneratePermissionsTable.ps1: skip files that already contain a '**Permissions**' table instead of prepending another copy each run. - GenerateMarkDown.ps1: write PlatyPS output as UTF-8 without BOM so every regenerated file no longer diffs on a leading BOM. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> Copilot-Session: 4d27d82f-3809-40d2-b4e7-6623436ff2ef
PoliCheck Scan ReportThe following report lists PoliCheck issues in PR files. Before you merge the PR, you must fix all severity-1 and severity-2 issues. The AI Review Details column lists suggestions for either removing or replacing the terms. If you find a false positive result, mention it in a PR comment and include this text: #policheck-false-positive. This feedback helps reduce false positives in future scans. ✅ No issues foundMore information about PoliCheckInformation: PoliCheck | Severity Guidance | Term |
Add '*.md text eol=lf' to .gitattributes so PlatyPS/transform scripts, which run on Windows and emit CRLF, no longer produce line-ending churn in the weekly refresh PRs. Index blobs are already LF, so this only pins the working-tree checkout and future writes to LF. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> Copilot-Session: 4d27d82f-3809-40d2-b4e7-6623436ff2ef
PoliCheck Scan ReportThe following report lists PoliCheck issues in PR files. Before you merge the PR, you must fix all severity-1 and severity-2 issues. The AI Review Details column lists suggestions for either removing or replacing the terms. If you find a false positive result, mention it in a PR comment and include this text: #policheck-false-positive. This feedback helps reduce false positives in future scans. ✅ No issues foundMore information about PoliCheckInformation: PoliCheck | Severity Guidance | Term |
|
Learn Build status updates of commit 29c4a42: ✅ Validation status: passed
For more details, please refer to the build report. |
|
Learn Build status updates of commit a94085a: ✅ Validation status: passed
For more details, please refer to the build report. |
…rphans Bulk-deleting a module's docs before regenerating meant any transient import failure (installed but unimportable module, e.g. Authentication version conflict) wiped docs that were never regenerated, producing refresh PRs with thousands of missing files. Now: verify the module truly imports and exposes commands before processing (skip-and-preserve otherwise), overwrite each doc in place, and remove only genuine orphans whose command is no longer in the metadata. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> Copilot-Session: 4d27d82f-3809-40d2-b4e7-6623436ff2ef
PoliCheck Scan ReportThe following report lists PoliCheck issues in PR files. Before you merge the PR, you must fix all severity-1 and severity-2 issues. The AI Review Details column lists suggestions for either removing or replacing the terms. If you find a false positive result, mention it in a PR comment and include this text: #policheck-false-positive. This feedback helps reduce false positives in future scans. ✅ No issues foundMore information about PoliCheckInformation: PoliCheck | Severity Guidance | Term |
|
Learn Build status updates of commit 19a3a1a: ✅ Validation status: passed
For more details, please refer to the build report. |
Revert changes made in #790 and #791
Keeps permissions table sorting change.