Triage and document solutions for EA enrollment scope 403 errors (Issue #1754)#1846
Triage and document solutions for EA enrollment scope 403 errors (Issue #1754)#1846
Conversation
MSBrett
left a comment
There was a problem hiding this comment.
Lets document this correctly. Keep it concise. Ensure we have links to the authorative docs.
Co-authored-by: MSBrett <24294904+MSBrett@users.noreply.github.com>
Add comprehensive troubleshooting documentation for HTTP 403 errors when assigning Enterprise Agreement enrollment reader permissions. Covers three main root causes: - Incorrect object ID (Application ID vs Service Principal ID) - Insufficient permissions (missing Enrollment Writer role) - Authentication context issues (PowerShell version, account context) Includes PowerShell examples, verification steps, and links to authoritative Microsoft documentation. Closes #1754
Document addition of Enterprise Agreement enrollment 403 errors troubleshooting guide in FinOps hubs v13 changelog. Related to #1754
Reverts the standalone troubleshooting doc and changelog entry in favor of adding the error to the existing common errors page. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Adds a concise entry to the existing errors.md page for the HTTP 403 error when using Add-FinOpsServicePrincipal. Links to authoritative Microsoft docs for EA role assignment and permissions. Closes #1754 Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
bcc930d to
9d55c11
Compare
Adds March 2026 release date and GitHub release/changelog links to v14 section, matching the format used in previous releases. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
|
@MSBrett This one's blocked on you |
There was a problem hiding this comment.
Pull request overview
Adds troubleshooting guidance to the FinOps toolkit documentation to help users resolve EA enrollment scope HTTP 403 errors encountered when granting enrollment reader permissions via Add-FinOpsServicePrincipal.
Changes:
- Added a new “403” troubleshooting section to the common errors page with mitigation steps and references.
- Updated the changelog (v14) to include the new troubleshooting guidance and adjusted the “latest” anchor placement.
Reviewed changes
Copilot reviewed 2 out of 2 changed files in this pull request and generated 3 comments.
| File | Description |
|---|---|
| docs-mslearn/toolkit/help/errors.md | Adds a dedicated 403 troubleshooting entry with mitigation steps for EA enrollment role assignment scenarios. |
| docs-mslearn/toolkit/changelog.md | Adds a v14 changelog bullet referencing the new 403 guidance and updates the latest-release anchor/section formatting. |
- Fix Add-FinOpsServicePrincipal link path (hubs→cost, capitalization) - Fix changelog link to errors.md (remove unnecessary ../) - Update PR description to reflect v14 changelog placement 🤖 Generated with [Claude Code](https://claude.ai/claude-code) Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
|
🤖 [AI][Claude Code] PR Update Summary Addressed: 3 thread(s)
Key changes:
All Copilot bot feedback has been addressed in commit 6ac0898. |
RolandKrummenacher
left a comment
There was a problem hiding this comment.
Docs look good -- content is clear, actionable, and links to authoritative sources. One suggestion inline.
| 2. Confirm your account has the **Enrollment writer** role in your Enterprise Agreement. See [Understand EA administrative roles](https://learn.microsoft.com/azure/cost-management-billing/manage/understand-ea-roles). | ||
| 3. Confirm the billing account ID matches your EA enrollment number exactly. | ||
| 4. If the error persists, try assigning the role directly through the [Billing Role Assignments REST API](https://learn.microsoft.com/rest/api/billing/2019-10-01-preview/role-assignments/put) using the **Try it** feature. | ||
|
|
There was a problem hiding this comment.
Consider adding a cross-reference to the existing Access to the resource is forbidden section below, since both cover 403 scenarios. A user landing on either section should know the other exists.
For example, adding a line at the end of this section:
If this is not an EA enrollment scenario, see Access to the resource is forbidden.
And similarly adding a note in the existing section pointing back here for EA-specific 403 errors.
Summary
This PR adds concise troubleshooting guidance for Issue #1754, where users experience HTTP 403 (Forbidden) errors when assigning Enterprise Agreement enrollment reader permissions using the
Add-FinOpsServicePrincipalPowerShell cmdlet.Issue Status: ✅ RESOLVED by user
Classification: User configuration/documentation issue (NOT a code bug)
Changes
Root Causes
The 403 error typically occurs due to:
Solutions Provided
The error page documents:
Closes #1754