Skip to content
For the complete documentation index, see llms.txt. This page is also available as Markdown.

Add JIT Admin Template

This page creates a JIT Admin template, which stores the settings for a just-in-time admin grant so the same elevation can be requested repeatedly without rebuilding it. Templates are selected on the Add JIT Admin page, and everything a template fills in can still be changed before the grant is submitted.

The template is created for the tenant selected in the top menu; there is no tenant field on the form. Select All Tenants to create a template available everywhere. Changing the tenant in the top menu while the form is open clears the default user, groups, domain and Conditional Access policies, since they belong to the previous tenant.

Template Information

Field
Description

Template Name

The name the template is listed under. Required.

Default for Tenant

Applies this template automatically when the JIT admin form is opened for this tenant. A tenant-specific default takes precedence over an All Tenants default.

Default JIT Admin Settings

Admin Roles and Group Membership are switches, and each reveals its own selector. At least one has to be turned on, and the form says so until one is.

Field
Description

Apply JIT Role Template

Picks one or more JIT Role Templates and adds their roles into Default Roles below. Selections are additive to whatever Default Roles already holds, and everything stays editable afterwards.

Default Roles

The Entra ID directory roles the template assigns. If your CIPP role has a JIT Role Templates assigned, only the roles it allows are offered here.

Default Groups

The groups the account is added to. Not available on an All Tenants template, since group identifiers do not carry between tenants.

Default Duration

How long the elevation lasts, which sets the end date on the JIT admin form. Optional.

Default Expiration Action

What happens to the account when the elevation ends. Required.

Default Notification Actions

Which channels are notified when the grant is created: Webhook, Email, PSA or Push (a notification to the creator's own registered devices). Several can be selected.

Generate TAP by Default

Issues a Temporary Access Pass with the grant.

Reason Template

Reason text the template pre-fills, which the requester can adjust.

The duration list offers 1 hour, 4 hours, 8 hours, 1 day, 3 days, 7 days, 14 days and 30 days. A value of your own can be typed instead, in ISO 8601 duration format, so PT2H30M gives two and a half hours and P1D gives a day.

The expiration action offers Delete User and Disable User whatever the switches are set to. It also offers Remove Roles, Remove Groups or Remove Roles and Groups, matching whichever switches are on, so the account survives and only the elevation is taken away. Changing the switches after choosing clears the selection, since the option may no longer apply.

User Creation Settings

Default User Action decides whether the template creates a new account or elevates an existing one, and which fields follow.

Field
Description

Default First Name, Default Last Name

The new account's name. Shown for a new user, and optional.

Default Username

The part before the @ symbol. Shown for a new user, and optional.

Default Domain

The domain the account is created under. Shown for a new user, and not available on an All Tenants template.

Default Usage Location

The country the account is licensed in. Shown for a new user, and optional.

Default User

The account the elevation is granted to. Shown when the template targets an existing user, and not available on an All Tenants template.

When the template targets an existing user, it can also pre-set the Vacation Mode section of the JIT Admin form, which excludes the user from the chosen Conditional Access policies, location-based audit log alerts, or both, for the length of the grant plus a one-hour buffer. None of these are available on an All Tenants template. See Add JIT Admin for what each exclusion does.

Field
Description

Enable Vacation Mode by Default

Turns the Conditional Access exclusion on by default.

Conditional Access Policies in tenant

The Conditional Access policies selected by default. Shown once Vacation Mode is on. Several can be selected, read from the template's tenant.

Exclude from location-based audit log alerts

Turns the audit alert exclusion on by default, independently of Vacation Mode.

Once Vacation Mode is on, the form warns until at least one policy is selected.

Default First Name, Default Last Name, Default Username and Reason Template accept variables for whoever applies the template: %cipptechnician% is the part of the signed-in technician's account name before the @ symbol, and %cipptechnicianupn% is the whole account name. They are filled in on the JIT Admin page when the template is applied, so a single template such as jit-%cipptechnician% names every technician's account after them and keeps the audit trail readable. Typing % in any of these fields offers the variables that apply there, and Default Username only offers %cipptechnician%, since the domain is added to that field separately. Anything else between percent signs is left as typed.


Feature Requests / Ideas

We value your feedback and ideas. Please raise any feature requests on GitHub.

Last updated

Was this helpful?