mirror of
https://github.com/KelvinTegelaar/CIPP.git
synced 2026-04-25 16:26:09 +03:00
[GH-ISSUE #5300] [Bug]: Standard Template: Disable Guest accounts that have not logged on for a number of days #2549
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#2549
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 @NetSolEL on GitHub (Jan 30, 2026).
Original GitHub issue: https://github.com/KelvinTegelaar/CIPP/issues/5300
Required confirmations before submitting
Issue Description
In the standard templates there is a policy called:
Disable Guest accounts that have not logged on for a number of days
The requested value for this policy is 90 days.
We have remediated this policy for our tenants.
It seems, that this policy was updated somewhen yesterday, January 29, as it started disabling guest accounts yesterday around 9pm local time (GMT+1), with interactive sign-in dates prior the 90 days. Until then, this policy also checked the non-interactive sign-ins.
Since yesterday, it only refers to the interactive sign-in date, which is usually older and sometimes exceeds the 90 days, although there are non-interactive sign-ins a few days ago.
We believe, this policy should check both sign-in types (interactive and non-interactive) and only disable accounts, where both dates are older than 90 days.
Directory Audits - rsgroupbiz.onmicrosoft.com.pdf
We have actually set the appropriate policy to "Report" instead of "Remediate", until this is fixed.
Environment Type
Non-sponsored user
Front End Version
v10.0.6
Back End Version
v10.0.7
Relevant Logs / Stack Trace
@github-actions[bot] commented on GitHub (Jan 30, 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!
@KelvinTegelaar commented on GitHub (Jan 30, 2026):
Update to the latest version.
@NetSolEL commented on GitHub (Jan 30, 2026):
Here is an example of a guest account, that was disabled by this policy, due to the interactive sign-in date:
But the non-interactive sign-in date is from yesterday and this guest account actively used his account, as I checked with him.
@NetSolEL commented on GitHub (Jan 30, 2026):
There is no update, when I check for it:
@inventitinkoop commented on GitHub (Jan 30, 2026):
Same issue here. Also no update available. We are running on 10.0.6
@kris6673 commented on GitHub (Jan 30, 2026):
It was fixed in v10.0.7 of the backend. You can run this script to fix it: https://discord.com/channels/905453405936447518/1199069319850639410/1466748257211252827
or
https://gist.github.com/kris6673/bbbca0768ccce1e6960f6e51457987d0