Grouper — What it is and how to use it
Grouper is an internal web application for managing Microsoft Entra ID (Azure AD) security groups, app registrations and machine credentials for a small set of first-party applications. It lets the people who build an application administer that application's sign-in and permissions themselves, without an Azure Portal role and without a ticket for every change.
Grouper runs as two instances. The writable one (urari) is reachable on the
internal network only: from outside the VPN its host does not resolve, and that
is the outermost protection layer of every change described below. The second one
(tokada) is public and read-only: it writes neither to the credential store
nor to Azure, and it serves the machine API under /api/v1, including
/api/v1/entra, to applications that run outside the VPN.
Who this page is for#
This page has three audiences, and the sections are labelled so you can skip the ones that are not yours.
| If you are… | Read | Skip |
|---|---|---|
| An application manager — you own an app in Grouper and decide who may do what in it | What Grouper solves, Core concepts, Everyday workflows, FAQ and troubleshooting | The machine API |
| A developer wiring sign-in into an application | Core concepts, Wiring SSO into your application, The machine API, Operations and security | Most of Everyday workflows |
| A Tool-Admin — you hold an Entra application-administrator role | All of it, especially Why Grouper instead of rolling your own auth and Operations and security | — |
Nothing on this page is a permission. Every statement about who may do what is enforced on the server; the interface merely reflects it.
What Grouper solves#
The problem. A first-party application needs three things that all live in Entra ID: an app registration (so people can sign in), security groups (so the application can tell a team lead from a read-only user), and a client secret (so the application can authenticate itself). Creating and maintaining those in the Azure Portal requires directory roles that developers do not have and should not have. The result is a ticket for every group, every member, every rotated secret — and a directory that drifts, because nobody who knows the application can touch it.
What Grouper is. A narrow, purpose-built surface over exactly those objects:
- It creates and maintains app registrations for managed applications.
- It creates and maintains the SSO rights groups belonging to each application, and their membership.
- It rotates client secrets and shows the value once.
- It inventories machine credentials (API keys, provider secrets) and watches their expiry.
- It serves a small machine API so an application can fetch its own configuration and verify its own tokens at runtime.
What Grouper deliberately is not.
- Not a user directory. It stores no users, no passwords, no password hashes, no sessions of its own beyond the transient sign-in state.
- Not a database. Grouper is stateless: Entra ID is the single source of
truth. What state exists beyond Azure lives in group-name prefixes, in Open
Extensions on the group objects, in the signed-in user's own Entra role
assignments, in a 1Password vault for credentials, and in one server-side
settings.json. - Not an authorization engine. It does not decide what a right means. It carries names and group memberships; your application interprets them.
- Not a general Azure administration console. It can only touch the objects it owns. See Why Grouper instead of rolling your own auth.
Core concepts#
Azure is the source of truth#
There is no Grouper database to get out of sync. Every list you see is read from Microsoft Graph at request time, and every change you make is a write to Graph. Two consequences you will feel:
- Deleting a group in Grouper deletes it in Entra, permanently.
- Graph is eventually consistent. A write is not always visible to the very next read. Grouper therefore updates the list in front of you immediately and reconciles against Graph in the background — see Operations and security.
The group-name grammar#
Every group Grouper manages lives in one namespace, and the separator is a pipe:
| Kind | Name | Meaning |
|---|---|---|
| Manager group | Grouper|<AppKey>|Manager | Membership in it makes you a manager of that application. |
| Rights group | Grouper|<AppKey>|<name> | An SSO right of that application. Its object id lands in your users' tokens. |
The AppKey is the short key of an application — ECTEAM, TOKADA CONCEPTS.
It may be almost any Azure-legal name: spaces, hyphens and mixed case are all
fine, up to 100 characters, with no leading or trailing whitespace. The single
forbidden character is the pipe itself.
Why the pipe matters, and why it is not cosmetic. The server-side
authorization boundary is a prefix comparison: you may write to a group whose
name starts with Grouper|<AppKey>| for an AppKey you manage. Under the older
hyphen-separated scheme Grouper-TOKADA- was a legitimate prefix of
Grouper-TOKADA-CONCEPTS-Users, so a manager of TOKADA could reach the groups
of TOKADA CONCEPTS — a real privilege leak. With the pipe reserved, the two
namespaces are provably disjoint. That is the whole reason the character is
banned inside an AppKey.
Manager is a reserved rights-group name (case-insensitive). A rights group
literally called Manager would collide with the manager group's name and hand
out manager privileges. The server rejects it at create and at rename time.
Rights-group names follow the same shape as AppKeys, with one addition: # is
forbidden too, because #MailEnabled is the suffix that marks a mail-enabled
mirror group (see Mail-enabled mirror groups).
Two roles, and only two#
| Role | How you get it | What it lets you do |
|---|---|---|
| App manager | Membership in Grouper|<AppKey>|Manager | Everything about your applications: rights groups, members, redirect URIs, client-secret rotation, the rights catalogue, API keys of that app (the client key: reveal and rotate only). |
| Tool-Admin | An active Entra directory role: Application Administrator or Cloud Application Administrator | Everything an app manager can do, for every app, plus: creating applications, renaming them, deciding who manages them, issuing privileged keys, and the global settings. |
Two details that cause real confusion:
- A PIM-eligible role is not an active role. If your admin role is eligible but not activated, Grouper sees a non-admin.
- Visibility equals membership. Grouper shows you exactly the applications whose manager group you belong to. If you see nothing, you are in no manager group — that is not a bug.
- Only the manager group Grouper created counts. A group you create yourself with the same name grants nothing — Grouper recognises its own manager group by its object, not by its name. Manager groups are also off-limits to the rights-group screens; who manages an app is changed by a Tool-Admin.
- A read-only instance admits only people it has something to show. On a
read-only Grouper instance (tokada), sign-in is refused unless you are a
Tool-Admin or a member of a manager group that Grouper itself created and
sealed; a group that merely carries a
Grouper|…name, and a rights group, grant no sign-in there. The check is repeated while you are signed in, so losing your last manager group ends the session. The sign-in page then names the writable instance to use instead.
What only a Tool-Admin can do for you#
This list is short on purpose, and everything on it is a deliberate boundary rather than an oversight:
- Create the application. Creating it also creates its Entra app registration, its service principal, and its manager group. You ask for one under App Requests; the Tool-Admin reviews and approves the request there, and the approval is what creates the app.
- Add you to
Grouper|<AppKey>|Manager. Who manages an application is not self-service — otherwise a manager could grant themselves peers. - Rename the application (its Entra display name).
- Issue (and delete) the client key for the machine API. The
clientrole is privileged: a key carrying it can read every published token hash of its app, which makes it a master key over that app's tokens. Only a Tool-Admin creates it, assigns the role, or deletes the key, and the server enforces that. Once it exists, you can reveal and rotate it yourself on the Application page (card API client key), so you can wire it into your deployment without waiting for anyone. Every reveal is logged with your name. If your application only needs to look up its users' rights, you do not need one: issue a Rights reader key yourself (see API keys and the rights on a key). - Switch Entra delivery on (it can already happen when the application is
created, see Getting an application created) and tick the
fetchableopt-in on an individual vault item.
If your application is not listed under Applications, none of the rest of this page applies to you yet. Ask a Tool-Admin. It is not a defect in your code.
Two kinds of application — and neither is a type#
An application in Grouper has two independent capabilities, and it can acquire either one at any point in its life:
| Capability | The app has it when… | It unlocks |
|---|---|---|
| Entra | an Entra app registration is recorded for it | SSO sign-in, redirect URIs, a client secret |
| API | it owns a client-role key | the machine API, consumer-key management, the rights catalogue |
The Rights tab appears as soon as the application owns a client key or
a rights-reader key. A Rights reader key alone does not make it an API app: the
API badge and the client-key panel still need a client key.
Neither is stored as a flag. Each is derived from whether the underlying object exists, so the two can never disagree with reality. An application created with no app registration ("keys-only") can be given one later; an Entra-backed application can be given its own machine API later.
One known limitation of a keys-only application: its display name cannot be changed after creation, because the rename path goes through the app registration. Retrofitting an app registration also restores the rename path.
Navigation#
| Entry | Who sees it | What is there |
|---|---|---|
| Applications | everyone signed in | Your applications, searchable by name or client ID. A Tool-Admin sees all of them and can filter by kind and creator and sort by name. The chevron beside the entry opens a switcher for jumping straight to any application you can see. |
| App Requests | Tool-Admins and App Requesters members (writable instance only) | Ask for a new application and follow your own requests. A Tool-Admin additionally gets the review list here, where requests are edited, approved (which creates the app) or rejected. On a phone, where the navigation is hidden, the Applications page links here. |
| API Keys | Tool-Admins | The global 1Password inventory across all apps, including orphaned items whose owning app is unknown. |
| Users | Tool-Admins | The user directory: per user, which applications and groups they are in, and where they are a manager. |
| Shared Items | Tool-Admins | Root-managed credentials usable across applications — created, revealed, rotated and deleted only here. A red counter on the entry shows how many access requests are waiting. |
| Admin | Tool-Admins | Grouper's own application (SYSTEM) — where the tool's own machine keys live. |
| Settings | Tool-Admins | Azure identity, 1Password vault, Jira connection, expiry lead time, scheduled tasks. |
Inside one application the tabs are Application · Groups · Rights · API Keys ·
n8n · Manager, plus Runs and Jira health on SYSTEM only. Tabs that
depend on a capability the app does not have are hidden; a hidden tab is never a
security boundary, because every page re-checks authorization on the server.
Everyday workflows#
All of these assume you are on the VPN, on the writable instance, signed in with your Entra account, and a member of the relevant manager group.
Getting an application created#
App Requests exists only on the writable Grouper instance; a read-only instance has no App Requests entry at all.
Who can request: Tool-Admins, and members of the security group
Grouper|SYSTEM|App Requesters. A Tool-Admin creates that group once under
Settings → App requests → Who can request and adds people to it on the
SYSTEM application's Groups page (Manage members). Grouper recognises
the group by its object ID, never by its name — a look-alike group grants
nothing, and renaming the real one changes nothing. Without the group, or if
you are not in it, there is no App Requests entry and the page does not
exist for you; ask a Tool-Admin to add you.
Open App Requests, give the application a name, answer whether people will sign in to it with their Microsoft account, describe what it is for, tick the shared items it should be able to read and the API providers it will call, and submit. You get a Jira issue key back at once, and the request appears under My requests on the same page. The Jira issue is assigned to the person a Tool-Admin chose under Settings → App requests → Assignee for new requests, or left unassigned if they chose Unassigned.
The sign-in question and the description are required:
- Microsoft sign-in — answer Yes, No or Not sure. Yes means the app
gets an Entra app registration so people can sign in with their work account
(single sign-on); you may then also name the redirect URIs — where
Microsoft sends users after sign-in — if you already know them. They must start
with
https://(http://only forlocalhost). No fits a service that is only ever called with an API key. Not sure is fine: the Tool-Admin decides when reviewing, and sees your answer either way. - What is it for? — at least 20 characters: who uses it, what for, and which data or systems it works with. The Tool-Admin decides from this text.
Shared items and providers stay optional. Each ticked shared item is approved on its own, and the app cannot read an item until it is approved, so tick only what the app really needs — fewer items make the review faster. Providers are the external APIs the app will call; a Tool-Admin sets up their keys separately afterwards. Once the app exists you are its manager: you add its members and manage its keys.
Three rules for the form: the free text is stored in a Jira issue that many people can read, so never put a password, key or other secret in it; you can have at most three open requests at a time; and on a read-only Grouper instance the form is locked and names the instance where requests are filed.
What happens next: a Tool-Admin opens the request in Grouper, adjusts it where needed (the final AppKey, the display name, whether an Entra app registration is created now, redirect URIs, the managers, the shared items and providers) and approves it. Your sign-in answer pre-sets the registration choice (Yes turns it on, with your redirect URIs), and the dialog shows your answer next to it, so the admin sees when they decide differently. Requests filed before the question existed show Not asked. Grouper then creates the application, grants the ticked shared items to it, records the providers in the issue (no key is created for them), and closes the Jira issue. You become a manager of the new application by default, unless the admin chose otherwise. Approving in Jira does nothing: moving the issue there changes no state in Azure, because the creation needs the admin's own signed-in session. If an approval fails, the issue moves to Waiting for Decision with the escalation contact as decision-maker. Once the decision is recorded in Jira (Decision Obtained), the admin fixes the cause and approves again in Grouper; steps that already succeeded are skipped. While the issue is still Waiting for Decision, approving again is refused. If only the final closing step in Jira fails, the issue stays in its implement status and approving again finishes the close without creating anything twice. A rejected request moves to Ignore in Jira and shows as Declined in Grouper.
The data block at the end of the issue description is sealed by Grouper. If someone edits it in Jira, the admin's dialog says so: the requester and managers are re-read from the directory, any "already created" note is ignored, and the admin has to save the request before approving it. If the requester named in the edited block is not the person who filed the issue, the dialog shows both identities and asks the admin to confirm them explicitly before saving.
Creating the application produces, in one operation:
- the Entra app registration — single tenant,
groupMembershipClaimsset toSecurityGroup, base permissionUser.Read, and deliberately no secret unless you opt in to the Entra configuration over the API (below); - the service principal (the enterprise application);
- the manager group
Grouper|<AppKey>|Manager, with the named managers in it; - Grouper itself as an owner of the app registration — this is what allows secret rotation to work for you later without an Entra role of your own.
For an application with an Entra registration, the create page offers
Provide the Entra configuration over the API, ticked by default; untick it to
opt out. When it is on, Grouper's last step creates a client secret in Azure and an
API client key for the application and stores both in the vault, so the application
can fetch its Entra configuration from POST https://grouper.tokada.io/api/v1/entra at start-up.
Neither value is displayed. Be aware that Grouper then holds a credential that acts
as the application, and that whoever holds the client key can fetch it; you reveal
the client key later on the API client key card. The secret lifetime is the
default from Settings. The option is not offered for an application without an
Entra registration, and it is blocked, with the reason shown, while 1Password is
not configured or the secret lifetime bounds are not set. An approved application
request never switches it on. If this step fails, the application still exists and
works; only the delivery is off, and you turn it on later under Entra Settings.
While the application is being created, a small panel next to Create application lists the steps as they happen — registration, owner, service principal, manager group, Azure replication, metadata, seal, managers and, if selected, serving the Entra configuration over the API — with a running timer. The longest step is usually Azure replication: Grouper waits up to a minute for the new manager group to become readable everywhere before it writes to it, and the panel shows how long it has waited and how often it has asked. The panel cannot be dismissed while the creation runs. Warnings (an owner or a manager that could not be added) do not stop the creation; the panel shows them and waits for you to continue. A failed delivery step is such a warning: the panel shows the reason and does not redirect on its own.
Creation is all-or-nothing: if a later step fails, everything the creation made is removed again, so a half-built application never occupies its AppKey. If that removal itself fails, the panel says so and offers no retry, because a second attempt would collide with what was left behind.
Such a leftover shows up in Applications as an Incomplete application. Opening it shows only that state and — once the group is at least five minutes old, is a plain security group of the kind Grouper creates, and holds nothing (no seal, no metadata, no members, no owners, no rights groups) — a Delete incomplete application action for a Tool-Admin. After that the AppKey is free again.
After being added to a manager group, sign out and back in. Group memberships only appear in a newly issued token.
Deleting an application#
A Tool-Admin deletes an application after typing its AppKey to confirm. The
deletion removes the application's keys in 1Password, its approvals and pending
requests on shared items, optionally its Entra app registration, its rights
groups, and last its manager group. The order is chosen so that a stop partway is
never worse than not having started: if the deletion fails, the application
stays in the list and running the deletion again completes it. When an earlier
attempt had already removed the registration, the result says its Entra
app-registration was not found in Entra; that is a normal outcome of a retry,
not an error. For an application younger than five minutes one "not found" is not
believed yet: the deletion stops with nothing changed in Azure (GRP-APP-0118),
and trying again after five minutes works. The same applies to an older application
that has only just received its registration.
Deleting is refused while any item in the vault cannot be read, because Grouper
will not delete an application whose keys it cannot account for (GRP-KEY-0311,
see the note under Shared items and the error reference).
While an application is being deleted, other changes to it (keys, approvals on
shared items, delivery) are refused (GRP-APP-0120).
Maintaining redirect URIs#
Applications → your app → Entra Settings. The card loads the redirect URIs currently registered in Entra; add or remove rows and click Save changes. There are deliberately no templates: every developer enters their own URIs.
- The URI must match the origin of your running application exactly —
scheme, host, port, path, trailing slash. A mismatch here is the single most
common sign-in failure (
AADSTS50011). - For
localhost, Entra permitshttp. - The display-name field appears only for Tool-Admins; renaming is on their list above.
Rotating the client secret#
Applications → your app → generate / rotate secret. There is exactly one operation, and it both creates and rotates.
- Lifetime: minimum 14 days, maximum 24 months (an Azure hard limit), default 12 months.
- The value is displayed exactly once, with copy-to-clipboard. Grouper never stores it, never logs it, never mails it, and cannot recover it.
- While that dialog holds the only copy, it will not let you leave: there is no
close cross,
Escapedoes nothing, and a click beside it does nothing. Use the button at the end — that is deliberate, because everything else on this page would discard a value nobody can get back. The dialog shakes when it refuses. - The exception is an application that serves its Entra config over the API: a secret Grouper stores for that delivery is never shown, so there is nothing to copy. The application fetches it itself. The API client key that belongs to the delivery is stored as well and can be revealed on the Application page (card API client key); every reveal is logged with your name. If Grouper cannot write the new secret to the vault, it shows the value once and holds you for it, as above.
- Put it into your application's own configuration — never into Git.
- Lost it? Do not search for it. Rotate again. The previous secret keeps working until you invalidate it from the list, so switch over first, then remove it.
The application list shows the secret's expiry date and turns it red once it enters the lead-time window (configurable in Settings, default 7 days) or has expired. A daily scheduled scan also files a Jira task ahead of expiry, so you do not have to watch the column.
Creating rights groups#
Applications → your app → Groups.
You type only the <name> part; Grouper supplies the prefix. The result is
Grouper|<AppKey>|<name> — for example Grouper|ECTEAM|Teamlead. The greyed-out
prefix in the dialog is display only; the name stored in Entra contains it in
full.
Renaming and deleting happen here too. Deleting removes the group from Entra permanently, and every user who held a right through it loses it at their next token refresh.
Assigning rights to groups#
Applications → your app → Groups → Edit → Rights. The tab appears when the application has an API (a client key) and the group is an ordinary rights group. Tick the catalogue rights the group's members should hold, then Save.
- Members receive the ticked rights including members of nested groups: a security group nested in the rights group passes the rights on to its members, down to five levels.
- Rights are not in the sign-in token. Your application asks Grouper for a
user's rights over the machine API, usually once per sign-in:
GET /api/v1/users/{oid}/rights(see The machine API). - A change to a group's rights made in Grouper applies from the application's next request; a member added or removed in Grouper applies within about a minute. A membership change made directly in Entra can take up to about 15 minutes.
- The manager group carries no catalogue rights: managing an application is not a right inside it.
- A name that left the catalogue stays listed as removed, grants nothing, and is dropped the next time you save the group.
- A group that has a user owner in Entra cannot carry rights: an owner could add members behind Grouper's back. Saving rights on it is refused; remove the owners in Entra first.
If a group's rights were not written by Grouper (for example, edited directly in Entra), they grant nothing. The Rights tab lists them under "Rights not set by Grouper". Tick the rights the group should have and save; Grouper then writes a signed list and drops the rest.
Closing the dialog with unsaved ticks asks before it throws them away.
Managing members — users and groups#
Open a group and use the People / Groups switch in its Members tab:
- People searches all users in the tenant.
- Groups finds security groups in the tenant, mail-enabled ones
included, and this application's own rights groups. Distribution lists,
Microsoft 365 groups, other applications'
Grouper|…groups, manager groups and Exchange mirrors never appear and cannot be nested.
Nesting a security group inside a rights group gives every member of that group
the right — putting All-Sales-EMEA into Grouper|ECTEAM|Teamlead instead of
maintaining forty individual users. The icon at the start of each row tells you
which kind of member it is.
Nesting this application's groups. A rights group of the same application
can be nested too: put Grouper|mcp-hub|Bilder Admin into
Grouper|mcp-hub|Bilder, and its members get the rights of both groups. Such a
row shows the short name with the application's key next to it. Nesting works
at any depth up to 5 levels below a Grouper group; Grouper refuses an add that
would go deeper, would create a loop, would nest a group into itself, or would
nest a Grouper group that has user owners in Entra (each with its own code,
below). The check runs on the server, whatever the screen offers.
Nesting into a group that has an Exchange mirror does not extend mailbox access: the mirror carries the group's direct users only, so the nested group's members are not passed on to it.
Nesting applies to rights groups only. The manager group takes individual users, added by a Tool-Admin. Otherwise a nested group could quietly turn whole departments into application managers.
Maintaining the rights catalogue#
Applications → your app → Rights. A right is a name your application defines and interprets; Grouper only carries it. The catalogue belongs to the application's developers, not to the Tool-Admins, so managers maintain it themselves.
- Format: lowercase
area.action, e.g.markitdown.convert. The dot is mandatory, so a bare word is never a right. - Maximum 64 characters per name, maximum 64 entries per application. The limit is not taste: the catalogue lives in a single Open Extension that holds roughly 2 KB in practice, and Graph does not fail gracefully beyond that.
- Reading is tolerant, writing is strict. A malformed name is refused when you save it; an existing right that no longer parses is quietly ignored on read, so that editing the catalogue can never invalidate tokens that are already in flight.
Rights carried on a key are checked against this catalogue when the key is written, never when it is read. That asymmetry is deliberate: a rename must not retroactively devalue a live token in the middle of a request.
The Groups column shows how many rights groups carry each right; the badge opens the group names. Renaming and deleting a right cascade into the groups:
- A rename rewrites the keys first, then every group that carries the name, then the catalogue. Grouper reports how many keys and groups it retagged, and a partial result is never reported as success.
- A delete removes the name from every group first, then from the catalogue. It is never refused because groups still carry the name, only when the groups cannot be read at all.
- A group that could not be rewritten keeps the old name, shown as removed. It grants nothing: the machine API only ever reports names that are in the catalogue.
API keys and the rights on a key#
Applications → your app → API Keys lists the credentials inventoried for your application in 1Password. Grouper does not issue third-party keys — it is an inventory plus an expiry watchdog, and normally you paste the value the provider gave you. But for providers where you choose the secret (an MS-SQL login, for example), the create and rotate dialogs offer a Generate button: Grouper mints a strong 32-character password (letters, digits and symbols) straight into the vault. You still have to set that value at the provider yourself — until you do, only the vault knows it — and Reveal is how you collect it. A Tool-Admin additionally sees the global inventory under API Keys, including orphans whose owning application cannot be determined.
Each vault item can carry any combination of the first three roles, which are independent because they describe independent facts. The fourth, Rights reader, must stand alone:
| Role | What it grants | Who may set it |
|---|---|---|
client | May call the machine API at all. Its appKey becomes the scope of every answer. | Tool-Admin only (managers reveal and rotate it, see below) |
published | Its hash is delivered in the token list, and it is exactly the set the validate endpoint answers from. | App manager |
fetchable | Its plaintext — together with the item's stored username and all of its custom fields — may be fetched through the secrets endpoint. Store no unrelated secrets in a fetchable item's custom fields. | Tool-Admin only, per item |
rights-reader (Rights reader) | May call exactly two routes for its own app: GET /api/v1/rights and GET /api/v1/users/{oid}/rights. Every other route answers 403 forbidden_client. | App manager — you issue it yourself |
Manager self-service for rights lookups. If your application needs to ask Grouper which rights a user holds, you do not need a Tool-Admin: open API Keys, choose New consumer key (or New Rights reader key when the app has no API client key yet), and keep Rights reader ticked. Issue one key per component that calls Grouper. A Rights reader key is always one Grouper issues, it must be the key's only role (a caller credential is never published or fetched by another app), it carries no catalogue rights, and it is chosen when the key is created — an existing key cannot be switched to it, so create a new one. The IP allowlist and the key's expiry apply to it exactly as to a client key. It cannot read token hashes, secrets, the Entra configuration or mailbox access.
Your application's client key. The app's own client key appears on the
Application page as API client key. App managers can reveal it (to
store it as a deployment secret, for example a Railway variable or a Kubernetes
Secret, never in the repository) and rotate it; only a Tool-Admin creates or
deletes it. On the API Keys tab the same row shows only Reveal and Rotate to a
manager. A key linked to an n8n credential is rotated and deleted on the app's n8n page; its row on API Keys offers Reveal and a link to the application's n8n page while n8n is connected.
Every reveal and every rotation is logged with your name. A key that
calls Grouper (the client key and every Rights reader key) always gets a value
Grouper generates, when it is created and when it is rotated: the dialogs offer
Generate value only, and a pasted value is refused. Because the key can fetch every item its app may fetch, that includes
shared items a Tool-Admin has approved for the app. When a manager leaves
the application, rotate the client key: a value they revealed keeps working
until you do. A Tool-Admin who removes a manager gets a reminder with a link to
the card. That reminder only covers removals on the Manager tab: rotate just
the same when someone loses access outside Grouper, for example removed from
the manager group in Entra, dropped from a group nested in it, or their account
disabled. Grouper does not notice those changes for you.
An item with no role is invisible to the API entirely. That is the safe default, and it is why the same application can have Grouper store a provider secret without it ever appearing in any list.
To restrict a fetchable secret to specific consumer keys, create a right in the application's Rights tab and tick it on both the secret item and the intended consumer key: a fetchable item with rights ticked is then delivered only to a client key sharing at least one of them, while an item without rights stays fetchable by every client key of the application.
A fourth role, entra, exists and is machine-managed: it marks the one item
holding an application's own Azure client secret. Nobody can set it by hand,
because it is not a permission to grant but a claim about where a value came
from.
The 32-character minimum length applies to publishing only (an unsalted hash of a short value would be reversible): a shorter stored secret is excluded from the token list but stays fetchable through the secrets endpoint like any other opted-in item.
Every item needs either an expiry date or a "check again by" date, so the expiry scan has something to watch. Revealing a value writes an audit line that records who revealed what and when — never the value.
One freshness rule is worth knowing: every change made through Grouper shows up immediately, but an edit made directly in 1Password, past Grouper, can take up to 15 minutes to appear — the inventory is served from a short-lived cache that protects the shared vault quota, and only Grouper's own writes can invalidate it instantly.
Which vault all of this lives in is chosen under Settings on the 1Password
tab: a Tool-Admin picks one of the service account's vaults from a list, and
Grouper stores that vault's ID (the name is shown for recognition only). While
no vault is selected, Grouper falls back to resolving a vault by name,
Grouper by default. Switching vaults drops every 1Password cache, so the next
listing reads the newly selected vault live.
Restricting API access by network#
An API key that leaves the company with its holder should be worthless outside
the networks your application really calls from. The card API access from
at the top of Applications → your app → API Keys holds that list: the
networks this application's Grouper API keys may be used from. A request with a
valid key from any other network gets 403 ip_not_allowed, before expiry,
role or anything else is looked at.
Who edits it. Tool-Admins and the application's managers both open Edit, change the rows and press Save (or Ctrl+Enter / Cmd+Enter in a row; a plain Enter only moves to the next row, so a stray keystroke cannot cut an application off). Escape or a click outside asks before throwing away a changed draft; Cancel discards at once. On the read-only production instance the card is shown, but editing is not.
What a manager's change costs. A change that adds networks — widening the list, including emptying it — takes effect at once and is marked for review: the card then says that a Tool-Admin has not confirmed the change yet, and Tool-Admins see a counter on Applications and the filter Unconfirmed IP changes on the overview. The Tool-Admin opens Review and either Confirms the list or Reverts it to the last confirmed list, which refuses the added networks immediately. A change that only narrows the list needs no review. A Tool-Admin's own save counts as confirmed, and it also confirms whatever a manager had changed before.
The rules of the list.
- Empty means no restriction — the default for every application, and how you remove a restriction again. Tool-Admins find these applications with the overview filter No IP restriction.
- At most 6 entries. Each is an IPv4 or IPv6 address or a CIDR range
(
203.0.113.7,203.0.113.0/24,2001:db8::/48). Grouper stores the network address, so10.1.2.3/8is saved as10.0.0.0/8, and a duplicate is saved once. /0is refused in both families: a list that allows every address would look restricted and would not be. Empty the list instead.- A range wider than
/16(IPv4) or/32(IPv6) is allowed but shows a warning — check that you meant it. - Private networks are always allowed and cannot be entered:
10.0.0.0/8,172.16.0.0/12,192.168.0.0/16,127.0.0.0/8,169.254.0.0/16,fc00::/7,fe80::/10and::1. Requests from the VPN and from applications running on the Grouper host itself arrive with such an address — a co-hosted application shows up as the host's internal gateway, and an entry for it would let in every container on that host. The list is therefore about the public internet. The price, stated plainly: anyone who can already run a container on the Grouper host, and every VPN user, is trusted by every allowlist.
When a change applies. On the instance where you saved it, immediately. The
other production instance picks it up within 60 seconds. If the list cannot
be read for more than 15 minutes, the API answers 503 for that application
instead of guessing.
What it protects, and what it does not. Only Grouper's own API — every
/api/v1 route called with this application's Grouper API key. It does not
restrict the application's Entra client secret or its sign-in: those are used
directly against Microsoft, never through Grouper. End-user tokens checked
through the validate endpoint are not affected either, because the calling key
already passed the check.
When a manager leaves. A manager can widen a list right up to their last day. Before the account is removed, have a Tool-Admin settle the open reviews of that person's applications (Confirm or Revert), and rotate those applications' API keys — the old values then fail everywhere, whatever the list says. The client key matters most: every manager can reveal it, so a removed manager may hold a copy. Any remaining manager or a Tool-Admin can rotate it on the Application page.
Token and sign-in settings#
Every application with an Entra registration has a Token & sign-in card on its Application tab. Managers see it read-only; only a Tool-Admin can edit it, and only on the writable instance (elsewhere the card says where to go).
- Claims. Per token (ID and access) you choose the optional claims
acct(member0or guest1),emailandupn.preferred_usernameand thegroupsclaim are shown but not changed here. Every new application created through Grouper starts withacctin the ID token. - CLI / agent access. Switching it on gives the registration an identifier
URI
api://<client id>, a delegated scopeaccess_as_user, v2 access tokens and public client flows, so a command-line tool or agent can sign in as the user with the device-code flow and requestapi://<client id>/access_as_user. The access token'saudis the app's client ID (a GUID, notapi://…), so your backend validatesaud,iss,tidandscp=access_as_user. Public client flows also allow password (ROPC) sign-in for the app; the confirmation step says so before anything changes. If the app already exposes other enabled scopes, Grouper leaves its access token version as it is and tells you so; otherwise the confirmation step names the switch to v2 tokens. Switching it off disables the scope and the public client flows and keeps the identifier URI. Depending on the tenant's consent settings, an administrator may need to grant consent once. The first sign-in may show a consent page unless an administrator has granted consent for the app; MFA is asked in the browser, not in the console.
Changes apply to tokens issued afterwards, so signed-in users get them at their next sign-in. If Grouper is not an owner of the registration, the card says so and nothing can be changed until an Entra administrator adds Grouper's service principal as an owner. If only part of a change went through, the edit window lists what was and was not applied; saving again sends only what is missing.
Shared items — one credential, many applications#
Some provider credentials are not owned by one application: a read-only
database login, a company-wide SaaS token. Storing a copy per app means every
rotation is a hunt. A shared item stores it once, at the root level, under
the reserved scope SHARED.
How the pieces fit:
- Tool-Admins manage shared items on the Shared Items page — create,
edit, reveal, rotate, delete, and decide which applications may use each
item. Application managers cannot; the item does not belong to any app.
Create and edit carry the full metadata set of a provider key — client ID,
environments, rotation URL and custom fields; only API roles and rights are
fixed to the shared shape. Every row offers its actions inline, including a
direct link to the provider's rotation page once a rotation URL is set. A
rotation URL must be an
https://link (a bare host such asstripe.comis saved ashttps://stripe.com); anything else is refused. - Access is approved per application, by a Tool-Admin. An app's developers can request access to a shared item from the Shared items section of their app's key page; the request waits as pending until an admin approves or rejects it on the Shared Items page, and an admin can also grant or revoke access directly there. Open requests are counted on the Shared Items navigation entry. A pending request grants nothing. Once an application is approved, every API client key of that app can fetch the item.
- The consumer fetches it like any other secret, via
GET /api/v1/secrets/{name}with the shared item's API name. The response'sappKeyis the caller's own app, notSHARED— from the consumer's point of view nothing about the fetch changes. An app without approval — pending or not — gets the same 404 as for a name that does not exist. If the app also owns a local secret under the same name, the local one wins. - An existing key can be converted. A Tool-Admin can turn an app's fetchable provider secret into a shared item from the app's key list; the app it came from is approved automatically, so its consumers keep fetching without interruption. Afterwards the item is managed on the Shared Items page only.
- Deleting a shared item is not blocked by approvals — the delete dialog lists the approved applications first, and after deletion those consumers get a 404. It is blocked while n8n credentials still take their value from the item (see the next section): the confirm button stays inert and the dialog names how many credentials in which applications to detach first.
- Deleting an application also removes its approvals and pending requests on every shared item, so an application created later under the same name does not inherit them.
- One unreadable vault item pauses the actions that must see everything.
While 1Password cannot read an item, Grouper refuses deleting an application,
renaming a right, deleting a shared item or withdrawing its approval, and
deleting, rotating or editing a key linked to n8n (
GRP-KEY-0311). Repair or delete the unreadable item in 1Password, then repeat the action.
A shared item as the source of n8n credentials#
An n8n credential can take one of its fields from a shared item instead of storing its own copy: the Tool-Admin rotates the shared item once, and Grouper deploys the new value to every linked credential. The linked field is then not stored in the application's vault entry; the other fields stay the credential's own.
- Linking happens on the n8n tab, by an application manager, and only
for an item that is approved for the application and only where changes are
allowed (not on a read-only instance). Either choose From a shared item
while adopting an unmanaged credential, or use the link button on a managed
row: pick the shared item and the field it supplies. The dialog says before
you confirm that the field's stored value leaves the vault entry and that the
item's current value is deployed to n8n. A linked row shows
field from itemunder its name and an In sync or Out of date badge (out of date means the item was rotated and this credential has not received it yet). If no shared item is approved for the application, the dialog says so and points to the keys page, where access is requested. - Rotating the source is a Tool-Admin step on the Shared Items page. When credentials use the item, the rotate dialog lists them first and reminds you to keep the old token valid at the provider until every credential shows Deployed. The rotation then updates the item and deploys the new value to each credential one after another; this can take a while, with no fixed upper limit, and the dialog stays open. A partial failure does not undo the rotation. Rotate through Grouper: if the value of a shared item is changed directly in 1Password, its rotation does not change, so linked credentials keep reading In sync on the old value.
- The result opens as a list with one line per credential: Deployed, Failed (with the error code and incident id on the line) or Skipped with the reason (the application is no longer approved, n8n is disconnected or incomplete, the credential belongs to a previous n8n server, its link is inconsistent) or Not attempted when the time limit was reached. If anything is not deployed, the dialog says not to revoke the old token yet.
- Deploy pending. The n8n count on a shared item's row opens the list of credentials using it. For credentials that are out of date, Deploy to N out of date (and Deploy again in a result) delivers the stored value without a new rotation. Credentials of an application whose n8n is disconnected are listed but never counted there: nothing can be delivered to them.
- Detaching is done by the manager in the rotate dialog of a linked credential: the credential gets its own value for the field again, and an expiry or review date becomes required. Keep linked undoes the choice before saving.
- Blocked delete and revoke. While credentials use a shared item, deleting
it, or revoking access for an application that owns such credentials, is
refused (
GRP-SHARE-1206). This includes leftovers of an application whose n8n was disconnected: the link remains until the credential is detached or deleted. For such an application there is no detach control; rotating the credential's key on that application's keys page releases the link. - If a request does not answer (a proxy timeout, a dropped connection), the dialog says the outcome is unknown and re-reads the list. The shared item may already be rotated: check the result in the list before trying again.
Mail-enabled mirror groups#
Microsoft's ApplicationAccessPolicy accepts only mail-enabled security
groups as a scope — an object class Graph can read but neither create nor
populate. Grouper closes that gap by keeping a one-way mirror of a rights group
in Exchange Online.
Open a group's Mail mirror tab and switch the mirror on. Two things to understand before you do:
- The opt-in is immediate; the Exchange object is not. The nightly sync builds it. Until then the status line says so, and the row indicator on the groups list can lag the opt-in by up to a night. That is not a display bug — before the run there genuinely is no mirror.
- The mirror is machine-owned. Its membership is overwritten on every sync, so editing it by hand in the Exchange admin centre is silently reverted at the next run. Every mirror carries a description saying exactly that.
- Only a mirror Grouper recorded itself is written. The sync skips a group
whose recorded mirror was not written by Grouper, or whose mirror another group
also claims, and an adopted mirror must be named in the
Grouper|namespace. A Tool-Admin resolves such a case with the seal audit.
The row indicator answers existence, never health: a failed sync is not visible on the row.
Managing n8n credentials#
An application can be connected to an n8n (opens in a new tab) instance, so that the instance's workflow credentials are created, rotated and deleted through Grouper instead of by hand in the n8n UI. The authoritative value always lives in the 1Password vault; n8n is purely a deploy target — its API never returns credential values, so there is no way back and no sync conflict, only the question of whether the vault value has been deployed.
Connecting is a Tool-Admin step, done on the Application tab: base URL
plus an instance API key, entered once and never shown again. Grouper verifies
the connection first — an instance whose public API cannot update credentials is
refused (GRP-N8N-1005) and nothing is stored. After connecting, the n8n
tab appears; disconnecting (also Tool-Admin, on that tab) removes the stored key
and base URL but deletes nothing in n8n, and managed credentials keep their
vault linkage for a later reconnect.
The n8n tab compares the vault against the instance live and sorts every credential into one of three states:
- Managed — vault item and instance credential are linked. App managers can create new credentials (name, type, values, expiry), rotate values (deployed to n8n first, recorded in the vault only after the deploy succeeds; the credential id stays stable, so workflows are untouched — and like a client secret, the old value stops working immediately), reveal the stored values (audited, like every reveal), and delete — which removes the credential in n8n and archives the vault item. Deleting breaks every workflow that references the credential on its next run; the dialog says so before you confirm.
- Unmanaged — the credential exists only in n8n. Adopt it by re-typing its values: they are deployed to the instance first, which is the proof they are right, then stored in the vault. Or mark it ignored to record that it stays unmanaged on purpose.
- Undeployed — the vault item points at a credential the instance no longer has. V1 offers no re-provisioning; the row is the record of what disappeared.
Credential forms follow the type's schema. A field with a fixed set of values is a choice, not a text box: the first entry (n8n default, or Keep current when rotating) sends nothing for that field. Some types show a field only while another field has a certain value, or require it only then; such a field appears directly under the field that controls it, and a value typed into it is not sent while it is hidden. If Grouper cannot read a type's schema, the form falls back to plain optional text fields and n8n itself has the final say.
The list is sorted by name (the Name header toggles the direction) and can be filtered: by state, by credential type, by free text, by workflow tag, and by whether a referencing workflow is published or unpublished. The free-text field matches the credential's name and type plus the name and folder name of every workflow referencing it — typing a workflow name surfaces the credentials it uses (until usage has loaded, it matches the credential fields only). The tag and published-state filters keep a credential when at least one workflow referencing it matches, and they unlock once usage has loaded. They never shorten the workflow list under a credential; the Published only toggle does: it shows only published workflows there and states how many unpublished workflows it hid, while Used by still counts all of them. It never hides a credential. A Used by column loads in the background and counts the workflows referencing each credential — the workflows themselves appear as indented rows directly beneath (published ones first, alphabetical within each group), each prefixed with its folder name when it sits in one and linking into the n8n editor. Published workflows are green, unpublished ones red and marked. Each workflow row also shows its tags and the nodes the credential sits in: enabled nodes green, disabled ones red, and a node with a known id links straight to that node inside the n8n editor. Archived workflows are excluded, so an archived copy never counts as usage. Workflows that reference a credential by name instead of id (older exports do) are counted too, as long as exactly one credential matches that name and type. Usage is auxiliary data: if it cannot be loaded — or the instance's workflow listing does not expose node data at all — the column says "unknown" and everything else keeps working, and on very large instances only the first 1,000 workflows are counted. When usage is known, the delete dialog names the affected workflows instead of the generic warning.
Instance data is cached for 30 minutes: the header shows the time the data was fetched ("Data as of"), and its refresh button pulls a fresh snapshot from n8n on demand. Every change made through Grouper refreshes the cache by itself — the button is for changes made directly in n8n.
Credentials Grouper manages carry the mark " (by Grouper)" at the end of their name in n8n, so people working in n8n know not to edit them there. The vault title shown in Grouper stays as you typed it. New credentials get the mark when they are created (the name may be at most 115 characters, so the mark always fits n8n's 128). When an existing credential is adopted, linked to a shared item, or rotated, Grouper adds the mark in the same request that delivers the value; if n8n refuses the name, the value is delivered without it and the credential stays unmarked. Deliveries from a shared item's rotation never rename anything. Credentials that were managed before, or whose mark was removed in n8n, are listed in a row under the instance header: Mark K credentials in n8n renames them in one click, changing nothing but the name. Names that would pass 128 characters with the mark are left as they are, and removing the mark by hand in n8n is allowed. Workflows that reference a credential by its old name keep counting as users of it.
The credential types managers may create are governed by a Tool-Admin
allowlist under Settings → n8n. While that list is empty — the shipped
state — the four standard HTTP auth types (httpHeaderAuth, httpBasicAuth,
httpBearerAuth, httpCustomAuth) and jiraSoftwareCloudApi (email, API token,
domain) are active, so credentials can be created
without any Settings visit. A maintained list replaces the defaults entirely:
an admin can restrict below them or extend beyond them. OAuth types are
excluded by design: their tokens live in n8n's own consent flow, so Grouper
could never hold the authoritative value.
One governance rule makes the whole model work: credential values change only through Grouper. A value edited directly in the n8n UI drifts silently — n8n never reports values back, so no tool can detect the difference.
The same rule is enforced on the Keys page. A key that is deployed to an n8n
credential can never be converted to a shared item or moved to another
application, and while the application's n8n connection is active it cannot be
rotated or deleted there either — the vault would change and n8n would keep the
old value (error GRP-N8N-1010). Its row offers Reveal, the provider's rotation
link and a link to the n8n tab, which updates the instance and the vault
together. When n8n has been disconnected from the application, the leftover
items can be rotated, edited and deleted from the Keys page again. Rotating only some fields of a
multi-field credential (for example just the apiToken of a Jira credential)
keeps the other stored fields.
Looking up a user in the directory#
The Users page (Tool-Admins only) answers the reverse question the per-app Groups tabs cannot: this person — which applications are they in, through which groups, and where are they a manager? Only users with at least one Grouper membership appear; there is no full tenant listing.
Each row expands to show, per application, the rights groups behind the membership. A group annotated via <group> is a transitive membership: the user is a member of that nested security group, which is itself a member of the rights group. To sever the path, remove the named nested group from the rights group — the user is not a direct member you could remove. Where the user is a manager, the app badge carries a shield and the expanded row a Manager badge.
The directory is a snapshot cached for up to 15 minutes — the header shows when it was built ("Data as of") and its refresh button forces a fresh one. Changes made through Grouper (members, managers, groups, applications) refresh it by themselves. Mail-enabled mirror groups are excluded: their members are a copy of the source group's, so listing them would only duplicate every line.
The directory is honest about holes: when some groups could not be read, a banner names them and warns that memberships may be incomplete. When a fresh build fails entirely, the page keeps showing the last loaded state under its original timestamp rather than pretending to be current.
Wiring SSO into your application#
This section is for the developer integrating sign-in. It assumes the
application was created through Grouper, so its registration already carries
groupMembershipClaims: "SecurityGroup".
What actually arrives in the token#
The ID and access tokens of a signed-in user carry a groups claim, and it
is a list of object ids (GUIDs) — not names. Cloud-only groups do not deliver
names in the claim at all.
{
"aud": "<your client id>",
"oid": "…",
"groups": ["6f2a1e4c-…", "b91c77aa-…"]
}Asking Grouper for a user's rights#
If your application defines a rights catalogue, the simplest integration does
not map GUIDs at all. Assign catalogue rights to your rights groups in Grouper
(Groups → Edit → Rights), and at sign-in ask Grouper which rights the user
holds, with your client key and the user's oid claim:
// At sign-in, server side. Cache the answer for the session.
const res = await fetch(
`${process.env.GROUPER_BASE_URL}/api/v1/users/${claims.oid}/rights`,
{ headers: { Authorization: `Bearer ${process.env.GROUPER_API_KEY}` } },
);
if (res.status === 503) {
// Grouper cannot vouch for the membership right now: deny, then retry later.
throw new Error('rights unavailable');
}
const { rights } = (await res.json()) as { rights: string[] };
session.rights = rights; // e.g. ['docs.read', 'docs.write']Nested groups are already resolved, an unknown user answers 200 with an empty
list, and a 503 directory_unavailable means fail closed: never treat it as
"no rights" for good, and never as "all rights".
The answer also carries accountEnabled: true for an enabled member of
your application, false for a disabled account (and then both lists are
empty), and null when the user has no membership in your application. A
deleted user and an unknown one look exactly like a non-member, on purpose.
Mapping a GUID to a right#
Without a catalogue, map the groups claim yourself. Every group row in Grouper
shows its object id with a copy button. The simplest integration is a static map
in your application's configuration:
// config: GUID (copied from Grouper) -> right in your application
const ROLE_BY_GROUP_ID = {
'6f2a1e4c-....': 'teamlead',
'b91c77aa-....': 'readonly',
} as const;
export function rolesFromToken(claims: { groups?: string[] }): string[] {
return (claims.groups ?? [])
.map((id) => ROLE_BY_GROUP_ID[id as keyof typeof ROLE_BY_GROUP_ID])
.filter(Boolean);
}If you have many groups and do not want a deploy per group, load the groups once
through Graph instead and cache a GUID-to-name map: filter on
startswith(displayName,'Grouper|<AppKey>|'), sent with ConsistencyLevel: eventual and $count=true.
Five rules you must not skip#
- Always filter to your own groups. The
groupsclaim contains every security group the user belongs to, not only yours. Check against your known GUIDs, or against theGrouper|<AppKey>|prefix. "The user is in some group, therefore let them in" is a vulnerability, not a shortcut. - Authorize on the server. The claim decides in your backend, never in the browser. Anything the browser can compute, the browser can change.
- Nested groups need no extra code. A user who qualifies through a nested group receives the GUID of the rights group in the claim. Your code sees exactly what it would see for a direct member.
- A membership change takes effect with the next token. After an add or a remove, the user must sign in again or refresh their token. Grouper shows the change instantly; your application sees it later. This is the single most frequent "the permission did not apply" report, and it is working as designed.
- Handle the overage case if you want robustness. Above roughly 150 groups
Entra replaces the list with a Graph link (
_claim_names/_claim_sources). With a handful of application groups this is practically irrelevant, but it is the one shape your parser can meet and not recognise.
App standard for SSO consumers#
The applications behind Grouper follow one standard for sessions, because a token alone cannot tell you that access was taken away:
- A session lasts at most 24 hours. After that the user signs in again, and everything below is evaluated from scratch.
- Re-check the rights every 15 minutes with
GET /api/v1/users/{oid}/rights. End the session when the answer hasaccountEnabledother thantrue, or when the rights your app needs are gone. If the call times out or fails (5xx,429), refuse new sign-ins and keep a running session's previous rights only until the next check; if that check fails too, end the session. Never retry401or403: that is a wrong key, not an outage. A blocked account loses access within about 30 minutes this way (up to 15 minutes until Grouper sees the block, plus up to 15 until your next check). If Grouper itself is down in exactly that window, it is at most about 45 minutes. - Key accounts on
oidtogether withtid. Never onemailorupn: both can change and can later belong to someone else. - Groups overage. If the token carries
_claim_names/hasgroupsinstead of agroupslist, do not guess: ask/api/v1/users/{oid}/rights. acct = 1means a guest. Treat guests deliberately;acctis in the ID token of every application created through Grouper, and a Tool-Admin can add it to older ones on the Token & sign-in card.
Emergency access without a personal owner. Grouper's registrations have no personal owner on purpose: an owner who leaves the company would keep control of the app. If Grouper itself is unavailable, an Entra administrator with the Application Administrator or Cloud Application Administrator role can change any registration in the Entra admin center. That is the emergency path.
The machine API#
Grouper serves a small API under /api/v1 so an application can fetch its own
configuration and verify its own tokens at runtime, instead of carrying them in
its environment. This section is an orientation; the authoritative,
machine-readable contract is served, unauthenticated, at:
https://grouper.tokada.io/api/v1/docsPoint your agent or your integration at that URL rather than at a copy. It needs no API key and no login, because a coding agent sitting in a foreign repository has to be able to read how credentials work before anybody has handed it one. On the writable instance that fetch has to happen from the VPN; the public, read-only instance serves the same contract without one.
Prove the key works before writing any code#
export GROUPER_BASE_URL=https://grouper.tokada.io
export GROUPER_API_KEY=<the key you were given>
curl -sS -w '\n%{http_code}\n' \
-H "Authorization: Bearer $GROUPER_API_KEY" \
"$GROUPER_BASE_URL/api/v1/rights"200 and you are done. A 401 or a 403 means the key has to be re-issued — by
a Tool-Admin for a client key, by an app manager for a Rights reader key. There
is nothing in your code to work around, and code written against an unverified
key is untested code shipped as if it were tested.
Read the error.code, not only the status: 403 forbidden_client means the key
is real but its role may not call that endpoint — a key without the client role,
or a Rights reader key on anything but the two rights routes — while
403 token_expired means it is real and expired or revoked. A 503 does not
implicate the key at all.
Endpoints#
| Endpoint | What it does |
|---|---|
GET /api/v1/tokens | Hands you the hash list of every token your app publishes, so you can verify end-user tokens offline. |
POST /api/v1/validate | Answers, online, whether one end-user token is valid right now and which rights it carries. |
GET /api/v1/secrets/{name} | Hands you the plaintext of one provider secret your app has explicitly opted in for. |
GET /api/v1/rights | Hands you your app's own rights catalogue, and how many published tokens carry each name. A Rights reader key may call it. |
GET /api/v1/users/{oid}/rights | Answers which catalogue rights one user holds in your app through its rights groups, nested groups included. Call it at sign-in. A Rights reader key may call it. |
POST /api/v1/entra | Hands you your own app's Entra configuration — tenant id, client id, client secret and, if you ask, the redirect URIs registered for the origin you were reached under. |
GET /api/v1/docs | Serves the full contract as Markdown, unauthenticated and cacheable. |
POST /api/v1/mailbox-access/check | Answers whether a user holds FullAccess on a shared Exchange Online mailbox — a single boolean, fail-closed, never an enumeration channel. |
POST /api/v1/mailbox-access/grant | Grants that access, scoped by a scopeGroup name belonging to your own application. |
Four properties of the whole surface are worth internalising:
- Scope is structural, not a parameter. Grouper hashes your bearer token,
finds the vault item it belongs to, and takes that item's
appKeyas the scope of the entire answer. No request field widens it, which is why cross-app access is impossible rather than forbidden. Another app's token simply answersvalid: false, reason: "unknown", and another app's secret name answers404, byte-identically to values that never existed — anti-oracle measures, not accidents. - This is not a browser API. No route sends CORS headers, every response
carries
Cache-Control: private, no-store, max-age=0, must-revalidate, and every body is credential-tier material. Call it from your server. /api/v1/entrais aPOST. AGETanswers405withAllow: POST. The body carries a selector (the origin), and a selector must not end up in a proxy access log, aReferer, or a cache key.- The docs route is the one exception to all of the above — it hands out no
credential, needs no
Authorizationheader, and is the one route answeringCache-Control: public.
Errors, caching and rate limits#
Every failure on every route has the same body shape:
{ "error": { "code": "invalid_request", "message": "The request body is invalid." } }Switch on code, never parse message. The message is fixed text for a
human reading a log, and a caller-supplied value is never echoed into it. The
codes deliberately withhold detail in several places — a 401 reads identically
for a missing header and a wrong one, and a 400 on a body never says what was
wrong with it, because that body carries a live credential. A token whose value
is stored on the caller keys of two applications is rejected like an unknown
token, because it cannot be attributed to one application.
The rule that matters most in production:
| Status | What to do |
|---|---|
429, 503 | Retry with backoff, respect Retry-After, keep serving from your cache. Never invalidate credentials or mark a user's token bad. |
401, 403 | Stop. Your own key is wrong or expired. Reload configuration and escalate; do not retry in a loop. |
400, 404, 405, 409 | Your request is wrong. Fix it; retrying is pointless. |
500 | Retry cautiously, then escalate. |
One 403 deserves its own sentence: ip_not_allowed means your key is fine
and your network is not on your application's IP allowlist (see "Restricting
API access by network"). Retrying or rotating the key changes nothing; report
it, and a manager of the application or a Tool-Admin changes the list.
The failure this prevents: a Grouper outage causes your client to record "this user's token is invalid", and that rejection outlives the outage because you cached it. You cannot take a rejection back.
Rate limits are per token bucket, keyed on your client key's vault item rather
than on your IP, and each endpoint has its own bucket so a busy afternoon of
validation traffic cannot starve the list refresh that keeps revocations timely.
The shipped defaults are 60/minute for the token list and for rights, 600/minute
for validate and for a user's rights (each in its own bucket), and 10/minute
burst-free for secrets and for the Entra route. Two
caveats the contract states explicitly: the numbers are operator-configurable, so
Retry-After is authoritative and the table is not; and the limiter is
in-process per container, so with several replicas the effective limit multiplies.
Only Retry-After is returned. There are no X-RateLimit-* headers on any
route — do not write code that reads them.
Why Grouper instead of rolling your own auth#
This section is the argument, and it is deliberately written as mechanics rather than benefits. Every claim below names the specific thing that makes it true, and the last two subsections say what Grouper does not do for you.
You store no user records, so you cannot leak them#
An application wired to Entra through Grouper holds no user table, no password hashes, no password-reset tokens and no e-mail-verification state. It holds a client id, a client secret, and a set of group GUIDs. The entire class of incidents that begins with "our user table was exfiltrated" has no target, because the credential material lives in the identity provider and Grouper itself is stateless — it maintains no database at all.
You inherit MFA, Conditional Access and device compliance instead of rebuilding them#
Multi-factor enrolment, risk-based sign-in, "only from a compliant device", "not from this country", session lifetime, revocation on employment change — these are policies your tenant already runs, and a Grouper-created registration is a normal single-tenant registration inside that tenant, so they apply to your application on the day it is created. There is no code in your repository that has to implement, test or update any of them. Compare that with what a self-built login would owe you before it is even at parity.
Joiner–mover–leaver is solved where it is actually solved#
When somebody leaves, HR-driven offboarding disables the account in the
directory, and every application that trusts the directory loses them. If instead
your application maintains its own accounts, the leaver stays until someone
remembers to remove them from your application specifically. Grouper does not
add a second population of accounts to remember: rights are expressed as
memberships of directory groups, and nesting an existing organisational group
(All-Sales-EMEA) inside a rights group means the department's own lifecycle
moves your permissions for free.
One audit trail, in the place auditors already look#
Group membership changes, app-registration changes and role assignments land in
the Entra audit log, and they land there whether the change was made in Grouper
or in the portal — because Grouper does not shadow those objects, it writes them.
There is no second history to reconcile. The credential exits Grouper does
own are recorded on top of that: every reveal of a stored secret, whether through
the interface or through GET /api/v1/secrets/{name}, emits the same structured
event into one queryable stream, recording who, which app and which item — never
the value.
A deliberately narrow service identity#
Grouper's own App-Only identity holds exactly four application permissions:
Group.ReadWrite.AllUser.Read.AllApplication.ReadWrite.OwnedByRoleManagement.Read.Directory
And, more importantly, three permissions it deliberately does not hold:
- no
Application.ReadWrite.All— as a service it can only touch app registrations it owns, which is why Grouper is added as an owner at creation time; - no
RoleManagement.ReadWrite.Directory— it can read who holds a directory role, so it can recognise a Tool-Admin, and it can never grant one; - no
Directory.ReadWrite.All— there is no blanket write over the tenant.
One nuance stated honestly rather than glossed over: the delegated scope set
does include Application.ReadWrite.All, used when a signed-in Tool-Admin
creates or renames an app registration. A delegated scope grants nothing the
signed-in person does not already hold — Azure's own role check remains the
boundary and the tool escalates nothing. The application permission, which would
apply with no human attached, is the one that must never be granted.
Secrets have a single, one-way exit#
A rotated client secret is displayed once and is never written to a log, a
database or an e-mail; Grouper cannot recover it, only replace it. Inside the
credential inventory the same discipline is structural rather than promised:
exactly one function returns a plaintext, the raw vault item never leaves its
module, and the reveal dialog holds the value in transient local state that is
dropped on close. On the machine side, the secrets endpoint deliberately has
no ETag — an ETag over a plaintext is a stable fingerprint of the
credential, readable at every TLS-terminating hop, and would become a rotation
oracle. Since 2026-08-30 the delivered value comes from a 15-minute cache held
in Grouper's process memory only (never disk, never a log line): a rotation
done in Grouper is visible to consumers immediately, an edit made directly in
1Password after at most 15 minutes. A consumer whose credential was just
rejected by the provider can append ?refresh=1 to force a live vault read
— throttled to one forced read per item per minute, and when the forced read
returns an unchanged value, Grouper files a Jira task asking an admin to check
the credential itself, because re-fetching cannot fix it.
Every boundary is enforced on the server#
Three guards run before any write: the admin-role check, the app-membership check, and the prefix check that a group name lies inside a namespace you manage. Hidden menu entries and missing tabs are cosmetics, not boundaries — every page re-checks on the server, and a non-member who guesses a URL gets nothing. The default everywhere is fail-closed. This is worth contrasting with the usual home-grown outcome, where the check that matters is the one in the component that renders the button.
What you still own#
Grouper removes a category of work. It does not remove these:
- Network reachability. The writable instance is VPN-only, and the internal network is a real part of the protection model for every change. The public instance is read-only and answers the machine API to anyone holding a key. Keeping that split is an operations task, not something the tool enforces about itself.
- Tenant hygiene. Conditional Access policies, MFA enrolment coverage, who holds an application-administrator role, and whether those roles are PIM-gated are decisions in your tenant. Grouper inherits your posture; it cannot improve a bad one.
- Your GUID-to-right mapping and its enforcement. Grouper carries names and
memberships. What
teamleadmay do in your application is your code, on your server, and the rules in Wiring SSO into your application — especially "filter to your own groups" — are yours to get right. - Token refresh behaviour. Your session lifetime decides how long a removed permission keeps working. Grouper cannot revoke a token it never issued.
- Your own operational alarms. If you consume the machine API, watch for a
sustained
stale: trueand for the snapshot age climbing on/api/health. Those are alarms on your side. - The secret in your configuration. Grouper hands it over once; storing it, keeping it out of Git, and rotating on schedule are yours.
When Grouper is the wrong tool#
Say so early rather than bending the model:
- External or customer identities. Grouper manages security groups in your corporate tenant, and every subject it can name is an account in that directory. Customer sign-up, self-registration, social login and B2C flows are a different product — Entra External ID or an equivalent — and modelling customers as tenant users to fit Grouper is a mistake that is very hard to reverse.
- Applications not backed by this Entra tenant. If sign-in comes from
another identity provider, there are no group GUIDs for Grouper to hand you,
and the machine API's scoping — which reads an
appKeyoff a vault item — has nothing to attach to. - Per-record or per-tenant authorization. "May Alice edit this document" is not a group membership. Group claims are coarse and arrive in a token whose size has an actual limit (the overage case above starts at roughly 150 groups). If your permission model multiplies with your data, you need an authorization layer in your application, and Grouper should carry only the coarse roles that feed it.
- Sub-second permission changes. Rights take effect with the next token. If your requirement is immediate revocation, you need an online check — the validate endpoint for machine tokens, or your own session invalidation for users — not a group membership.
Operations and security#
The network is part of the model#
The writable instance is internal and VPN-only. This is stated as a protection layer and not as an inconvenience: the prefix restriction, the role checks and the membership checks all live in application code, and the network keeps the surface those checks run on out of reach of the public internet.
The public instance is the deliberate exception, and it is narrow: it is
read-only (no write to the credential store, no write to Azure), and what it
offers the internet is the machine API under /api/v1, which answers only to a
valid API key and, where configured, only from allowed networks.
The public instance is read-only: a banner says so at the top of every page, and
every change is refused there with GRP-VLOCK-1302. Make changes on the writable
instance. Two deliberate exceptions: reporting an error to Jira works on both
instances, and POST /api/v1/mailbox-access/grant is served on both, because a
consuming application outside the VPN can only reach the public instance. That
grant is bounded: it only adds members to the caller's own scope group, after
proving the mailbox access first.
Authorization is server-side, always#
Restating the point because it decides how you should read the interface: a hidden menu item, an absent tab and a disabled button are presentation. The server re-checks the admin role, the manager membership and the group-name prefix on every write, and refuses by default.
Error codes and incident IDs#
Every error surfaced in the interface carries two things: a stable code of
the form GRP-<AREA>-<NNNN> (for example GRP-APP-0104) and a six-character
incident ID (for example 7K2F9A).
- The code groups similar failures — it is per area and cause, so support can recognise a class of problem across many reports.
- The incident ID connects exactly one message on your screen to exactly one line in the server log. It is minted on the server only, and it is derived from nothing — it is not a hash of the message, because an ID you can reproduce would be an oracle for server-side text.
When you report a problem, quote both. They are the only things that make the server-side line findable. Grouper also offers a report dialog that files the report as a Jira task with the code and ID attached. Codes are append-only and are never recycled, so the history stays trustworthy.
Grouper's own failure and audit lines are also sent to an internal observability collector, so an incident ID stays findable after the service has been deployed again — and the personal identifiers in those lines, the signed-in user and the caller's IP address, are pseudonymised before they leave the server.
If you ever see the fallback code GRP-UI-0000, the failure did not travel
through the normal path — mention that too.
Every code is listed with its cause and its instruction under Error code reference. In the interface the code itself is a link straight to its entry.
Eventual consistency, and what Grouper does about it#
Microsoft Graph is eventually consistent: a list request issued immediately after a write frequently returns the state from before the write. Grouper therefore applies your change to the view in front of you immediately and reconciles in the background against Graph, preferring a strongly consistent read-by-id for an item you just created or edited.
For you this means: the interface is right and Graph may lag. If a just-created group does not appear in some other tool for a few seconds, nothing went wrong. It also means the mail-mirror indicator, which depends on an Exchange object built by a nightly run, can legitimately disagree with the switch you flipped this morning.
Readiness, not liveness#
GET /api/health is a readiness probe, not a liveness probe. A 503 with
reason: "snapshot_unavailable" usually means a new instance is warming up while
the running one still serves traffic. It is a signal not to switch over yet —
not an outage, and not a reason to page anyone.
FAQ and troubleshooting#
| Symptom | Cause and fix |
|---|---|
| I do not see my application under Applications. | You are not a member of Grouper|<AppKey>|Manager. Ask a Tool-Admin, then sign out and back in — a membership only appears in a newly issued token. |
| A user does not see their new permission. | Their token predates the change. Sign out and in, or refresh the token. Grouper shows the change instantly; your application sees it at the next token. |
AADSTS50011: redirect URI mismatch | The URI in Grouper does not match your origin exactly. Compare scheme, host, port, path and trailing slash character by character. |
The groups claim is missing entirely. | The application was not created through Grouper and lacks groupMembershipClaims. A Tool-Admin has to fix the registration. |
The group name Manager is rejected. | It is reserved — it would collide with the manager group and grant manager privileges. Choose another name. |
A name containing | or # is rejected. | The pipe is the grammar's separator, and # marks a mail-enabled mirror. Both are structural, not stylistic. |
| I lost the client secret. | Do not search for it. Rotate. Grouper stores it nowhere, and rotation invalidates the old value immediately. |
My API calls return 403 forbidden_client. | Your key's role may not call that endpoint. Either it carries no caller role — most often because somebody handed you an end-user token from the published list; only a Tool-Admin can issue a client key — or it is a Rights reader key, which reaches only /api/v1/rights and /api/v1/users/{oid}/rights. |
My API calls suddenly return 401 on a deployment that worked. | The key was rotated; there is no overlap window. Get the new value. It is read at runtime, so no rebuild is needed. |
404 entra_not_configured. | Not an authentication problem. Your key is fine; Entra delivery is not switched on for the app. A Tool-Admin does that on the app's Application tab. |
503 not_configured from /api/v1/entra. | Grouper could not verify which Entra registration belongs to your application, so it serves none. Retry with backoff and tell a Tool-Admin; it clears once they re-verify the application binding. |
| A user lost rights that a group in Entra seems to grant. | Rights count only when Grouper wrote them. Open the group's Rights tab in Grouper; values listed under "Rights not set by Grouper" grant nothing until a manager saves them. |
404 redirect_uri_not_registered. | Also not an authentication problem. When you report it, quote the origin your code computed — Grouper never logs it, so your log is the only place it exists. |
| The contract URL does not resolve. | You are off the VPN and used the writable instance's host. Connect to the VPN, or use the public read-only instance, which serves the same /api/v1 contract. |
| The mail-mirror indicator has not appeared. | The mirror is built by the nightly run. Until then the opt-in is real and the Exchange object is not — the dialog says exactly that. |
| An application shows as Incomplete application. | A creation failed and could not clean up after itself. A Tool-Admin opens it and deletes it there; then the AppKey can be used again. |
| A Tool-Admin says they are not admin. | Their directory role is PIM-eligible but not activated. Grouper needs the role active. |
Reference#
Grammar cheat sheet#
| Thing | Shape | Notes |
|---|---|---|
| Manager group | Grouper|<AppKey>|Manager | Membership makes you a manager of the app. |
| Rights group | Grouper|<AppKey>|<name> | Its object id appears in your users' groups claim. |
| App-scoped prefix | Grouper|<AppKey>| | The server-side write boundary. |
| AppKey | any Azure-legal name, 1–100 chars | No |, no leading or trailing whitespace. Spaces, hyphens, mixed case and umlauts are fine. |
| Rights-group name | any Azure-legal name, 1–100 chars | No |, no #, no edge whitespace. Manager is reserved. |
| Right | area.action, lowercase | Dot mandatory, ≤ 64 chars, ≤ 64 per app. |
| Mail mirror | <source>#MailEnabled | Machine-owned; membership overwritten on every sync. |
| Client key | 64 lowercase hex characters | No prefix on the bearer token itself. |
| Token hash / list version | sha256:<64 lowercase hex> | Appears on hashes and ETags, never on the bearer token. |
| Error code | GRP-<AREA>-<NNNN> | Append-only, never recycled. |
| Incident ID | 6 characters | Server-minted, quote it in every report. |
Glossary#
- AppKey — the short key of an application; the middle segment of every managed group name.
- App manager — a member of
Grouper|<AppKey>|Manager; administers that one application. - Tool-Admin — a holder of an active Entra Application Administrator or Cloud Application Administrator role; administers Grouper itself.
- Rights group — a security group under an application's prefix, whose object id becomes a right in that application's tokens.
- Group rights — the catalogue rights assigned to a rights group in Grouper.
Its members, nested groups included, hold them; an application reads them per
user with
GET /api/v1/users/{oid}/rights. They are not part of the token. - Right — a lowercase
area.actionname the application defines and interprets; Grouper carries it and never interprets it. - Client key — a
client-role credential that lets a machine call/api/v1; its vault item'sappKeyis the scope of every answer. - Rights reader key — a
rights-reader-role credential an app manager issues without a Tool-Admin; it may call onlyGET /api/v1/rightsandGET /api/v1/users/{oid}/rightsfor its own application. - Published token — a credential whose hash Grouper hands to its owning application so the application can verify it offline.
- Fetchable secret — a stored provider secret explicitly opted in, per item,
for retrieval through
GET /api/v1/secrets/{name}. The response carries the plaintext plus the item's username and custom fields — one opt-in covers all of them, so keep unrelated secrets out of a fetchable item's custom fields. - Open Extension — the Graph mechanism Grouper uses to hang an application's metadata on its manager group, instead of keeping a database.
- Mail mirror — the one-way Exchange Online copy of a rights group, needed
because
ApplicationAccessPolicyaccepts only mail-enabled groups. - Incident ID — the six-character identifier connecting one error message to one server log line.
Links#
- Live machine-API contract:
https://grouper.tokada.io/api/v1/docs— always current, needs no credentials; on the writable instance reachable from the VPN, on the public read-only instance from anywhere. - Health / readiness probe:
https://grouper.tokada.io/api/health. - Everything else — the living specification, the frozen product baseline and the agency-wide Entra playbook — lives in the repository and is maintainer-facing.
Error code reference#
Every error Grouper shows you carries a code of the form GRP-<AREA>-<NNNN>.
This is the full list: what each one means, and — word for word — the same
instruction the interface gave you. Codes are append-only and are never
recycled, so an entry here keeps meaning what it meant when it was written.
The incident ID shown next to the code is not listed here and cannot be: it is minted per failure and resolves to exactly one line in the server log. Quote both when you report a problem.
Applications (GRP-APP-01xx)#
GRP-APP-0101#
Your account lacks the directory privilege the application action needs — the Application Administrator role was not active on your session.
What to do: Ask a Tool-Admin to run this for you, or activate your Application Administrator role in PIM and sign in again.
GRP-APP-0102#
Your delegated session had expired by the time the action reached the server. This is also what you see right after Grouper was restarted: you are asked to sign in again, not told that your Application Administrator role is missing.
What to do: Copy anything you typed in an open dialog first — signing in reloads the page and discards it.
GRP-APP-0103#
The server refused a value in your input. Nothing was written.
What to do: Correct the value the message names and submit again. The input was refused before anything was written, so nothing needs undoing.
GRP-APP-0104#
A Graph or network failure Grouper could not attribute to a known cause.
What to do: Retry once. If it fails again, report it with the incident ID — that ID is what makes the server log line findable.
GRP-APP-0105#
Azure had not finished replicating the object the write depended on.
Raised only while an application is being created: Azure did not make the new manager group readable within a minute, so the creation was rolled back completely. If the rollback itself fails, the code is GRP-APP-0114 instead.
What to do: Repeat the action in a minute. Everything this attempt created was removed again, so the AppKey is still free.
GRP-APP-0106#
Microsoft Graph rate-limited the request (HTTP 429).
What to do: Nothing is misconfigured. Avoid repeating the action in a tight loop: every extra request extends the throttling window.
GRP-APP-0107#
Azure refused the write because an object with that name already exists (HTTP 409).
What to do: The object holding that name may sit outside the managed prefix, where Grouper can neither show nor remove it. Search the directory in Azure.
GRP-APP-0108#
Deleting an application was stopped before anything in Azure was touched, because at least one of the application's 1Password items could not be deleted. The application, its groups and its app-registration are all still there.
What to do: Check the 1Password service account, then delete the application again.
GRP-APP-0109#
The application list behind the header's switcher could not be read, because your account lacks the directory privilege that read needs.
What to do: Ask a Tool-Admin to run this for you, or activate your Application Administrator role in PIM and sign in again.
GRP-APP-0110#
Your delegated session had expired when the switcher tried to load its list.
What to do: Copy anything you typed in an open dialog first — signing in reloads the page and discards it.
GRP-APP-0111#
The server refused a value while loading the switcher's list. Nothing was written.
What to do: Correct the value the message names and submit again. Nothing was written.
GRP-APP-0112#
The switcher's application list could not be loaded, for a reason the server could not classify. Nothing else on the page is affected.
What to do: Reopen the menu to retry. Until it loads, reach the application through the Applications overview.
GRP-APP-0113#
Removing an incomplete application was refused: the group no longer qualifies — it is sealed, carries metadata, has members, owners or rights groups, is not a plain security group, or is younger than five minutes. Nothing was deleted.
What to do: Reload the application to see what it holds now. Only a manager group without seal, metadata, members or rights groups can be removed this way.
GRP-APP-0114#
Creating an application failed, and removing what that attempt had already created failed as well. At least one object — the manager group or the app registration — is still in the tenant.
What to do: Do not repeat the action; it would collide with what was left behind. Report this incident ID so the remaining objects can be removed.
GRP-APP-0115#
Grouper could not verify that the Entra registration this application points to really belongs to it: the signed binding is missing or does not match, or the registration has another client ID. Nothing was changed.
What to do: Ask a Tool-Admin to re-verify the application binding.
GRP-APP-0116#
Deleting an application was stopped before anything in Azure was changed. The application has no keys left, but its approvals and pending requests on shared items could not all be removed. This attempt did not change anything in Azure.
What to do: Delete the application again. Its keys are already gone, so only the approvals on shared items remain to be removed.
GRP-APP-0117#
Deleting an application was stopped before anything in Azure was changed, because a key was added to the application while the deletion was running. This attempt did not change anything in Azure.
What to do: Delete the application again. The key that was added meanwhile is then deleted with it.
GRP-APP-0118#
Deleting an application together with its Entra app-registration was stopped: Azure answered "not found" for the registration, but the registration is less than five minutes old, and a fresh registration is unreadable for a while even though it exists. That includes an old application that only just received its registration. Nothing in Azure was changed. This attempt may already have removed the application's keys and its approvals on shared items.
What to do: Wait five minutes, then delete the application again. Keys this attempt already removed stay removed.
GRP-APP-0119#
Deleting an application was stopped before anything in Azure was changed. This attempt removed the application's keys, but the credential store could not be read again afterwards, so Grouper could not confirm that no key or approval on a shared item is left.
What to do: Delete the application again once the credential store answers. Keys this attempt already removed stay removed.
GRP-APP-0120#
A change to an application was refused because that application is being deleted. Nothing was changed.
What to do: Wait for the deletion to finish. If the application still exists afterwards, repeat the action.
GRP-APP-0121#
A change to an application was refused because another change to the same application did not finish within 30 seconds, or a stalled one lost its turn. This action stopped without writing anything further.
What to do: Wait a minute, then repeat the action. An operator finds the blocking action in the server log.
Groups and members (GRP-GRP-02xx)#
GRP-GRP-0201#
You are not a manager of that application, or your session carries no directory privilege for the group.
What to do: Ask a Tool-Admin to add you to the application’s Manager group, then sign out and back in — Grouper reads your groups at sign-in.
GRP-GRP-0202#
Your delegated session had expired by the time the group action reached the server.
What to do: Copy anything you typed in an open dialog first — signing in reloads the page and discards it.
GRP-GRP-0203#
The group name or member reference was refused. Nothing was written.
What to do: Correct the value the message names and submit again. The input was refused before anything was written, so nothing needs undoing.
GRP-GRP-0204#
A Graph or network failure on a group write that Grouper could not attribute to a known cause.
What to do: Reload the page and check whether the change landed anyway, then retry. If it fails a second time, report it with the incident ID.
GRP-GRP-0205#
The group you tried to nest belongs to another application (or, under the reserved SYSTEM key, is any Grouper group). Only rights groups of the application you are editing can be nested into it. Nothing was written.
What to do: Nest a group of this application instead, or ask that application's managers to grant the access there.
GRP-GRP-0206#
The group you tried to nest is an application's manager group or an Exchange mirror (…#MailEnabled). Neither may become a member of a rights group: a manager group would turn every manager into a right-holder, and a mirror is a copy the sync owns. Nothing was written.
What to do: Add the people individually, or nest the rights group the mirror was made from.
GRP-GRP-0207#
The group you tried to nest already contains the group you are editing, directly or further down. Nesting it would create a loop, which Entra itself accepts. Nothing was written.
What to do: Remove the existing nesting first, or nest the groups the other way round.
GRP-GRP-0208#
You tried to nest a group into itself. Entra accepts that too; Grouper does not. Nothing was written.
What to do: Choose a different group to nest, or add the people you meant directly.
GRP-GRP-0209#
Grouper resolves nested groups up to 5 levels below any Grouper group. This add would put a group further down than that, counting the levels already above the group you are editing and the levels already below the one you are nesting. A deeper group would leave the rights API without a complete answer for the whole application, so the add is refused. Nothing was written.
What to do: Nest a group with fewer levels of nesting below it, or add its members directly.
GRP-GRP-0210#
The Grouper group you tried to nest has user owners in Entra. An owner can add members to it outside Grouper, and through the nesting those people would receive this group's rights. Nothing was written.
What to do: Ask an Entra administrator to remove the group's user owners, then try again.
API keys and the 1Password vault (GRP-KEY-03xx)#
GRP-KEY-0301#
You are not a manager of that application, or the key carries a role you may not issue or delete.
What to do: Ask a Tool-Admin to add you to the application’s Manager group, or to issue or delete the key for you if it carries a privileged role.
GRP-KEY-0302#
Your delegated session had expired by the time the key action reached the server.
What to do: Copy anything you typed in an open dialog first — signing in reloads the page and discards it.
GRP-KEY-0303#
The key name, role or rights list was refused. No key was created, rotated or deleted.
What to do: Correct the value the message names and submit again. No key was created, rotated or deleted, so nothing needs undoing.
GRP-KEY-0304#
A failure on a key path that did not come from the 1Password vault — Azure or the network.
What to do: The vault is fine; this failure came from Azure or the network. Retry once, then report it with the incident ID.
GRP-KEY-0305#
A 1Password failure that matched none of the recognised causes below. It is the rest, not the default.
What to do: Retry once. If it fails again, report it with the incident ID — that ID is what makes the server log line findable.
GRP-KEY-0306#
The 1Password service account exhausted its vault-operation quota.
What to do: Nothing is misconfigured and no data was lost — the service account ran out of vault-operation quota.
GRP-KEY-0307#
1Password rejected the service-account token — expired or revoked.
What to do: The service-account token has expired or was revoked. An operator must issue a new token and restart Grouper.
GRP-KEY-0308#
The configured vault was not found for the service account: renamed, or its access was withdrawn.
What to do: Either the vault no longer exists or the service account lost access. Check the vault selected in Settings against 1Password, then re-grant read+write.
GRP-KEY-0309#
1Password could not be reached at all — network, DNS or TLS.
What to do: This is a network fault between Grouper and 1Password, not a configuration error. Retry in a minute; if it persists, check outbound access.
GRP-KEY-0310#
The 1Password client could not be started at all, before any request was made.
What to do: This is a deployment fault. Report it with the incident ID; restarting the instance is the usual fix, and only an operator can do that.
GRP-KEY-0311#
An action that has to account for every item in the vault, such as deleting or renaming an application, was refused because at least one vault item could not be read. 1Password itself is reachable and nothing in Azure was changed. An application deletion may already have removed that application's keys.
What to do: Repair or delete the unreadable items in 1Password, then repeat the action. An operator finds their item IDs in the server log.
GRP-KEY-0312#
An edit would give a key a caller role (client or rights-reader), but the value stored on that key is already used by another calling key. Two calling keys with the same value cannot be told apart when a request arrives. Nothing was changed, and the stored value is never shown.
What to do: Rotate the key to a newly generated value, then add the role.
GRP-KEY-0313#
A key that already calls Grouper (client or rights-reader) was to be moved to another application, but its stored value is already used by a calling key of a different application. Moved, the same value would identify two applications. Nothing was changed, and the stored value is never shown.
What to do: Rotate the key to a newly generated value, then move it.
Client secrets (GRP-SEC-04xx)#
GRP-SEC-0401#
You are not a manager of that application, so you may not rotate its secrets.
What to do: Ask a Tool-Admin to add you to the application’s Manager group, then sign out and back in before rotating a secret.
GRP-SEC-0402#
Your delegated session had expired by the time the secret action reached the server.
What to do: Copy anything you typed in an open dialog first — signing in reloads the page and discards it.
GRP-SEC-0403#
The requested lifetime or secret name was refused. No secret was created or removed.
What to do: Correct the value the message names and submit again. No secret was created or removed, so nothing needs undoing.
GRP-SEC-0404#
A Graph or network failure during a secret operation that Grouper could not attribute to a known cause.
What to do: Reload the application and check its secret list before you rotate again — a failed rotation can still have created a secret.
GRP-SEC-0405#
Reserved and unreachable by design: the only credential-store call on this path never throws — it reports a vault failure on an otherwise successful result instead.
What to do: No rotation path can produce this code, so seeing it is itself the defect. Report it with the incident ID so the branch that minted it can be found.
GRP-SEC-0406#
Grouper could not verify that the Entra registration this application points to really belongs to it: the signed binding is missing or does not match, or the registration has another client ID. No secret was created or removed.
What to do: Ask a Tool-Admin to re-verify the application binding.
Entra configuration delivery (GRP-EAPI-05xx)#
GRP-EAPI-0501#
You are not a manager of that application, so you may not deliver its Entra configuration.
What to do: Ask a Tool-Admin to add you to the application’s Manager group, or to run the delivery step for you.
GRP-EAPI-0502#
Your delegated session had expired by the time the delivery reached the server.
What to do: Copy anything you typed in an open dialog first — signing in reloads the page and discards it.
GRP-EAPI-0503#
The delivery input was refused. Nothing was handed to the consuming application.
What to do: Correct the value the message names and submit again. Nothing was delivered, so the consuming application still sees its old configuration.
GRP-EAPI-0504#
The configuration delivery failed for a reason Grouper could not attribute.
What to do: The consuming application keeps its current configuration. Retry once, then report it with the incident ID.
GRP-EAPI-0505#
Grouper could not verify that the Entra registration this application points to really belongs to it: the signed binding is missing or does not match, or the registration has another client ID. Nothing was delivered.
What to do: Ask a Tool-Admin to re-verify the application binding.
GRP-EAPI-0506#
You switched on "serve the Entra configuration over the API" while creating the application. Azure had not yet made the brand-new registration writable for Grouper, so no client secret was created. The application itself exists and works; only the delivery is off.
What to do: Wait a few minutes, then activate the delivery for this application.
GRP-EAPI-0507#
While activating the delivery at creation, Grouper created a client secret in Azure but could neither store it in the vault nor remove it again. Nobody holds the value, and the Entra configuration is not served over the API.
What to do: Invalidate the unused client secret of this application, then activate the delivery again.
Settings (GRP-SET-06xx)#
GRP-SET-0601#
Global settings are Tool-Admin only, and your session carried no active directory role.
What to do: Global settings are Tool-Admin only. Ask a Tool-Admin to make the change, or activate your directory role in PIM and sign in again.
GRP-SET-0602#
Your delegated session had expired by the time the settings write reached the server.
What to do: Copy anything you typed in an open dialog first — signing in reloads the page and discards it.
GRP-SET-0603#
A settings value was refused. The stored settings are unchanged.
What to do: Correct the value the message names and submit again. The form still holds what you typed, so nothing has to be re-entered.
GRP-SET-0604#
The settings file could not be written for a reason Grouper could not attribute.
What to do: The previous values still apply — nothing was half-written. Retry once, then report it with the incident ID.
GRP-SET-0605#
Listing the 1Password vaults requires an active directory role your session did not carry.
What to do: Choosing the 1Password vault is Tool-Admin only. Ask a Tool-Admin to make the change, or activate your directory role in PIM and sign in again.
GRP-SET-0606#
Your delegated session had expired by the time the vault listing reached the server.
What to do: Copy anything you typed in an open dialog first — signing in reloads the page and discards it.
GRP-SET-0607#
Reserved: the vault listing takes no input, so nothing can be refused here. Seeing this code means something unexpected happened.
What to do: The vault listing takes no input, so this code should be unreachable. Report it with the incident ID if you see it.
GRP-SET-0608#
The 1Password vaults could not be listed for a reason Grouper could not attribute.
What to do: The saved vault selection still applies. Retry once; if it fails again, 1Password itself is likely unavailable and only waiting helps.
Jira: lookup, error reports and health (GRP-JIRA-07xx)#
GRP-JIRA-0701#
The Jira lookup requires an active directory role your session did not carry.
What to do: Ask a Tool-Admin to run the lookup for you, or activate your directory role in PIM and sign in again.
GRP-JIRA-0702#
Your delegated session had expired by the time the Jira lookup reached the server.
What to do: Copy anything you typed in an open dialog first — signing in reloads the page and discards it.
GRP-JIRA-0703#
The lookup input was refused. Nothing was written to Jira.
What to do: Correct the value the message names and submit again. Nothing was written to Jira.
GRP-JIRA-0704#
Jira could not be reached, or answered in a way Grouper could not attribute.
What to do: Check the Jira base URL and credentials under Settings first; if they are correct, Jira itself is unavailable and only waiting helps.
GRP-JIRA-0705#
Reserved and expected to stay unreachable: filing an error report is open to every signed-in user, so no authorization guard can fire.
What to do: Filing a report is open to every signed-in user, so this code should be unreachable. Copy this message and send it on by hand.
GRP-JIRA-0706#
Your delegated session had expired by the time the error report reached the server.
What to do: Copy anything you typed in an open dialog first — signing in reloads the page and discards it.
GRP-JIRA-0707#
The report summary, description or incident id was refused.
What to do: Shorten or complete the field the message names and submit again. The original error is still on screen and can be copied instead.
GRP-JIRA-0708#
Jira accepted no task for this report — unreachable, or it refused the issue.
What to do: Copy this message and send it on by hand — nothing is waiting in Jira for someone to find.
GRP-JIRA-0709#
Error reporting has no Jira project configured, so there is nowhere to file the report.
What to do: Ask a Tool-Admin to fill in the Jira project and credentials under Settings. Until then, copy this message and send it on by hand.
GRP-JIRA-0710#
The Jira diagnostics page requires an active directory role your session did not carry.
What to do: Ask a Tool-Admin to run the diagnostics page, or activate your directory role in PIM and sign in again.
GRP-JIRA-0711#
Your delegated session had expired by the time the health check reached the server.
What to do: Copy anything you typed in an open dialog first — signing in reloads the page and discards it.
GRP-JIRA-0712#
Reserved and expected to stay unreachable: the health-check action takes no parameters, so it has no input it could refuse.
What to do: The health check takes no input, so this code should be unreachable. Report it with the incident ID if you see it.
GRP-JIRA-0713#
The Jira health check itself failed to complete. That is not the same as Jira being down.
What to do: Run the check once more. If it fails again, report it with the incident ID — a failing check is not itself proof that Jira is down.
GRP-JIRA-0714#
You ran the health check more often than the per-user budget allows.
What to do: The budget is per user and refills on its own. Nothing about Jira changed, and the last result on the page is still valid.
Expiry scan (GRP-CRON-08xx)#
GRP-CRON-0801#
Starting the expiry scan requires an active directory role your session did not carry.
What to do: Ask a Tool-Admin to start the scan, or activate your directory role in PIM and sign in again.
GRP-CRON-0802#
Your delegated session had expired by the time the scan request reached the server.
What to do: Copy anything you typed in an open dialog first — signing in reloads the page and discards it.
GRP-CRON-0803#
The scan could not start because the settings it depends on are incomplete.
What to do: Correct the value the message names and start the scan again. No notification was sent.
GRP-CRON-0804#
The expiry scan failed for a reason Grouper could not attribute.
What to do: A full scan also runs on its own daily schedule, so this is not the only chance. If you need the result now, retry once, then report it with the incident ID.
Mail mirrors (GRP-MIRR-09xx)#
GRP-MIRR-0901#
You are not a manager of that application, so you may not change its mail mirror.
What to do: Ask a Tool-Admin to add you to the application’s Manager group, then sign out and back in before changing the mirror.
GRP-MIRR-0902#
Your delegated session had expired by the time the mirror action reached the server.
What to do: Copy anything you typed in an open dialog first — signing in reloads the page and discards it.
GRP-MIRR-0903#
The mirror opt-in value was refused. The mirror keeps its current state.
What to do: Correct the value the message names and submit again. The mirror keeps its current state until the request is accepted.
GRP-MIRR-0904#
Reading or writing the mirror opt-in failed for a reason Grouper could not attribute.
What to do: Reload the group and check whether the opt-in shows what you wanted, then retry once. If it fails again, report it with the incident ID.
n8n credentials (GRP-N8N-10xx)#
GRP-N8N-1001#
You are not a manager of that application, so you may not manage its n8n credentials.
What to do: Ask a Tool-Admin to add you to the application’s Manager group, then sign out and back in before managing its n8n credentials.
GRP-N8N-1002#
Your delegated session had expired by the time the n8n action reached the server.
What to do: Copy anything you typed in an open dialog first — signing in reloads the page and discards it.
GRP-N8N-1003#
The input was refused before anything was written — neither the n8n instance nor the vault changed.
What to do: Correct the value the message names and submit again. Nothing was written to n8n or to the vault.
GRP-N8N-1004#
Grouper could not reach the n8n instance — a network, DNS or TLS failure on the way there. The stored configuration is unchanged.
What to do: Check that the configured base URL is reachable from the server, then retry once — the stored configuration is unchanged.
GRP-N8N-1005#
The instance's public API does not support credential updates, so activation was refused before anything was created.
What to do: Ask the instance operator to upgrade n8n to a version whose public API supports credential updates, then activate again.
GRP-N8N-1006#
The new value is already deployed in n8n, but writing it to the vault failed — the two stay out of step until a rotation succeeds.
What to do: Repeat the rotation — the step is idempotent, and repeating it brings the vault back in line with the value already deployed in n8n.
GRP-N8N-1007#
The instance rejected Grouper's API key (401), so the request never reached the credential.
What to do: Rotate the instance API key in n8n, store the new key by activating again, then repeat the action.
GRP-N8N-1008#
The instance reported a conflict or an ownership violation for the object the action addressed.
What to do: Reload the credential list so it reflects the instance, then repeat the action on the current state.
GRP-N8N-1009#
The instance rate-limited the request or answered with a server error, and the retries Grouper already performed did not get through.
What to do: Wait a minute before retrying — the instance is throttling or failing upstream, and rapid retries extend the window.
GRP-N8N-1010#
The key is deployed to an n8n credential, and the key surfaces (rotate, delete, convert to a shared item, move to another application, set roles) would change only the vault, leaving n8n on the old value.
What to do: Rotate or remove the credential through the application's n8n credential management, which updates the n8n instance and the vault together. Nothing was changed.
GRP-N8N-1011#
A new value from a shared source reached the n8n credential, but Grouper could not record that on the application's key, so the credential is still listed as outdated.
What to do: Deploy the pending targets again. The step sends the stored source value and is idempotent; no new value is needed.
GRP-N8N-1012#
A bulk n8n operation handled only part of its work: disconnecting n8n removed some but not all of the stored instance-key items, or the Mark credentials in n8n row renamed some but not all credentials. The message says how many succeeded.
What to do: Repeat the action; it only handles what is still outstanding. If the same number fails again, check that n8n is reachable and its API key is accepted.
User directory (GRP-USR-11xx)#
GRP-USR-1101#
The user directory could not be built — reading the Grouper groups or their members failed — and no earlier snapshot existed to fall back to.
What to do: Retry once — the directory is rebuilt from every Grouper group, so one flaky read fails the whole load. Then report it with the incident ID.
GRP-USR-1102#
A manually requested refresh of the user directory failed, and no earlier snapshot existed to fall back to. When one exists, the refresh keeps showing it instead of raising this error.
What to do: Wait a moment and refresh once more. If it keeps failing, report it with the incident ID.
GRP-USR-1103#
The user directory is Tool-Admin only, and your session carried no active directory role.
What to do: The user directory is Tool-Admin only. Ask a Tool-Admin to look it up, or activate your directory role in PIM and sign in again.
GRP-USR-1104#
Your delegated session had expired by the time the directory request reached the server.
What to do: Sign in again, then reopen the user directory — nothing you did was lost, the directory is read-only.
GRP-USR-1105#
The request was refused before any directory read started. Reserved: the directory actions currently accept no input that could be refused this way.
What to do: Correct the value the message names and try again. The request was refused before any directory read started.
Shared items (GRP-SHARE-12xx)#
GRP-SHARE-1201#
The shared-item action was refused because your session carried no active Tool-Admin role. Shared items live in the reserved SHARED scope and are administered by Tool-Admins only.
What to do: Shared items are Tool-Admin territory. Ask a Tool-Admin to make the change, or activate your directory role in PIM and sign in again.
GRP-SHARE-1202#
Your delegated session had expired by the time the shared-item request reached the server.
What to do: Copy anything you typed in an open dialog first — signing in reloads the page and discards it.
GRP-SHARE-1203#
The input was refused before anything was written — a missing or colliding API name, an invalid value, an app key that is not a valid application (a reserved scope, say), or a target that is not a shared item. The message names the value.
What to do: Correct the value the message names and submit again. Nothing was written to the vault.
GRP-SHARE-1204#
A shared-item operation failed for a reason the server could not classify further.
What to do: Retry once. If it fails again, report it with the incident ID — the shared inventory keeps its previous state.
GRP-SHARE-1205#
Reserved — no longer issued. Older versions used it when converting a key into a shared item stopped halfway; the conversion is now a single write, so this partial state cannot occur any more. You may still see the code on old incident reports.
What to do: Run the conversion again — the retry is safe and completes in one step.
GRP-SHARE-1206#
A shared item cannot be deleted, and an application's approval for it cannot be withdrawn, while n8n credentials still take their secret from it. The message names how many and which applications. This includes credentials left behind by an application whose n8n connection was switched off.
What to do: Delete the n8n credentials that use this shared item, or give each its own value, then repeat. Nothing was changed.
GRP-SHARE-1207#
An action on a shared item — rotating it, deploying it again, deleting it or withdrawing an application's access — could not start because another deployment of the same item is still running (this also covers a run that was taken over after five minutes), or because a retry (Deploy to N out of date) was requested for an item that has never been rotated, so there is no rotation to deploy yet. Linking, adopting from and detaching an n8n credential are refused for the same running-deployment reason, but report it as GRP-N8N-1003. Linking a credential to such an item and adopting from it both work; only that retry is refused.
What to do: Wait for the running deployment to finish, then try again. For a never-rotated item, rotate it once first. Nothing was changed.
Credential-store write lock (GRP-VLOCK-13xx)#
GRP-VLOCK-1301#
Grouper runs on more than one instance, and all of them share a single credential vault. Only the instance that owns the vault is allowed to change it; every other instance reads the vault normally but refuses to write to it. The refusal happens before anything is sent to the vault, so nothing was created, changed or deleted.
What to do: Repeat the change on the Grouper instance that owns the credential vault — an administrator can tell you which one that is.
GRP-VLOCK-1302#
This Grouper instance is read-only: it changes nothing in Azure, in its settings or in the scheduled jobs. The refusal happens before anything is sent, so nothing was changed. The public instance shows a banner saying so on every page.
What to do: Make this change on the writable Grouper instance.
Group rights (GRP-RGT-14xx)#
GRP-RGT-1401#
You are not a manager of that application, or the group cannot carry catalogue rights (a manager group, a mail mirror, a reserved application, or a group with user owners in Entra). Nothing was written.
What to do: Manager groups, mail mirrors and reserved apps never carry rights. For any other group, ask a Tool-Admin to make you a manager of its app, then sign in again.
GRP-RGT-1402#
Your delegated session had expired by the time the group-rights action reached the server.
What to do: Sign in again, then tick the rights once more. Nothing was written, so the group still carries its previous rights.
GRP-RGT-1403#
The selection was refused: a name is malformed, there are too many, or a name is no longer in the application's catalogue. Nothing was written.
What to do: Reload the group’s rights to see the current catalogue, correct the selection the message names, then save again. Nothing was written.
GRP-RGT-1404#
Reading or writing the group's rights failed for a reason Grouper could not attribute.
What to do: Reload the group’s rights and check whether the change landed anyway, then retry. If it fails again, report it with the incident ID.
Application requests (GRP-AREQ-15xx)#
GRP-AREQ-1501#
Reviewing, saving, approving or rejecting a request needs the Tool-Admin role, and your session does not hold it. Nothing was changed.
What to do: Reviewing and approving requests is Tool-Admin only. Ask a Tool-Admin to handle the request, or activate your directory role in PIM and sign in again.
GRP-AREQ-1502#
Your delegated session had expired by the time the request reached the server.
What to do: Copy anything you typed in an open dialog first — signing in reloads the page and discards it.
GRP-AREQ-1503#
The input was refused: a field is too long or malformed, a shared item or provider is not in the catalogue, the AppKey is invalid or reserved, or the request is no longer open. Nothing was written.
What to do: Correct the value the message names and submit again. Nothing was written to Jira or Azure.
GRP-AREQ-1504#
The request could not be processed for a reason Grouper could not attribute — usually Jira answering with an error or not at all.
What to do: Open the Jira issue to see which state it is in, then retry once. If it fails again, report it with the incident ID.
GRP-AREQ-1505#
The Jira workflow offered no transition into the status Grouper needed, or more than one. The issue was left where it was.
What to do: Ask a Jira administrator to check the workflow of the request project; the issue was left in its previous status, so retrying is safe.
GRP-AREQ-1506#
The request's data block — the json code block at the end of the issue description — is missing, corrupt or of an unknown version, so Grouper cannot edit or approve it. Rejecting still works.
What to do: Restore the data block in the Jira issue description, or ask the requester to file a new request and reject this one. Nothing was created.
GRP-AREQ-1507#
You already have three open requests, which is the limit. Nothing was sent.
What to do: Wait until a Tool-Admin has approved or rejected one of your open requests, then file the new one.
GRP-AREQ-1508#
This Grouper instance is read-only and does not accept requests. Nothing was sent to Jira.
What to do: File the request on the Grouper instance that owns the vault — an administrator can tell you which one that is.
GRP-AREQ-1510#
You are neither a Tool-Admin nor a member of the App Requesters group, so you cannot file, list or prepare application requests. Nothing was sent.
What to do: Ask a Tool-Admin to add you to the App Requesters group, then open App Requests again.
GRP-AREQ-1509#
Application requests are not configured on this instance: the Jira connection or the request project is missing.
What to do: A Tool-Admin needs to configure the Jira connection for application requests under Settings. Nothing was sent.
GRP-AREQ-1511#
A Tool-Admin saved the settings with a new assignee for application requests, but Jira does not allow that person to be assigned issues in the request project. Nothing was saved.
What to do: Choose a person who can be assigned issues in the request project.
GRP-AREQ-1512#
Grouper could not load the people who can be assigned issues in the request project, because Jira could not be reached or refused the request. The saved assignee is unchanged.
What to do: Check the Jira connection, then open the list again.
Token settings (GRP-TOK-17xx)#
GRP-TOK-1701#
Changing an application's token settings needs the Tool-Admin role, and your session does not hold it. Reading them needs the Tool-Admin role or membership in the application's manager group. Nothing was changed.
What to do: Ask a Tool-Admin to make the change; the token settings of an application are reserved for that role.
GRP-TOK-1702#
Your delegated session had expired by the time the change reached the server. Nothing was saved.
What to do: Sign in again, then make the change again; signing in reloads the page and discards unsaved choices.
GRP-TOK-1703#
The request carried a value the token settings do not accept, or the application has no Entra registration. Nothing was changed.
What to do: Reload the page and make the change again. Nothing was changed in Azure.
GRP-TOK-1704#
Reading or changing the token settings failed for a reason Grouper could not classify, usually Microsoft Graph being unreachable.
What to do: Try once more. If it fails again, report it with the incident ID.
GRP-TOK-1705#
Grouper holds only the right to change registrations it owns, and this registration does not list Grouper's service principal as an owner. Nothing was changed.
What to do: Ask an Entra administrator to add Grouper's service principal as an owner of the registration; it takes a minute or two to apply.
GRP-TOK-1706#
A change of token settings is several separate steps in Azure (claims, identifier URI, scope and token version, public client flows). Some went through and some did not; the edit window lists both, and the card shows the current state.
What to do: Save again; Grouper only sends what is still missing. If it fails again, report it with the incident ID.
GRP-TOK-1708#
This Grouper instance is read-only for configuration changes, so token settings cannot be changed here. Reading them works.
What to do: Open this application on the Grouper instance that manages it and make the change there.
GRP-TOK-1709#
Grouper could not verify that the Entra registration this application points to really belongs to it: the signed binding is missing or does not match, or the registration has another client ID. Nothing was changed.
What to do: Ask a Tool-Admin to re-verify the application binding.
IP allowlist (GRP-IPAL-18xx)#
GRP-IPAL-1801#
Changing an application's IP allowlist needs the Tool-Admin role or membership in that application's manager group, and your session holds neither. Nothing was changed.
What to do: Ask a manager of this application or a Tool-Admin to change the allowlist for you.
GRP-IPAL-1802#
Your delegated session had expired by the time the change reached the server. Nothing was saved.
What to do: Copy the entries you typed first, because signing in again reloads the page and discards them.
GRP-IPAL-1803#
At least one entry of the list was refused, or the list as a whole was. An entry must be a public IPv4 or IPv6 address or CIDR range; 0.0.0.0/0 and ::/0 are refused because they would allow every address, and private networks are refused because private source addresses are always allowed anyway. A list holds at most six networks. Nothing was saved.
What to do: Correct the entries named in the message: public IPv4 or IPv6 addresses or CIDR ranges, at most six, never /0.
GRP-IPAL-1804#
The change failed for a reason Grouper could not classify.
What to do: Try once more. If it fails again, report it with the incident ID.
GRP-IPAL-1805#
Grouper could not read or save the allowlist in Microsoft Graph. The saved list is unchanged.
What to do: Wait a minute and try again; Microsoft Graph is usually reachable again within minutes.
GRP-IPAL-1806#
This Grouper instance is read-only for configuration changes, so the allowlist cannot be changed here. Reading it works.
What to do: Open this application on the Grouper instance that manages it and make the change there.
GRP-IPAL-1807#
Confirming or reverting changes that a manager made to an IP allowlist is reserved for Tool-Admins. Nothing was changed.
What to do: Ask a Tool-Admin to confirm or revert the unconfirmed changes.
GRP-IPAL-1808#
Someone else changed the IP allowlist after you opened it, so your change would have overwritten theirs. Nothing was saved.
What to do: Reload the current list and apply the change again.
GRP-IPAL-1809#
There are no unconfirmed changes to this allowlist any more, usually because another Tool-Admin confirmed or reverted them first. Nothing was changed.
What to do: Reload the list to see its current state; there is nothing left to confirm or revert.
The fallback (GRP-UI-0000)#
GRP-UI-0000#
The floor. The failure never travelled through the server-side error path, so the identifier next to it was minted in your browser and matches no server log line.
What to do: Reload the page and try once more. If it happens again, report it with the incident ID and say that the code was GRP-UI-0000.