Hope some of you can point me to a solution. I have a scenario where a user had alerts on a particular list/library in SharePoint 2013 (on-prem). That user was terminated and the account has been deleted.
Is there a way to do the following:
1) delete the alert that I know about
2) check to see if there are other alerts the user had so that they can be deleted
I know I can delete my own alerts, but don’t know how to delete someone else’s even if as administrator created them initially.
Is this something that can be done through PowerShell? (if so, how do I do it). I’ve not found a way through the GUI to accomplish this.
If it requires 3rd party add-ons, please tell me your recommendations.
Hi Robin,
Please check this link which talks about a codeplex solution to delete orphan users and associated alerts. http://sharepointburger.wordpress.com/2010/08/13/cleanup-orphaned-users-and-alerts/
Also, you can use third party tool such as bamboo to delete orphaned user alerts in SP 2013 – http://store.bamboosolutions.com/sharepoint-alerts-administrator.aspx. Personally, I have not used this tool but believe it will work for you.
You can use this script http://geekswithblogs.net/kjones/archive/2012/04/24/149404.aspx which gets all alerts in a site, loops through its users and checks if the user is available in active directory or not. If not, it adds the alert to a list of alerts to delete.