How to Unscribe a user from changes in the last 24 hours email

We are using 4.2.2 and users are configured so that they come from Active Directory which are readonly in conflunce. When a user leaves they are disabled in AD but they still get the email with the changes in the last 24 hours. How can I disable this email from going to users that are disabled in AD?

Unfortunately Confluence does not sync the "disabled" flag from Active Directory, so it has no way of knowing that the user is disabled. There is an open feature request to have this added CONF-24786, so if you'd like to see this added, please add your vote to this issue, and feel free to add yourself as a watcher to keep updated on any progress. If this request was implemented, then any user disabled in AD would not receive the email, as they would be flagged inactive automatically in Confluence.

One workaround you could use, as mentioned in the request, is to add a check in the user filter for the disabled flag, which means users who are disabled will no longer sync to Confluence. For example you could use something like this to fetch every user who is not disabled:

This workaround has the disadvantage that any history for that user in Confluence will be displayed either only by their username, or as "Anonymous".

An alternative workaround which would still preserve the user details in document history, is to add to the process that any users disabled in AD also have any groups which give them access to Confluence removed too. If a user is synchronised but is not a member of any groups with access, they should not receive this email.

I have used the workaround remove user from all groups in confluence.

You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.