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?
They may still active on watching list. for the sapce or email setting.
Make the user open the setting menu under their user name on the top right corner next to search field.
Click on Email and then edit button.
Untick the Subscribe to daily updates
Click on submit.
It should stop daily updates.
I hope this help.
After contacting support their reply
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.
Connect with like-minded Atlassian users at free events near you!Find a group
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no AUG chapters near you at the moment.Start an AUG
We're bringing product updates and pro tips on teamwork to ten cities around the world.Save your spot