[GH-ISSUE #4837] [Bug]: Removing all assignments on an existing drift template behaves as allTenants assignment #2259

Closed
opened 2026-03-02 13:50:53 +03:00 by kerem · 5 comments
Owner

Originally created by @Ben-Err on GitHub (Oct 16, 2025).
Original GitHub issue: https://github.com/KelvinTegelaar/CIPP/issues/4837

Originally assigned to: @Ben-Err on GitHub.

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

Removing all assignments on an existing drift standard behaves as allTenants assignment. The template shows "No data" in the assigned tenants column in the (/tenant/standards/list-standards/classic-standards) Template table, but will appear assigned to all tenants in (/tenant/standards/list-standards) Standard & Drift Alignment and function accordingly.

  1. Create a drift template with some assignment to a tenant and save it
  2. Edit the template and remove all tenant assignments, then save
  3. Check Standards list, should show up almost immediately

Environment Type

Sponsored (paying) user

Front End Version

8.5.2

Back End Version

8.5.2

Relevant Logs / Stack Trace


Originally created by @Ben-Err on GitHub (Oct 16, 2025). Original GitHub issue: https://github.com/KelvinTegelaar/CIPP/issues/4837 Originally assigned to: @Ben-Err on GitHub. ### 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 Removing all assignments on an existing drift standard behaves as allTenants assignment. The template shows "No data" in the assigned tenants column in the (*/tenant/standards/list-standards/classic-standards) Template table, but will appear assigned to all tenants in (*/tenant/standards/list-standards) Standard & Drift Alignment and function accordingly. 1. Create a drift template with some assignment to a tenant and save it 2. Edit the template and remove all tenant assignments, then save 3. Check Standards list, should show up almost immediately ### Environment Type Sponsored (paying) user ### Front End Version 8.5.2 ### Back End Version 8.5.2 ### Relevant Logs / Stack Trace ```plaintext ```
Author
Owner

@github-actions[bot] commented on GitHub (Oct 16, 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:3413157212 --> @github-actions[bot] commented on GitHub (Oct 16, 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

@Ben-Err commented on GitHub (Oct 16, 2025):

I would like to work on this please!

<!-- gh-comment-id:3413157628 --> @Ben-Err commented on GitHub (Oct 16, 2025): I would like to work on this please!
Author
Owner

@github-actions[bot] commented on GitHub (Oct 16, 2025):

Great! I assigned you (@Ben-Err) to the issue. Have fun working on it!

<!-- gh-comment-id:3413157997 --> @github-actions[bot] commented on GitHub (Oct 16, 2025): Great! I assigned you (@Ben-Err) to the issue. Have fun working on it!
Author
Owner

@Ben-Err commented on GitHub (Oct 16, 2025):

Let me know if I can provide more information or logs for this.

<!-- gh-comment-id:3413167358 --> @Ben-Err commented on GitHub (Oct 16, 2025): Let me know if I can provide more information or logs for this.
Author
Owner

@KelvinTegelaar commented on GitHub (Oct 17, 2025):

Fixed in dev

<!-- gh-comment-id:3414364120 --> @KelvinTegelaar commented on GitHub (Oct 17, 2025): Fixed in dev
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#2259
No description provided.