Forum Discussion
TonyRedmond
Oct 23, 2024MVP
How to Force Users to Sign in Weekly
A recent question asked how to force users to reauthenticate at 7AM every Monday. The solution seems to revoke access for user accounts. This article describes how to create an Azure automation runbook (PowerShell script) to find target accounts and revoke their access. By linking the runbook to an automation schedule, we can make sure that revocation happens at the desired time.
https://office365itpros.com/2024/10/23/revoke-access-for-user-accounts/
4 Replies
Sort By
- sierra-upsteam-1999Copper ContributorForcing users to sign in weekly can be a bit of a hassle, but using an Azure automation runbook sounds like a solid plan. Just set it up to revoke access at the right time, and you’ll have them reauthenticating without too much trouble.
- KingsleyUCopper Contributor
Thanks for the article. But, I think the feature should be part of Entra ID as it is a common requirement in organizations.
- I merely report the facts. Feel free to advocate for change by making your opinion known to Microsoft. If you have facts to back the assertion that a common requirement exists for many organizations, I am sure that Microsoft would be interested in that data too.
- KingsleyUCopper Contributor
The closest one is the conditional access policy but doesn't have the flexibility to specify a particular day, as you described,, simply 7 days intervals.
https://learn.microsoft.com/en-us/entra/identity/conditional-access/concept-session-lifetime
Thanks.