mirror of
https://github.com/KelvinTegelaar/CIPP.git
synced 2026-04-25 08:16:01 +03:00
[GH-ISSUE #4392] [Bug]: Vacation Mode Inconsistent with Additions and Removals #1996
Labels
No labels
API
Feature
NotABug
NotABug
Planned
Sponsor Priority
Sponsor Priority
bug
documentation
duplicate
enhancement
needs more info
no-activity
no-priority
not-assigned
pull-request
react-conversion
react-conversion
roadmap
security
stale
unconfirmed-by-user
unconfirmed-by-user
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/CIPP#1996
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @theknoxtech on GitHub (Jul 2, 2025).
Original GitHub issue: https://github.com/KelvinTegelaar/CIPP/issues/4392
Originally assigned to: @JohnDuprey on GitHub.
Required confirmations before submitting
Issue Description
We have opened a support ticket for this issue, and we wanted to make sure that this was officially reported here as a bug report. When scheduling multiple users in vacation mode, if the same time is selected for each account when adding OR removing the tasks will fail to execute for one or more of the accounts.
We can replicate this on demand. However, the logs show that it executed the task of adding or removing for each account. It isn't until you login to Entra and look at the policy that you find it actually didn't.
We have staggered the accounts in 15 minutes intervals, and this also fails. The only solution that has shown to work is 30 minute intervals between the additions and the removals. However, in our testing if any of the executions happen at the same time whether add and remove or a combination of them there is a high chance of failure.
We feel like this can create an unnecessary attack vector if a removal is not actually performed. For now we will use the 30 minute intervals, but this also takes away from the efficiency of the feature. It has been observed that this issue may be only with multiple accounts at the same time in the same tenant. One test using two tenants but adding the accounts at the same time seemed to work.
Environment Type
Sponsored (paying) user
Front End Version
8.1.1
Back End Version
8.1.1
Relevant Logs / Stack Trace
@github-actions[bot] commented on GitHub (Jul 2, 2025):
Thank you for reporting a potential bug. If you would like to work on this bug, please comment:
Thank you for helping us maintain the project!
@rvdwegen commented on GitHub (Aug 1, 2025):
Hi @theknoxtech,
Could you confirm if this is still happening after the release from a few weeks ago? That included a fix to stagger executions.
@theknoxtech commented on GitHub (Aug 5, 2025):
@rvdwegen
Ok, so I did some testing this morning. It appears that it is still exhibiting the same behavior. I parsed the json from Entra logs and modified values and values before modification. I found something pretty strange.
I added three users all for 9:30am EST this morning. 1 test account was added by itself. The other two were added in the same job.
This is before the commands were executed. There is a group excluded and all users and nothing else.
I then added one user to the exclude in Vacation Mode
In this next screenshot, the this is old value before the next two users I added for the same time frame
And in the logs right after this, the two users are here that were added in one scheduling. But the user I scheduled by itself is not here.
@KelvinTegelaar commented on GitHub (Aug 20, 2025):
Resolved in dev