Hi, @Jeanne McGaffigan ,
Based on your description, I assume the alert issue only occurs on the lists in site collections which go through a DB upgrade migration. And for the part
Some lists in these site collections had existing alerts. These alerts are no longer working. If you set a new alert, you get the initial email that an alert has been set.
do you mean only old alerts failed or newly created alerts are also not working?
If newly created alerts work, it may be better to simply recreate all the alerts. And do you have any information from the support team?
Update:
Here is the script for Alert URL
#Variables
$WebURL = "<SiteName>"
$ListName="<ListName>"
#Get the Web and List objects
$Web = Get-SPWeb $WebURL
$List = $web.Lists.TryGetList($ListName)
$alertsToDelete = @()
#Get All Alerts created in the list - Which are Active
$ListAlerts = $Web.Alerts | Where-Object {($_.List.Title -eq $List.Title)}
foreach($alert in $ListAlerts)
{
write-host $alert.title "belongs to " $alert.list.parentweb.url
}
If an Answer is helpful, please click "Accept Answer" and upvote it.
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.