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?

2 Answers 2


I created a script to do this using PowerShell. Comments appreciated.

  • 1
    I'm not a powershell expert, but it seems a sensible approach. My only thought is I'd have iterated over all Web Apps. I mean, if they've been removed from AD, they've been removed from all web apps, right? Your way is probably more efficient, though.
    – Andy Burns
    Dec 23, 2010 at 10:08
  • Good point - I'll have to update the script at some point to do this in one step.
    – dunxd
    Jul 18, 2011 at 14:52

Go to /_layouts/mysubs.aspx page and manage your alerts.

  • We have over 100 site collections with numerous subsites. A user may have setup an alert in any of 500 places. There is no central place to view these - so it is impractical to scour every single place an alert can be set up each time a user leaves the organisation. That is the problem I am trying to solve.
    – dunxd
    Dec 24, 2010 at 12:20

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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