Admin authorization
Last updated: 20 September 2026
Goal: Ensure designated users receive Sandman admin privileges after sign-in.
Sandman grants admin when the sign-in ID token matches either configured path (OR logic). Configure at least one in the wizard or Settings.
Option A — App role (recommended)
- App registrations → App roles — Create a role (Value e.g.
Sandman.Admin). - Enterprise applications → Users and groups — Assign admins to that role.
- Sandman — Enter the role Value under Authorization (Settings → Azure).
Option B — Security group
- Entra → Groups — Create a security group, add members, copy the Object ID.
- Token configuration — Add the groups claim to the ID token on the sign-in app.
- Sandman — Enter the group Object ID under Authorization.
Verify: Sign in as an assigned admin; Settings, Users, and Audit appear in the navigation.
Troubleshooting
- User stays a normal user — For roles: confirm Enterprise applications assignment and matching Value. For groups: groups claim enabled, correct Object ID, user is a member.
- Both paths — You may configure group IDs and role values together; admin is granted if either matches.