[New] Modernize Azure Monitor API authentication guidance (#5814)
* Freshness pass (batch 5): refresh 5 azure-monitor articles (ranks 22-26)
Retrievability + Doc-Kit fixes: corrected VM network alert table (was disk metrics), fixed register-app role-assignment tab parity + Entra naming + secure PowerShell credential, removed phantom portal reference + moot retention step in storage migration, column-heading + summary table in log-standard-columns, numbered steps in tutorial, ms.date + ai-usage. Ownership metadata untouched. Priority basis: May 2026 engagement.
* Bump ms.date to publish date for freshness batch 5
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
* Fix inbound anchors broken by log-standard-columns heading rename
The freshness pass suffixed the column headings with ' column', which
changed their anchors. Updates the 12 in-repo references across six
articles so the bookmarks resolve.
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
* Run code block optimizer v1.4 on register-app-for-token and migrate-to-storage-lifecycle
Normalizes both articles to the v1.4 catalog: H1 tab markers, canonical
tool labels and intros, bash/json/bicep fence labels, <PascalCase>
placeholders with # Set variables blocks, and abstracted API versions.
Substantive fixes:
- Replaces backtick line continuation with splatting in the PowerShell sample.
- Adds the missing -Scope to New-AzRoleAssignment, which silently defaulted
to the current subscription while the CLI tab scoped explicitly.
- Replaces a literal subscription GUID in the lifecycle policy request body
with a placeholder.
- Parameterizes the ARM template, which had a hardcoded storage account name
and apiVersion, and adds the required paired Bicep tab.
Stamps ms.custom with cbo-v1.4.
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
* Modernize Azure Monitor API authentication guidance
Reframes register-app-for-token from an app-registration-and-client-secret
walkthrough into a method-selection article that leads with managed identity
and workload identity federation, and delegates the portal procedures to the
Microsoft Entra ID articles that own them.
- Adds a decision table keyed on where the code runs, and a roles and token
audiences table covering the Query, Logs Ingestion, custom metrics, and
control plane APIs.
- Removes the portal app-registration walkthrough and its four screenshots,
which duplicated Microsoft Entra ID content.
- Switches the shared get-authentication-token include from the v1.0
/oauth2/token endpoint with resource= to the v2.0 endpoint with scope=,
reorders it to put CLI and SDK ahead of the raw token request, and fixes
the malformed placeholders. This include was flagged under Wave 4 ROPC
tracking.
- Drops the implicit grant flow from the access-api supported-flows list and
points to authorization code with PKCE instead.
- Uses --create-cert on az ad sp create-for-rbac so the sample models a
certificate credential rather than a client secret.
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
* Apply suggestions from code review
Co-authored-by: learn-build-service-prod-08[bot] <274430765+learn-build-service-prod-08[bot]@users.noreply.github.com>
Co-authored-by: Austin McCollum <15680430+austinmccollum@users.noreply.github.com>
* Add the token audience table to the REST API index and close the MI gap
Adds an Authentication and token audiences section to the REST API index,
which is the right home for a per-API reference table. It distinguishes the
endpoint from the token audience, which differ for Logs query: the endpoint
moved to api.loganalytics.azure.com while the audience stays
https://api.loganalytics.io.
- Corrects the auth article, which listed the Logs query endpoint as its
audience. Its table now carries roles only and links to the index.
- Renames that section to Roles to assign and repoints three in-article
anchors.
- Documents managed identity and workload identity federation as supported
credentials for the Logs Ingestion API, which customers have asked about
and which was previously only shown as app registration plus secret.
Keeps Monitoring Metrics Publisher as the DCR role, per the verified
finding on AB#575931 that the alternative role name came from a blog.
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
* Apply suggestions from code review
Co-authored-by: Austin McCollum <15680430+austinmccollum@users.noreply.github.com>
* Apply suggestions from code review
Co-authored-by: learn-build-service-prod-08[bot] <274430765+learn-build-service-prod-08[bot]@users.noreply.github.com>
Co-authored-by: Austin McCollum <15680430+austinmccollum@users.noreply.github.com>
* Apply review edits to the auth articles
- Removes 'you can' from the access-api lede, starting with the verb instead.
- Rewrites the Set up authentication lede, which still framed app
registration as the only route to a token.
- Notes that the app registration fallback can carry a certificate as well
as a secret, matching the certificate-first guidance further down.
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
* Remove 'you can' from the articles this PR touches
Applies the Microsoft Writing Style Guide guidance to edit out 'you can',
starting sentences with a verb instead. Rewrites the three 'you can't'
instances as limitation statements rather than forcing an imperative.
Every change is a 1:1 line replacement, so no content is added or removed.
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
* Apply batched suggestions from LAA
Co-authored-by: learn-build-service-prod-04[bot] <274428985+learn-build-service-prod-04[bot]@users.noreply.github.com>
Co-authored-by: Austin McCollum <15680430+austinmccollum@users.noreply.github.com>
* Fix two LAA side effects
Restores 'Endpoints can't be added to an existing DCR', which LAA rewrote
as 'You can't add endpoints', reintroducing the phrasing this PR removed.
Corrects the custom metrics admonition. LAA's rewrite made resource groups
and subscriptions the emitter, inverting the subject. The limitation is that
custom metrics can't target a resource group or subscription resource ID.
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
* Apply batched suggestions from code review
Co-authored-by: learn-build-service-prod-05[bot] <274429479+learn-build-service-prod-05[bot]@users.noreply.github.com>
* Fix link
* Apply batched suggestions from code review
Co-authored-by: learn-build-service-prod-09[bot] <274431102+learn-build-service-prod-09[bot]@users.noreply.github.com>
---------
Co-authored-by: austinmccollum <austinmc@microsoft.com>
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Austin McCollum <15680430+austinmccollum@users.noreply.github.com>
Co-authored-by: learn-build-service-prod-08[bot] <274430765+learn-build-service-prod-08[bot]@users.noreply.github.com>
Co-authored-by: learn-build-service-prod-04[bot] <274428985+learn-build-service-prod-04[bot]@users.noreply.github.com>
Co-authored-by: learn-build-service-prod-05[bot] <274429479+learn-build-service-prod-05[bot]@users.noreply.github.com>
Co-authored-by: learn-build-service-prod-09[bot] <274431102+learn-build-service-prod-09[bot]@users.noreply.github.com>