{% extends "base.html" %}
{% block title %}Register the app — ai-offboard{% endblock %}
{% block content %}
ai-offboard signs in as a Global Administrator using Microsoft's device-code
flow. That needs a public-client app in your tenant that only your
organization controls. Register it once (2 minutes), paste its ID, done.
One-time Azure app registration
ai-offboard.
Under Supported account types choose
"Multiple Entra ID tenants" — the second radio option. When it expands, select
"Allow all tenants" (not "Allow only certain tenants"). This is what the
device-code flow requires; your admin still approves the read-only scopes at first
sign-in. Leave redirect URI empty. Click Register.0f0f0f0f-…) and paste it below.
Read scopes (User.Read.All, Group.Read.All,
Application.Read.All, Directory.Read.All) are requested at the
consent screen on first sign-in — no need to configure API permissions in the portal.
This writes OFFBOARD_PUBLIC_CLIENT_ID to the local .env file next to
your installation. It's a public identifier, not a secret — the app has no client secret.