mirror of
https://github.com/KelvinTegelaar/CIPP.git
synced 2026-04-25 16:26:09 +03:00
[GH-ISSUE #4524] [Bug]: Get-CIPPAlertNoCAConfig.ps1 zero count validation issues #2080
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#2080
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 @MWG-Logan on GitHub (Aug 14, 2025).
Original GitHub issue: https://github.com/KelvinTegelaar/CIPP/issues/4524
Originally assigned to: @MWG-Logan on GitHub.
Required confirmations before submitting
Issue Description
Description
Get-CIPPAlertNoCAConfig.ps1 does not currently account for zero-count
AAD_PREMIUMsubscriptions (which can happen during suspensions), causing false positives in some cases. In layman's terms, the alert suggests a feature is available when it truly is not.Reproduction
Alert on tenants without a Conditional Access policy, while having Conditional Access licensing available..AAD_PREMIUMgranting entry in /subscribedSkus whereprepaidUnits.enabled -eq 0.Proposed resolution
Add zero count catches in the function code to indicate that
prepaidUnits.enabled -eq 0does not count as CA granting.Environment Type
Sponsored (paying) user
Front End Version
v8.3.0
Back End Version
v8.3.0
Relevant Logs / Stack Trace
@github-actions[bot] commented on GitHub (Aug 14, 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!
@MWG-Logan commented on GitHub (Aug 14, 2025):
I would like to work on this please!
@github-actions[bot] commented on GitHub (Aug 14, 2025):
Great! I assigned you (@MWGMorningwood) to the issue. Have fun working on it!
@MWG-Logan commented on GitHub (Aug 18, 2025):
Merged in dev