I want to automate the deletion of Outlook 2010/2013 Suggested Contacts for a bunch of Exchange users but only for addresses in a particular mail domain.
I can find a lot of information on purging this folder but not a lot on parsing it with a script. I know that the Suggested contacts are a special form of folder stored in the users mailbox, so is Outlook scripting the best answer here? Can I interact with the Suggested Contacts folder like I would interact with a mail folder? Should I be doing this on the Exchange server side instead?
The closest I could see of you doing this, would be Glen's script here:
Clearing the Suggested Contacts via Powershell
using EWS (Exchange Web Services) to do it.
HOWEVER, that clears the whole folder, and the script isn't really designed as a loop for all mailboxes in the org.
I tried to think of a way myself to filter it down to delete only particular addresses, but no luck.
What's funny is the latest comment is about doing what you are asking, was that you?
I think your best bet is going to be to create Work Instructions for the users to follow on how to view their "Suggested Contacts" folder in Outlook and delete it manually.
For example:
That's pretty simple to follow if you give screenshots, etc. For those few that can't follow simple instructions, just have a tech handle them manually.