Registering a Microsoft Entra ID application
This guide is part of the Publicus connection catalog. Once you have the credentials, connect the service and Publicus stores them for you.
Distilled from Microsoft’s own documentation: Quickstart: Register an application, Add a redirect URI, Add credentials, Configure API access. Retrieved 2026-07-03.
- Sign in to the Microsoft Entra admin center as at least an Application Developer.
- If you have access to multiple tenants, switch to the target tenant via the Settings icon.
- Browse to Entra ID → App registrations → New registration.
- Enter a name for the application.
- Under Supported account types, choose who may sign in: single tenant, any Entra tenant (multitenant), any tenant + personal Microsoft accounts, or personal accounts only. For connections that should also work with personal Outlook accounts, pick the third option.
- Select Register and record the Application (client) ID from the Overview page.
- Under Manage → Authentication, select Add Redirect URI, choose the Web platform, and enter the callback URL exactly as shown on the connect form, then Configure.
- Under Certificates & secrets → Client secrets → New client secret: add a description, choose an expiration (maximum 24 months; Microsoft recommends under 12), select Add, then immediately copy the secret Value — it is never shown again.
- Under API permissions → Add a permission → Microsoft Graph → Delegated permissions, add the permissions the connected services need (e.g.
Mail.Read,Mail.Send,Calendars.Read,Calendars.ReadWrite), plusoffline_accessfor refresh tokens, then Add permissions. - If tenant policy requires it (or users cannot self-consent), select Grant admin consent for <tenant>, confirm, then refresh and verify “Granted for <tenant>” appears under Status.
Operational notes:
- The
{tenant}segment of the authorize/token URLs comes from the connection’s Tenant field (commonby default; a directory ID pins the app to one organization). - Every refresh returns a new refresh token — the connection runtime persists the newest automatically.
Connect it to Publicus
Section titled “Connect it to Publicus”Open Connections under Credentials, choose Microsoft, and pick Microsoft Entra ID — delegated (a user signs in). Publicus asks for exactly the fields listed above and keeps them in your workspace’s secret storage.
See also: Microsoft in the catalog.
This guide is maintained by Publicus and published under CC BY 4.0.