# Entra App Redirect URI Reviewer

> Reviews Entra app registration redirect URIs from az CLI JSON or a manifest: http URIs, wildcards, fragments, leftover localhost and tunnel hosts, duplicates, implicit grant settings and wide sign-in audiences. Offline and read-only.

Entra App Redirect URI Reviewer is a free AI agent skill on Agensi by Abdelrhman Fikri, in Security. It loads into your AI agent through the Agensi MCP server, always in its latest approved version.

- Price: Free
- Creator: [Abdelrhman Fikri](https://www.agensi.io/creators/abdelrhman-fikri)
- Category: [Security](https://www.agensi.io/skills/security)
- Version: 1.0.0
- Last updated: 2026-12-04
- Security: scan passed (2026-12-04); every new listing is also reviewed by a person
- Listing: https://www.agensi.io/skills/entra-app-redirect-uri-reviewer
- Tags: security, devops, entra, azure-ad, redirect-uri, app-registration, implicit-grant, oauth

## What it does

- Reads app registrations from az ad app output, a manifest or a value list
- Flags http, wildcard and fragment redirect URIs as blockers
- Warns about leftover localhost, tunnel and bare IP hosts on apps that also have real URIs
- Warns about duplicate URIs, custom schemes on web apps and out-of-band URIs
- Warns when implicit grant is on or the sign-in audience reaches beyond your tenant
- Notes shared-domain hosts so you can confirm the resource still exists

## Who it's for

- **Identity engineers:** A short list of risky redirect URIs for every app Try: "Review these app registrations for risky redirect URIs"
- **Security reviewers:** Evidence of http, wildcard and leftover test URIs Try: "Which of these apps still allow implicit grant?"

## About this skill

Every Entra app registration lists the places a sign-in may send people back to. Over time those lists collect mistakes: a plain http address, a wildcard, a test tunnel nobody removed, the same address on two platforms. Any of them can weaken sign-in, and they are hard to spot in the portal.

Save your app registrations with the az CLI (or paste a manifest) and ask your agent to run this skill. It reads the files on your machine, never contacts Azure, and returns a short list: blockers to fix first, warnings to review, and notes to confirm. Each line names the app, the platform and the address, without showing any secret.

It also checks whether implicit grant is turned on and who is allowed to sign in. Example files with expected results are included so you can see it work before you use your own data.

## Known limitations

- It reads exported JSON only; it cannot see consent grants, permissions, secrets, certificates or conditional access.
- It cannot tell whether a redirect host is still yours; shared-domain hosts are only noted.
- The expected shapes are the Graph application object and the older manifest; other exports may be missed.
- Redirect URI rules differ by platform and tenant settings; findings are advice, not a list of what Entra will reject.
- Reports and explains; it never edits an app registration.

## Technical details

A single standard-library Python script. It makes no network calls and never writes files. Give it files or directories; it reads .json.

Accepted input: az ad app list or show output (Graph shape with web, spa and publicClient redirectUris), a value list, or the older manifest shape (replyUrls, replyUrlsWithType, oauth2AllowImplicitFlow, availableToOtherTenants).

Each URI is checked for: http on a non-local host, a wildcard, a fragment, the out-of-band urn, a custom scheme on a web or spa platform, a bare IP host, a tunnel host (ngrok, localtunnel and similar), a local host (loopback on a public client is expected and skipped), a shared domain host (INFO), duplicates ignoring case and a trailing slash, and more than 20 URIs. App settings checked: implicit grant for access or ID tokens, and sign-in audience (any tenant, or personal accounts).

Exit codes: 0 no blockers, 1 blockers found, 2 bad arguments. Options: --format json, --hide-info.

## How to use this skill

1. Connect your AI agent to Agensi once: add the MCP server https://mcp.agensi.io/mcp/auth and sign in with your Agensi account (OAuth, no API key). Steps for Claude, ChatGPT, Claude Code, Codex, Cursor, VS Code and other agents: https://www.agensi.io/docs/mcp-setup
2. Ask your agent: "Use the Entra App Redirect URI Reviewer skill from Agensi" and describe your task.
3. Your agent loads the skill from Agensi when it needs it. Nothing is downloaded.

## Frequently asked questions

### Does it need Azure access?

No. It reads JSON files you save yourself.

### Does it print secrets?

No. App secrets are not read; findings show the app name, platform and redirect address.

### Does it check client secrets or certificates?

No. It only looks at redirect URIs, implicit grant and sign-in audience.

### Which Python?

Python 3.9 or newer, no packages to install.

### What does exit code 1 mean?

One or more BLOCKER findings. Warnings alone still exit 0.

---

Source: [Agensi](https://www.agensi.io), the marketplace of skills for AI agents. Any MCP-compatible agent (Claude, ChatGPT, Claude Code, Codex, Cursor, VS Code and more) connects at https://mcp.agensi.io/mcp/auth and signs in with an Agensi account; setup for every agent: https://www.agensi.io/docs/mcp-setup. Append .md to any skill, guide or docs address on agensi.io for its markdown version.
