mirror of
https://github.com/KelvinTegelaar/CIPP.git
synced 2026-04-25 16:26:09 +03:00
[GH-ISSUE #5277] [Bug]: Disable Security Defaults is applied after policy deployment #2536
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#2536
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 @sfaxluke on GitHub (Jan 28, 2026).
Original GitHub issue: https://github.com/KelvinTegelaar/CIPP/issues/5277
Originally assigned to: @kris6673 on GitHub.
Required confirmations before submitting
Issue Description
When deploying a CA policy and selecting "Disable Security defaults if enabled when creating policy", it errors on the deployment of the policy due to security defaults being enabled.
It feels like because these actions are performed back to back there is not enough of a delay for the policy creation to succeed.
To note that if I give it 5m (or there abouts) and click the redeploy policy button again it works without fault, so it has processed the disable security defaults. I don't know if it's worth having a check if SD is a disabled job that runs every 10s for a minute or so, and once it succeeds, then it issues the CA policy deployment. Maybe trigger the delay mechanism if SD is detected as enabled, otherwise if it is disabled, then send the policy change straight to graph?
Environment Type
Sponsored (paying) user
Front End Version
10.0.0.3
Back End Version
10.0.0.5
Relevant Logs / Stack Trace
@github-actions[bot] commented on GitHub (Jan 28, 2026):
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!
@kris6673 commented on GitHub (Feb 14, 2026):
I would like to work on this please!
@github-actions[bot] commented on GitHub (Feb 14, 2026):
Great! I assigned you (@kris6673) to the issue. Have fun working on it!
@KelvinTegelaar commented on GitHub (Feb 16, 2026):
Improved in CA deployment