Skip to content

Weekly PowerShell Microsoft Graph v1.0 Reference Docs Refresh - #813

Closed
microsoft-graph-devx-bot[bot] wants to merge 12 commits into
mainfrom
WeeklyReferenceDocsUpdate-v1_202607210952
Closed

Weekly PowerShell Microsoft Graph v1.0 Reference Docs Refresh#813
microsoft-graph-devx-bot[bot] wants to merge 12 commits into
mainfrom
WeeklyReferenceDocsUpdate-v1_202607210952

Conversation

@microsoft-graph-devx-bot

Copy link
Copy Markdown
Contributor

This pull request was automatically created by Azure Pipelines. Important Check for unexpected deletions or changes in this PR.

Microsoft Graph DevX Tooling and others added 12 commits July 15, 2026 14:39
Adds a -GraphProfileFilter parameter (v1.0/beta/both, default both) to the
generation scripts so each profile can be generated independently, and splits
powershell-docs.yml into two parallel stages (GenerateV1, GenerateBeta) via a
new reusable generate-docs-steps.yml template. Each stage generates a single
profile, commits to its own branch, and opens its own PR.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Copilot-Session: 672bde33-f50e-49f9-a53c-623f7445b1e9
The push URL in the weekly docs pipeline had been corrupted to a literal
'******github.com/...' (a masked log value pasted into source) since #802,
so 'git push' failed silently while the step still reported success because
'git status' ran last. The branch never reached GitHub, so 'gh pr create'
failed with 'No commits between main and <branch>'.

- generate-docs-steps.yml: fix push URL to https://x-access-token:$token@github.com/...,
  throw on non-zero 'git push' exit code, and detect real changes by comparing
  the branch tip to the recorded base commit (the generation scripts pre-commit
  their output, so the working tree is clean at push time).
- create-pr.yml: add a Condition parameter so PR creation is skipped cleanly
  when there are no changes instead of erroring.
- GenerateMarkDown.ps1: track generated file count and fail if generation
  produces zero files, so a silent generation failure surfaces immediately.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Copilot-Session: f3873c6c-209b-4bd2-b1a7-e96a27d4834a
The weekly docs pipeline failed at the 'Remove invalid fullstops' step
because RemoveInvalidFullStops.ps1 ends in 'git commit', which exits 1
when there is nothing to commit ('nothing to commit, working tree clean').
As the last command in the script, that exit code failed the step even
though nothing was wrong.

Apply the same 'commit only if staged changes exist' guard already used in
CorrectRelatedLinks-AllFiles.ps1, UpdateLinks.ps1 and MsSubserviceUpdate.ps1
to the remaining unguarded scripts so a no-op pass no longer fails the build.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Copilot-Session: f3873c6c-209b-4bd2-b1a7-e96a27d4834a
@learn-build-service-prod

Copy link
Copy Markdown
Contributor

PoliCheck Scan Report

The 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 found

More information about PoliCheck

Information: PoliCheck | Severity Guidance | Term
For any questions: Try searching the learn.microsoft.com contributor guides or post your question in the Learn support channel.

@learn-build-service-prod

Copy link
Copy Markdown
Contributor

Learn Build status updates of commit 1dc5eb6:

💡 Validation status: suggestions

File Status Preview URL Details
microsoftgraph/graph-powershell-1.0/Microsoft.Graph.Applications/Add-MgServicePrincipalTokenSigningCertificate.md 💡Suggestion View (graph-powershell-1.0) Details
microsoftgraph/graph-powershell-1.0/Microsoft.Graph.Applications/Confirm-MgApplicationMemberGroup.md 💡Suggestion View (graph-powershell-1.0) Details
microsoftgraph/graph-powershell-1.0/Microsoft.Graph.Applications/Confirm-MgApplicationMemberObject.md 💡Suggestion View (graph-powershell-1.0) Details
microsoftgraph/graph-powershell-1.0/Microsoft.Graph.Applications/Confirm-MgServicePrincipalMemberGroup.md 💡Suggestion View (graph-powershell-1.0) Details
microsoftgraph/graph-powershell-1.0/Microsoft.Graph.Applications/Confirm-MgServicePrincipalMemberObject.md 💡Suggestion View (graph-powershell-1.0) Details
microsoftgraph/graph-powershell-1.0/Microsoft.Graph.Applications/Get-MgApplicationById.md 💡Suggestion View (graph-powershell-1.0) Details
microsoftgraph/graph-powershell-1.0/Microsoft.Graph.Applications/Get-MgApplicationMemberGroup.md 💡Suggestion View (graph-powershell-1.0) Details
microsoftgraph/graph-powershell-1.0/Microsoft.Graph.Applications/Get-MgApplicationMemberObject.md 💡Suggestion View (graph-powershell-1.0) Details
azure-pipelines/common-templates/create-pr.yml ✅Succeeded
azure-pipelines/common-templates/generate-docs-steps.yml ✅Succeeded
azure-pipelines/powershell-docs.yml ✅Succeeded
microsoftgraph/graph-powershell-1.0/Microsoft.Graph.Applications/Add-MgApplicationKey.md ✅Succeeded View (graph-powershell-1.0)
microsoftgraph/graph-powershell-1.0/Microsoft.Graph.Applications/Add-MgApplicationPassword.md ✅Succeeded View (graph-powershell-1.0)
microsoftgraph/graph-powershell-1.0/Microsoft.Graph.Applications/Add-MgServicePrincipalKey.md ✅Succeeded View (graph-powershell-1.0)
microsoftgraph/graph-powershell-1.0/Microsoft.Graph.Applications/Add-MgServicePrincipalPassword.md ✅Succeeded View (graph-powershell-1.0)
microsoftgraph/graph-powershell-1.0/Microsoft.Graph.Applications/Clear-MgApplicationVerifiedPublisher.md ✅Succeeded View (graph-powershell-1.0)
microsoftgraph/graph-powershell-1.0/Microsoft.Graph.Applications/Find-MgApplicationSynchronizationJobSchemaDirectory.md ✅Succeeded View (graph-powershell-1.0)
microsoftgraph/graph-powershell-1.0/Microsoft.Graph.Applications/Find-MgApplicationSynchronizationTemplateSchemaDirectory.md ✅Succeeded View (graph-powershell-1.0)
microsoftgraph/graph-powershell-1.0/Microsoft.Graph.Applications/Find-MgServicePrincipalSynchronizationJobSchemaDirectory.md ✅Succeeded View (graph-powershell-1.0)
microsoftgraph/graph-powershell-1.0/Microsoft.Graph.Applications/Find-MgServicePrincipalSynchronizationTemplateSchemaDirectory.md ✅Succeeded View (graph-powershell-1.0)
microsoftgraph/graph-powershell-1.0/Microsoft.Graph.Applications/Get-MgApplication.md ✅Succeeded View (graph-powershell-1.0)
microsoftgraph/graph-powershell-1.0/Microsoft.Graph.Applications/Get-MgApplicationAppManagementPolicy.md ✅Succeeded View (graph-powershell-1.0)
microsoftgraph/graph-powershell-1.0/Microsoft.Graph.Applications/Get-MgApplicationAppManagementPolicyByRef.md ✅Succeeded View (graph-powershell-1.0)
microsoftgraph/graph-powershell-1.0/Microsoft.Graph.Applications/Get-MgApplicationAppManagementPolicyCount.md ✅Succeeded View (graph-powershell-1.0)
microsoftgraph/graph-powershell-1.0/Microsoft.Graph.Applications/Get-MgApplicationByAppId.md ✅Succeeded View (graph-powershell-1.0)

This comment lists only the first 25 files in the pull request.

microsoftgraph/graph-powershell-1.0/Microsoft.Graph.Applications/Add-MgServicePrincipalTokenSigningCertificate.md

  • Line 0, Column 0: [Suggestion: PSMD2Yaml_ContentMissing] Missing content in Microsoft.Graph.Applications.Add-MgServicePrincipalTokenSigningCertificate cmdlet. Parameters lacking description: DisplayName, EndDateTime

microsoftgraph/graph-powershell-1.0/Microsoft.Graph.Applications/Confirm-MgApplicationMemberGroup.md

  • Line 0, Column 0: [Suggestion: PSMD2Yaml_ContentMissing] Missing content in Microsoft.Graph.Applications.Confirm-MgApplicationMemberGroup cmdlet. Parameters lacking description: GroupIds

microsoftgraph/graph-powershell-1.0/Microsoft.Graph.Applications/Confirm-MgApplicationMemberObject.md

  • Line 0, Column 0: [Suggestion: PSMD2Yaml_ContentMissing] Missing content in Microsoft.Graph.Applications.Confirm-MgApplicationMemberObject cmdlet. Parameters lacking description: Ids

microsoftgraph/graph-powershell-1.0/Microsoft.Graph.Applications/Confirm-MgServicePrincipalMemberGroup.md

  • Line 0, Column 0: [Suggestion: PSMD2Yaml_ContentMissing] Missing content in Microsoft.Graph.Applications.Confirm-MgServicePrincipalMemberGroup cmdlet. Parameters lacking description: GroupIds

microsoftgraph/graph-powershell-1.0/Microsoft.Graph.Applications/Confirm-MgServicePrincipalMemberObject.md

  • Line 0, Column 0: [Suggestion: PSMD2Yaml_ContentMissing] Missing content in Microsoft.Graph.Applications.Confirm-MgServicePrincipalMemberObject cmdlet. Parameters lacking description: Ids

microsoftgraph/graph-powershell-1.0/Microsoft.Graph.Applications/Get-MgApplicationById.md

  • Line 0, Column 0: [Suggestion: PSMD2Yaml_ContentMissing] Missing content in Microsoft.Graph.Applications.Get-MgApplicationById cmdlet. Parameters lacking description: Ids, Types

microsoftgraph/graph-powershell-1.0/Microsoft.Graph.Applications/Get-MgApplicationMemberGroup.md

  • Line 0, Column 0: [Suggestion: PSMD2Yaml_ContentMissing] Missing content in Microsoft.Graph.Applications.Get-MgApplicationMemberGroup cmdlet. Parameters lacking description: SecurityEnabledOnly

microsoftgraph/graph-powershell-1.0/Microsoft.Graph.Applications/Get-MgApplicationMemberObject.md

  • Line 0, Column 0: [Suggestion: PSMD2Yaml_ContentMissing] Missing content in Microsoft.Graph.Applications.Get-MgApplicationMemberObject cmdlet. Parameters lacking description: SecurityEnabledOnly

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants