Repository navigation
Document Entra ID security considerations from release review - #2111
Merged
Eric Erhardt (eerhardt) merged 4 commits intoNov 11, 2026
Merged
Conversation
Clarify tenant-wide consent risks, vault-wide certificate access, local developer certificate handling, redirect URI validation, and how to revoke grants and credentials that Aspire no longer manages. Co-authored-by: Copilot App <[email protected]> Copilot-Session: 68b00e03-418b-4839-88a1-d0ebfc318f60
Eric Erhardt (eerhardt)
requested a review
from David Pine (IEvangelist)
as a code owner
November 11, 2026 02:57
Contributor
There was a problem hiding this comment.
🟡 Changes recommended
The cleanup guidance uses the API’s service principal ID instead of the caller managed identity’s principal ID, which can leave the caller’s role grant intact and retain its authorization.
1 open issue
What changed in this PR
This documentation-only follow-up to #2086 adds security guidance for the Microsoft Entra ID hosting integration, addressing gaps identified during the engineering security review.
Changes:
- Clarifies tenant-wide consent risks and least-privilege deployment practices.
- Documents retained credentials and grants, manual cleanup, and vault-wide certificate access.
- Adds guidance for trusted redirect URIs and host parameters.
| File | Description |
|---|---|
src/frontend/src/content/docs/integrations/security/microsoft-entra-id/redirect-uris-and-sign-in.mdx |
Adds redirect URI safety and host-parameter guidance. |
src/frontend/src/content/docs/integrations/security/microsoft-entra-id/lifecycle-and-permissions.mdx |
Adds privilege guidance and commands for revoking retained access. |
src/frontend/src/content/docs/integrations/security/microsoft-entra-id/expose-and-call-apis.mdx |
Explains tenant-wide consent risks and privileged-change review practices. |
src/frontend/src/content/docs/integrations/security/microsoft-entra-id/client-credentials.mdx |
Clarifies developer certificate risks and recommends dedicated certificate vaults. |
Review effort: Balanced
Co-authored-by: Copilot App <[email protected]>
Eric Erhardt (eerhardt)
enabled auto-merge (squash)
November 11, 2026 03:08
Co-authored-by: Copilot App <[email protected]>
Co-authored-by: Copilot App <[email protected]>
Contributor
Frontend HTML artifact readyThe latest frontend build uploaded the This comment updates automatically when a new frontend build artifact is uploaded. |
1 task done
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.

Summary
Follow-up to #2086. These changes address the documentation gaps found in the Entra ID hosting integration security review and threat model (microsoft/aspire#21080). That review was an engineering review, not a formal security sign-off.
WithAdminConsent) (expose-and-call-apis.mdx,lifecycle-and-permissions.mdx): Explain that consent applies to the whole tenant without a prompt. Note that Graph application permissions reach deployed apps through managed identity federation. Recommend treating high-privilege permissions as admin access, reviewing consent changes in PRs, and deploying from CI with a least-privilege identity.lifecycle-and-permissions.mdx): Add a new "Revoke what remains" section with Azure CLI and Graph commands that delete grants, app role assignments, and certificate credentials.client-credentials.mdx): The tenant resource suffix is empty by default. If a run reaches a production registration, it replaces that registration's certificate credentials, and publishing doesn't remove the dev key. The local PFX isn't password protected and isn't cleaned up.client-credentials.mdx,lifecycle-and-permissions.mdx): Add a caution that the role covers every certificate in the vault, and recommend a dedicated vault.redirect-uris-and-sign-in.mdx): Aspire passes URIs through as they are, and Entra enforces its own restrictions. Recommend exact HTTPS URIs and restricting who can set host parameters.Third-party links and affiliations
None. The new links point to Microsoft Learn (
learn.microsoft.com/entra/identity-platform/reply-url) and the Microsoft Entra admin center.Validation
#revoke-what-remains,#role-assignments-for-certificate-access,#managed-identity-federation,#required-permissions) matches an existing heading.git diff --check: passed.prettier --checkon the changed files reported issues. It reports the same issues on the unmodified baseline files, so I didn't reformat them.