A user leaves the organisation. Their account is removed from active directory. Their user object does not get removed from Sharepoint, and their alerts remain in place. This generates undeliverable messages each time an alert is sent to the email address in Sharepoint.

How can I tidy up all the alerts for a given user, without having to visit each site and remove the alerts for that user?


I created a script to do this using PowerShell. Comments appreciated, and if anyone has a better way, I'd really like to know.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.