[GH-ISSUE #4330] [Bug]: Offboarding Wizard always schedules for now #1959

Closed
opened 2026-03-02 13:48:30 +03:00 by kerem · 3 comments
Owner

Originally created by @DaRacci on GitHub (Jun 23, 2025).
Original GitHub issue: https://github.com/KelvinTegelaar/CIPP/issues/4330

Required confirmations before submitting

  • I can reproduce this issue on the latest released versions of both CIPP and CIPP-API.
  • I have searched existing issues (both open and closed) to avoid duplicates.
  • I am not requesting general support; this is an actual bug report.

Issue Description

When making an scheduled Offboarding using the Wizard despite adding a scheduled date and that being visible in the task parameters of the scheduled task when added to the scheduler its added at the current time.

I've ensured that my CIPP & CIPP-API are up to date, I've restarted the CIPP-API function but this still persists.
Adding a Job to the scheduler manually using the "Add Job" button works correctly.

The API Response for one of these tasks is as follows:

[
  {
    "key": "User",
    "value": [
      {
        "label": "***",
        "value": "***",
        "addedFields": {}
      }
    ]
  },
  {
    "key": "Disable Forwarding",
    "value": false
  },
  {
    "key": "Remove MFA Devices",
    "value": false
  },
  {
    "key": "Disable Sign In",
    "value": false
  },
  {
    "key": "Revoke Sessions",
    "value": true
  },
  {
    "key": "Remove Licenses",
    "value": false
  },
  {
    "key": "Remove Permissions",
    "value": false
  },
  {
    "key": "Reset Pass",
    "value": false
  },
  {
    "key": "Post Execution",
    "value": {
      "webhook": false,
      "email": true,
      "psa": false
    }
  },
  {
    "key": "Convert To Shared",
    "value": true
  },
  {
    "key": "Keep Copy",
    "value": false
  },
  {
    "key": "Tenant",
    "value": {
      "value": "***",
      "label": "***",
      "type": "Tenant",
      "addedFields": {
        "defaultDomainName": "***",
        "displayName": "***",
        "customerId": "***"
      }
    }
  },
  {
    "key": "Remove Mobile",
    "value": false
  },
  {
    "key": "Delete User",
    "value": false
  },
  {
    "key": "Clear Immutable Id",
    "value": false
  },
  {
    "key": "Hide From GAL",
    "value": false
  },
  {
    "key": "Remove Rules",
    "value": false
  },
  {
    "key": "Remove Groups",
    "value": true
  },
  {
    "key": "Remove Calendar Invites",
    "value": false
  },
  {
    "key": "Scheduled",
    "value": {
      "enabled": true,
      "date": 1751032800
    }
  }
]

Environment Type

Non-sponsored user

Front End Version

v8.1.0

Back End Version

v8.1.0

Relevant Logs / Stack Trace


Originally created by @DaRacci on GitHub (Jun 23, 2025). Original GitHub issue: https://github.com/KelvinTegelaar/CIPP/issues/4330 ### Required confirmations before submitting - [x] **I can reproduce this issue on the latest released versions** of both CIPP and CIPP-API. - [x] **I have searched existing issues** (both open and closed) to avoid duplicates. - [x] I am **not** requesting general support; this is an actual bug report. ### Issue Description When making an scheduled Offboarding using the Wizard despite adding a scheduled date and that being visible in the task parameters of the scheduled task when added to the scheduler its added at the current time. I've ensured that my CIPP & CIPP-API are up to date, I've restarted the CIPP-API function but this still persists. Adding a Job to the scheduler manually using the "Add Job" button works correctly. The API Response for one of these tasks is as follows: ``` [ { "key": "User", "value": [ { "label": "***", "value": "***", "addedFields": {} } ] }, { "key": "Disable Forwarding", "value": false }, { "key": "Remove MFA Devices", "value": false }, { "key": "Disable Sign In", "value": false }, { "key": "Revoke Sessions", "value": true }, { "key": "Remove Licenses", "value": false }, { "key": "Remove Permissions", "value": false }, { "key": "Reset Pass", "value": false }, { "key": "Post Execution", "value": { "webhook": false, "email": true, "psa": false } }, { "key": "Convert To Shared", "value": true }, { "key": "Keep Copy", "value": false }, { "key": "Tenant", "value": { "value": "***", "label": "***", "type": "Tenant", "addedFields": { "defaultDomainName": "***", "displayName": "***", "customerId": "***" } } }, { "key": "Remove Mobile", "value": false }, { "key": "Delete User", "value": false }, { "key": "Clear Immutable Id", "value": false }, { "key": "Hide From GAL", "value": false }, { "key": "Remove Rules", "value": false }, { "key": "Remove Groups", "value": true }, { "key": "Remove Calendar Invites", "value": false }, { "key": "Scheduled", "value": { "enabled": true, "date": 1751032800 } } ] ``` ### Environment Type Non-sponsored user ### Front End Version v8.1.0 ### Back End Version v8.1.0 ### Relevant Logs / Stack Trace ```plaintext ```
Author
Owner

@github-actions[bot] commented on GitHub (Jun 23, 2025):

Thank you for reporting a potential bug. If you would like to work on this bug, please comment:

I would like to work on this please!

Thank you for helping us maintain the project!

<!-- gh-comment-id:2994803556 --> @github-actions[bot] commented on GitHub (Jun 23, 2025): Thank you for reporting a potential bug. If you would like to work on this bug, please comment: > I would like to work on this please! Thank you for helping us maintain the project!
Author
Owner

@TallgeeseVIII commented on GitHub (Jun 23, 2025):

Same issue occurring on my end.
My colleague scheduled an offboarding but it occurred immediately.

Image

<!-- gh-comment-id:2994860075 --> @TallgeeseVIII commented on GitHub (Jun 23, 2025): Same issue occurring on my end. My colleague scheduled an offboarding but it occurred immediately. ![Image](https://github.com/user-attachments/assets/b51d6fd1-9910-4648-9e24-978c1abb696b)
Author
Owner

@JohnDuprey commented on GitHub (Jul 1, 2025):

This should be resolved in 8.1.1

<!-- gh-comment-id:3025833138 --> @JohnDuprey commented on GitHub (Jul 1, 2025): This should be resolved in 8.1.1
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/CIPP#1959
No description provided.