Skip to content

docs: Azure CLI commands for the Entra app registrations - #19

Merged
selic merged 1 commit into
mainfrom
docs/entra-az-cli
Jul 25, 2026
Merged

docs: Azure CLI commands for the Entra app registrations#19
selic merged 1 commit into
mainfrom
docs/entra-az-cli

Conversation

@selic

@selic selic commented Jul 25, 2026

Copy link
Copy Markdown
Member

Summary

The Entra guide walked through the portal only. This adds the Azure CLI equivalents, verified live while wiring a real deployment:

  • Step 1f — the whole confidential-app registration scripted: az ad app create with the /auth/callback redirect, one Graph PATCH setting api://<client-id>, the gateway.access scope and the groups claim, service principal, client secret (with a note to pipe it into platform config rather than echo it), plus env-var mapping and the optional Graph application permissions via id lookup.
  • Step 6 — the public User-Connect app: --is-fallback-public-client true (= "Allow public client flows"), delegated permission ids resolved by name (oauth2PermissionScopes[?value=='…']) instead of hardcoded GUIDs, admin consent.

Docs-only.

🤖 Generated with Claude Code

Step 1f scripts the whole confidential-app setup (register, api://
audience URI, gateway.access scope, groups claim, service principal,
client secret) via az + one Graph PATCH, with the env-var mapping and
a lookup-based recipe for the optional Graph application permissions.
Step 6 gains the public User-Connect app equivalent, resolving
delegated permission ids by name instead of hardcoded GUIDs.

Commands verified live against a real tenant while wiring
mcp.defency.net (2026-07-25).

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
@selic
selic merged commit 25f8ebe into main Jul 25, 2026
1 check passed
@selic
selic deleted the docs/entra-az-cli branch July 25, 2026 08:01
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.

1 participant