|
| 1 | +--- |
| 2 | +title: "Just-In-Time (JIT) Access for Mendix on Azure" |
| 3 | +url: /developerportal/deploy/mendix-on-azure/jit-requests/ |
| 4 | +description: "Describes Just-In-Time access requests and approval workflows for Mendix on Azure environments." |
| 5 | +weight: 15 |
| 6 | +--- |
| 7 | + |
| 8 | +## Introduction |
| 9 | + |
| 10 | +Mendix on Azure offers two security models to meet different organizational requirements: |
| 11 | + |
| 12 | +* **Standard Plan** – Traditional model with always-available Owner-level permissions |
| 13 | +* **JIT-Enabled Plan** – Enhanced security model with Just-In-Time elevation of privileges |
| 14 | + |
| 15 | +This document explains how the JIT-enabled plan works and how to manage JIT approval requests. |
| 16 | + |
| 17 | +## What is JIT? |
| 18 | + |
| 19 | +**Just-In-Time (JIT)** is a security feature that provides elevated Azure permissions only when needed and only for a limited time. Instead of having standing Owner-level credentials that are always available, JIT environments require explicit approval before infrastructure operations can be performed. |
| 20 | + |
| 21 | +### Benefits of JIT |
| 22 | + |
| 23 | +JIT access provides the following benefits: |
| 24 | + |
| 25 | +* **Reduced blast radius** – Minimize the impact of potential security incidents by limiting standing privileges |
| 26 | +* **Improved auditability** – Track and approve all privileged operations |
| 27 | +* **Compliance** – Meet enterprise security requirements for minimal standing privileges |
| 28 | +* **Control** – Maintain explicit control over when elevated permissions are granted |
| 29 | + |
| 30 | +## Plan Types |
| 31 | + |
| 32 | +### Standard Plan |
| 33 | + |
| 34 | +* Owner-level credentials are **always available** |
| 35 | +* No approval required for infrastructure changes |
| 36 | +* Traditional user experience with immediate provisioning |
| 37 | +* Suitable for environments where speed is prioritized over strict privilege controls |
| 38 | + |
| 39 | +### JIT-Enabled Plan |
| 40 | + |
| 41 | +* Owner-level credentials are granted **only when approved** |
| 42 | +* Explicit customer approval required for infrastructure operations |
| 43 | +* Enhanced security with time-limited token access |
| 44 | +* Suitable for organizations with strict compliance and security requirements |
| 45 | + |
| 46 | +When deploying Mendix on Azure from the Azure Marketplace, you can select the JIT-enabled plan from the **Plan** dropdown: |
| 47 | + |
| 48 | +{{< figure src="/attachments/deployment/mx-azure/jit-plan-selection.png" alt="Azure Marketplace plan selection showing JIT and Standard options" class="no-border" >}} |
| 49 | + |
| 50 | +After selecting the JIT plan, configure the JIT access settings in the **JIT Configuration** step: |
| 51 | + |
| 52 | +{{< figure src="/attachments/deployment/mx-azure/jit-enable-access.png" alt="Enable JIT access configuration" class="no-border" >}} |
| 53 | + |
| 54 | +Set the **Activation maximum duration** to 8 hours and choose **Automatic** approval mode for scheduled upgrades: |
| 55 | + |
| 56 | +{{< figure src="/attachments/deployment/mx-azure/jit-8hour-configuration.png" alt="JIT 8-hour activation duration configuration" class="no-border" >}} |
| 57 | + |
| 58 | +{{% alert color="info" %}} |
| 59 | +Setting the **Activation maximum duration** to 8 hours ensures JIT API calls complete successfully during the approval window. Shorter durations may cause API call failures. |
| 60 | +{{% /alert %}} |
| 61 | + |
| 62 | +{{% alert color="info" %}} |
| 63 | +Your plan type is displayed in the portal environment details and environment configuration page. |
| 64 | +{{% /alert %}} |
| 65 | + |
| 66 | +After deployment, you can view your plan type in the Infrastructure Details panel: |
| 67 | + |
| 68 | +{{< figure src="/attachments/deployment/mx-azure/jit-infrastructure-details.png" alt="Infrastructure Details panel showing JIT plan type" class="no-border" >}} |
| 69 | + |
| 70 | +## When JIT Approval is Required |
| 71 | + |
| 72 | +JIT approval is required for the following operations on JIT-enabled environments: |
| 73 | + |
| 74 | +### Environment Creation |
| 75 | + |
| 76 | +When creating a new JIT-enabled environment, approval is needed before the infrastructure can be provisioned. |
| 77 | + |
| 78 | +### Environment Configuration Changes |
| 79 | + |
| 80 | +Modifications to environment settings that require Azure role assignments. |
| 81 | + |
| 82 | +### Scheduled Infrastructure Upgrades |
| 83 | + |
| 84 | +Quarterly or ad-hoc infrastructure upgrades require approval before execution. |
| 85 | + |
| 86 | +### Role Assignment Operations |
| 87 | + |
| 88 | +Any Terraform operations that modify Azure IAM roles and permissions. |
| 89 | + |
| 90 | +{{% alert color="info" %}} |
| 91 | +Standard Plan environments bypass all JIT workflows and operate with traditional permissions. |
| 92 | +{{% /alert %}} |
| 93 | + |
| 94 | +## Requesting JIT Approval |
| 95 | + |
| 96 | +### For Environment Creation or Modifications |
| 97 | + |
| 98 | +To request JIT approval for environment creation or modifications, do the following: |
| 99 | + |
| 100 | +1. Create or edit your environment through the Mendix on Azure portal. |
| 101 | + |
| 102 | + For JIT-enabled environments, the portal automatically creates a JIT approval request. |
| 103 | + |
| 104 | +2. Navigate to the Azure Portal and open your Managed Application. |
| 105 | + |
| 106 | +3. Go to the **JIT Requests** page to view pending approval requests. |
| 107 | + |
| 108 | +4. Review the operation details. |
| 109 | + |
| 110 | +5. Choose **Approve** or **Deny**. |
| 111 | + |
| 112 | +Once approved, the portal detects the approval status and infrastructure provisioning continues automatically. You can monitor the operation status in the portal. |
| 113 | + |
| 114 | +### For Scheduled Infrastructure Upgrades |
| 115 | + |
| 116 | +To request JIT approval for scheduled infrastructure upgrades, do the following: |
| 117 | + |
| 118 | +1. Check your email for an upgrade notification from the Mendix team. |
| 119 | + |
| 120 | + The email contains the following: |
| 121 | + |
| 122 | + * Scheduled upgrade date and time |
| 123 | + * List of affected JIT environments |
| 124 | + * Approval request for each environment |
| 125 | + |
| 126 | +2. Review and approve the JIT request before the scheduled upgrade window. |
| 127 | + |
| 128 | + Multiple environments can be approved in batch. |
| 129 | + |
| 130 | +Approved environments are upgraded during the scheduled window. Denied or expired approvals result in the environment being skipped. You receive a status report after the upgrade completes. |
| 131 | + |
| 132 | +## JIT Request Lifecycle |
| 133 | + |
| 134 | +A JIT request progresses through the following stages: |
| 135 | + |
| 136 | +1. **Request Created** – The request is initiated when you create or modify an environment, or when a scheduled upgrade is planned. |
| 137 | + |
| 138 | +2. **Pending** – The request awaits customer approval. |
| 139 | + |
| 140 | +3. **Approved or Denied** – You approve or deny the request via the Azure Portal JIT Requests page. |
| 141 | + |
| 142 | +4. **Executing** – If approved, the infrastructure operation begins. |
| 143 | + |
| 144 | +5. **Complete or Failed** – The operation finishes successfully or encounters an error. |
| 145 | + |
| 146 | +### Request Statuses |
| 147 | + |
| 148 | +The following table describes the possible statuses of a JIT request: |
| 149 | + |
| 150 | +| Status | Description | User Action Required | |
| 151 | +|--------|-------------|----------------------| |
| 152 | +| **Pending** | Awaiting customer approval | Review and approve or deny | |
| 153 | +| **Approved** | Approved and ready for execution | None – portal proceeds automatically | |
| 154 | +| **Denied** | Customer denied the request | Operation canceled | |
| 155 | +| **Expired** | Approval window closed | Request new operation | |
| 156 | +| **Executing** | Infrastructure operation in progress | Monitor progress | |
| 157 | +| **Complete** | Operation finished successfully | None | |
| 158 | +| **Failed** | Operation encountered an error | Review error, contact support if needed | |
| 159 | + |
| 160 | +## Understanding JIT Request Status |
| 161 | + |
| 162 | +### In the Portal |
| 163 | + |
| 164 | +Navigate to your environment details page to view the following: |
| 165 | + |
| 166 | +* **Current JIT Request Status** – Shows pending, approved, or executing |
| 167 | +* **Request ID** – Unique identifier for the JIT request |
| 168 | +* **Created Time** – When the request was initiated |
| 169 | +* **Approval or Denial Time** – When action was taken |
| 170 | +* **Expiration Time** – Deadline for approval |
| 171 | + |
| 172 | + |
| 173 | +## Scheduled Infrastructure Upgrades |
| 174 | + |
| 175 | +### Overview |
| 176 | + |
| 177 | +The Mendix on Azure team performs scheduled infrastructure upgrades on a quarterly basis. For JIT-enabled environments, approval is required before these upgrades can proceed. |
| 178 | + |
| 179 | +### Process |
| 180 | + |
| 181 | +The scheduled infrastructure upgrade process follows these stages: |
| 182 | + |
| 183 | +1. **Schedule Creation (T-14 days)** – The Mendix team schedules the upgrade release and sets the target date and time in the back office. |
| 184 | + |
| 185 | +2. **JIT Request Generation (T-7 days)** – The portal identifies all JIT environments, creates individual JIT approval requests, and sends email notifications to environment owners. |
| 186 | + |
| 187 | +3. **Approval Window (T-7 to T-0)** – Customers review and approve or deny requests. The portal continuously polls approval status, and approval tracking is available in the portal. |
| 188 | + |
| 189 | +4. **Execution (Scheduled Time)** – The portal triggers Spacelift for all approved JIT environments. Standard plan environments proceed automatically. Execution status is displayed per environment. |
| 190 | + |
| 191 | +5. **Post-Execution (T+1 day)** – A status report is sent to all customers. Failed executions create Jira tickets for tracking. Denied or expired environments are listed in the report. |
| 192 | + |
| 193 | +### Auto-Approval Option |
| 194 | + |
| 195 | +For scheduled upgrades within your approved maintenance windows, you can configure auto-approval when purchasing the JIT offering: |
| 196 | + |
| 197 | +* Specify approved time windows with a minimum of 8 hours (for example, "Sundays 2-10 AM UTC") |
| 198 | +* JIT requests during approved windows are automatically approved |
| 199 | +* You still receive notifications for audit purposes |
| 200 | + |
| 201 | +## Frequently Asked Questions |
| 202 | + |
| 203 | +### How Long Does a JIT Approval Last? |
| 204 | + |
| 205 | +JIT approvals are time-limited. For on-demand operations (environment creation or modification), approvals are valid for 2 hours. For scheduled upgrades, approvals are valid until the scheduled execution window. |
| 206 | + |
| 207 | +### Can I Approve Multiple Environments at Once? |
| 208 | + |
| 209 | +Yes, you can approve JIT requests for multiple environments from the Azure Portal JIT Requests page. |
| 210 | + |
| 211 | +### What Happens if I Do Not Approve in Time? |
| 212 | + |
| 213 | +The JIT request expires and the operation is canceled. For environment creation, you must restart the provisioning process. For scheduled upgrades, your environment is skipped and remains on the current infrastructure version. |
| 214 | + |
| 215 | +### Can I Switch from Standard Plan to JIT-Enabled Plan? |
| 216 | + |
| 217 | +Plan changes are managed through the Microsoft Marketplace. Contact your Mendix account team for guidance on plan migration. |
| 218 | + |
| 219 | +### Do I Need Approval for Every Operation? |
| 220 | + |
| 221 | +JIT approval is required only for operations that involve Azure role assignments or infrastructure changes. Day-to-day application operations (deployments, scaling, monitoring) do not require JIT approval. |
| 222 | + |
| 223 | +### Who Can Approve JIT Requests? |
| 224 | + |
| 225 | +Users with Owner or Contributor roles on the Azure subscription where Mendix on Azure is deployed can approve JIT requests. |
| 226 | + |
| 227 | +### What if My Approval Request Is Stuck in Pending? |
| 228 | + |
| 229 | +If a request shows Pending for an extended period: |
| 230 | + |
| 231 | +1. Navigate to the Azure Portal JIT Requests page. |
| 232 | +2. Verify the request has not expired. |
| 233 | +3. Check the portal for status updates. |
| 234 | +4. Contact Mendix support if the issue persists. |
| 235 | + |
| 236 | +### Can I View Historical JIT Requests? |
| 237 | + |
| 238 | +Yes, historical JIT requests are available in the Azure Portal's JIT Requests page. |
| 239 | + |
| 240 | +## Troubleshooting |
| 241 | + |
| 242 | +### Auto-approved JIT request still showing as Pending |
| 243 | + |
| 244 | +**Symptoms:** JIT request scheduled within auto-approval window still shows Pending status. |
| 245 | + |
| 246 | +**Resolution:** |
| 247 | + |
| 248 | +* Verify auto-approval configuration was set when purchasing the offering |
| 249 | +* Check that current time is within the approved 8-hour window |
| 250 | +* Wait 5-10 minutes for status polling to detect approval |
| 251 | +* Contact support if issue persists beyond scheduled time |
| 252 | + |
| 253 | +### Manual approval shows "Skipped - already approved" |
| 254 | + |
| 255 | +**Symptoms:** Attempting to approve a JIT request shows message "Skipped JIT Request - It is already in approved state." |
| 256 | + |
| 257 | +**Resolution:** |
| 258 | + |
| 259 | +* This is informational – the request has already been approved |
| 260 | +* No further action needed |
| 261 | +* Infrastructure operation proceeds with existing approval |
| 262 | + |
| 263 | +### Old pending requests not expiring |
| 264 | + |
| 265 | +**Symptoms:** JIT requests from previous days still showing as Pending instead of Expired or Failed. |
| 266 | + |
| 267 | +**Resolution:** |
| 268 | + |
| 269 | +* The system automatically expires requests after 24 hours |
| 270 | +* Contact support if requests remain pending beyond expiration period |
| 271 | +* New requests can be created for the same operation |
| 272 | + |
| 273 | +### Failed infrastructure upgrade |
| 274 | + |
| 275 | +**Symptoms:** JIT request was approved but infrastructure upgrade failed. |
| 276 | + |
| 277 | +**Resolution:** |
| 278 | + |
| 279 | +* The Mendix engineering team is notified automatically |
| 280 | +* You are contacted for any required actions |
| 281 | +* Contact Mendix support if you need immediate assistance |
| 282 | + |
| 283 | +### Cannot add manual approver |
| 284 | + |
| 285 | +**Symptoms:** Unable to add a manual approver for JIT requests. |
| 286 | + |
| 287 | +**Resolution:** |
| 288 | + |
| 289 | +* Contact Microsoft support for assistance with adding manual approvers to your subscription |
0 commit comments