Automating Just-in-Time (JIT) Access Requests: Grant, Expire and Log Access Across Your Systems
JIT access requests grant temporary access that ends on its own. How to automate the request, the grant, the expiry and the log, in and beyond your IdP.

A just-in-time (JIT) access request is a request for elevated or sensitive access that is granted for a set period and removed automatically when that period ends, so nobody holds standing privileges they use once a quarter. Automating JIT access requests means the request, the grant, the expiry and the record all happen without an administrator doing each step by hand.
Your identity provider may already do much of this for its own roles and groups. The gaps are usually around it: requests that start in a ticket, access in systems the identity provider does not govern, and revocation that has to reach more than one system.
Where engini fits: engini is not an identity provider and does not replace your JIT feature in Okta or Microsoft Entra. It connects the systems around the request: a workflow can start from a Jira ticket, add the user to an Okta group, record the expiry in a table, remove the access on time, and post the result to Slack or Teams, with every run recorded. For AI agents, engini's toolsets limit which tools and accounts an agent can use at all. See the Okta integration docs.
Key Takeaways
- JIT access replaces standing privileges with access that has an end time, which follows the zero trust principle that no account gets implicit trust.
- Microsoft Entra Privileged Identity Management and Okta Identity Governance both support time-bound access for the roles and groups they manage.
- Automation matters where the identity provider stops: ticket-based intake, ERP and database roles, legacy systems and cross-system revocation.
- The grant and the revoke should be deterministic actions with fixed limits. An AI agent can help read a free-text request, not decide who gets access.
- Every grant needs a record of who asked, who approved in which system, what was granted, and when it was removed.
What are JIT access requests?
JIT access requests are requests for access that exists only while a task needs it. A user asks for a role, a group membership or a system permission, states why and for how long, someone or some policy approves it, and the access ends on its own at the stated time.
Microsoft's documentation defines just-in-time access as "a model in which users receive temporary permissions to perform privileged tasks," and pairs it with the principle of least privilege, where each user gets only the minimum privileges needed. NIST's zero trust architecture (SP 800-207, August 2020) frames the same idea from the other side: zero trust assumes there is no implicit trust granted to assets or user accounts.
How do identity providers handle JIT access today?
The major identity providers handle JIT access well for the roles and groups they own, and that is the first place to look. Automating outside them only makes sense for what they do not cover.
Microsoft Entra ID. Privileged Identity Management (PIM) provides time-based and approval-based role activation for Microsoft Entra roles, Azure resource roles and PIM for Groups. Microsoft's documentation lists just-in-time privileged access, time-bound assignments with start and end dates, required approval to activate, multifactor authentication on activation, justification, notifications, access reviews and downloadable audit history. PIM requires licenses under Microsoft Entra ID Governance licensing (page dated April 2026).
Okta. In Okta Identity Governance Access Requests, an access request condition has an access duration: the admin either specifies when access expires, or lets the requester choose a duration within a maximum the admin sets.
Note: Check your license tier before you build around either feature. Both are part of governance products that are licensed separately from basic single sign-on.
Where does JIT access automation still have gaps?
JIT access automation has gaps wherever access is not a role or group in the identity provider. In most companies that includes:
- Requests that start somewhere else. People ask in a Jira or service desk ticket, or in a Slack or Teams message, not in the identity provider's portal.
- Permissions inside business systems. ERP roles, CRM permission sets and database roles are often managed in the application, not through a group the identity provider controls.
- Legacy and on-premises systems. A database or an internal application behind the firewall may have no connection to the identity provider at all.
- Revocation in more than one place. Removing the group in the identity provider does not always remove a session, a role cached in an application, or a database grant.
- One record across systems. The ticket, the approval, the grant and the removal live in different tools, so an auditor has to assemble them.
These gaps are where a workflow that connects the systems does useful work, and where it should stay strictly within limits you set.
How to automate a JIT access request, step by step
Here is one way to automate a JIT access request end to end, using a ticket for intake and Okta for the grant. The same shape works with other systems.
- Intake. A user opens a Jira issue of type "Access request" with the group, the reason and the duration. A workflow starts when the issue is created or updated.
- Validate against fixed limits. The workflow checks the request against a table you maintain: which groups may be requested this way, the maximum duration for each, and who may request them. Anything outside the table is rejected with a comment on the issue.
- Approval happens in the system of record. The approver moves the issue to an approved status in Jira, following your existing approval process. The workflow acts only on that status change; it does not make the approval decision.
- Grant. The workflow adds the user to the Okta group, writes the grant to a table with the expiry time, comments on the issue and posts a message to the requester in Slack or Teams.
- Expire. A scheduled workflow checks the table and removes the user from the group when the expiry passes, then closes the issue with a comment.
- Record. Each run is kept in run history, and the table holds the request, approval reference, grant time and removal time for every grant.
Tip: Keep the list of requestable groups short and the maximum durations conservative at first. It is easier to widen a list that works than to explain a grant that should not have been possible.
Where an AI agent helps, and where it does not
An AI agent step is useful at intake, when requests arrive as free text ("I need read access to the finance warehouse for the audit this week"). The agent can map the text to a group from your allowed list and a duration, and ask for what is missing. The grant itself should remain a deterministic action, with limits enforced by the workflow's own conditions, so the same request always produces the same result.
What engini does for JIT access requests
engini connects the request, the identity provider and the systems around them, and runs the steps as workflows or as code.
Access for AI agents. The same question applies to AI agents: what may this agent touch, and through which account? In engini, a toolset limits which tools an agent may call and which connection each one uses, for example read only, and engini enforces it on the server for CLI, SDK and REST API calls. An MCP server is limited to the connections and tools chosen when it is set up. See the toolsets documentation.
What engini does not do. engini does not provision users from your identity provider (SCIM), does not offer just-in-time provisioning of its own users, and has no built-in human approval step before an action. Approvals belong in the system where you already make them, such as Jira, ServiceNow or your identity provider's governance product. If all your privileged access is Entra roles or Okta groups, and your team requests it in the identity provider's own portal, PIM or Okta Access Requests may be all you need, and engini adds little.
For related reading, see ITSM workflow automation, why IT teams stay reactive, AI governance and deterministic orchestration and why enterprise AI needs an agent gateway. Security details are on the engini security page, and every connected system is listed under integrations.
Frequently Asked Questions
What is a JIT access request?
A JIT access request asks for access that is granted for a set time and removed automatically when that time ends. It usually includes the access needed, the reason and the duration.
What is the difference between JIT access and JIT provisioning?
JIT access grants temporary permissions and removes them on time; JIT provisioning creates a user account at first sign-in through single sign-on. They solve different problems and are often confused.
How do you automate access management without an identity governance product?
You can automate intake, grant, expiry and logging with workflows that connect your ticketing system, identity provider and applications. Keep the allowed groups and maximum durations in a fixed list the workflow checks.
Does Okta support time-bound access requests?
Yes, Okta Identity Governance Access Requests lets an admin set when access expires or let requesters choose a duration up to a maximum. Check that your Okta license includes Identity Governance.
Which identity security solutions offer just-in-time access control?
Microsoft Entra Privileged Identity Management and Okta Identity Governance both document time-bound, approval-based access for their roles and groups. Workflows can extend the same pattern to systems they do not govern.
Should an AI agent approve access requests?
No, an AI agent should not decide who gets access. It can read a free-text request and fill in the details, while approval stays with a person or policy in your system of record.