Skip to content

docs-mslearn: remove broken external links and add DocsLinks guardrails#2141

Merged
RolandKrummenacher merged 6 commits into
devfrom
MSBrett/fix-broken-external-uris
May 13, 2026
Merged

docs-mslearn: remove broken external links and add DocsLinks guardrails#2141
RolandKrummenacher merged 6 commits into
devfrom
MSBrett/fix-broken-external-uris

Conversation

@MSBrett
Copy link
Copy Markdown
Contributor

@MSBrett MSBrett commented May 12, 2026

Fixes #2139.

Replaces #2140, which could not be reopened because its original head branch was deleted.

Restores the same PR changes from inactive pull request ref #2140.

Includes:

  • Broken external URI fixes in docs-mslearn.
  • DocsLinks regression guardrails for known broken/incomplete external URLs.
  • Follow-up test fix so the guard assertions execute via foreach cases.

@microsoft-github-policy-service microsoft-github-policy-service Bot added the Needs: Review 👀 PR that is ready to be reviewed label May 12, 2026
@MSBrett MSBrett requested a review from Copilot May 12, 2026 17:12
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR cleans up broken external links in the docs-mslearn content set and adds Pester guardrails to prevent regressions by failing CI when known-bad external URLs or incomplete placeholder URLs reappear.

Changes:

  • Added DocsLinks test cases to detect specific known-broken external URLs and incomplete https://ccmstorageprod... placeholder URLs in docs-mslearn.
  • Replaced/removed broken external links in docs-mslearn (FinOps Foundation deep links, aka.ms schema link, and a managed disks product link).
  • Updated docs metadata dates and replaced the placeholder ccmstorageprod URL with the fully qualified blob URL where applicable.

Reviewed changes

Copilot reviewed 7 out of 7 changed files in this pull request and generated no comments.

Show a summary per file
File Description
src/powershell/Tests/Unit/DocsLinks.Tests.ps1 Adds regression guardrails (Pester -ForEach cases) to fail if known broken/incomplete external URLs appear in docs-mslearn.
docs-mslearn/toolkit/power-bi/setup.md Replaces the incomplete ccmstorageprod placeholder with the full blob URL and updates ms.date.
docs-mslearn/toolkit/hubs/deploy.md Replaces the incomplete ccmstorageprod placeholder with the full blob URL and updates ms.date.
docs-mslearn/toolkit/changelog.md Removes a known-broken aka.ms link reference and updates ms.date.
docs-mslearn/framework/quantify/benchmarking.md Replaces a broken FinOps Foundation deep link with a stable framework root link and updates ms.date.
docs-mslearn/framework/manage/onboarding.md Replaces a broken FinOps Foundation deep link with a stable framework root link and updates ms.date.
docs-mslearn/best-practices/storage.md Removes a broken managed disks product page link and updates ms.date.

@RolandKrummenacher RolandKrummenacher merged commit 3fbee93 into dev May 13, 2026
12 checks passed
@RolandKrummenacher RolandKrummenacher deleted the MSBrett/fix-broken-external-uris branch May 13, 2026 15:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Needs: Review 👀 PR that is ready to be reviewed

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Fix broken external URIs in docs-mslearn (flagged by partner-center-pr#12088)

4 participants