Delete Duplicate Contacts

61 views
Skip to first unread message

Don Beck

unread,
Nov 10, 2021, 8:55:27 AM11/10/21
to GAM for Google Workspace
Here's the scenario:

Our Google Reseller has a sync service that pushes out contacts to everyone in our company.  The sync had an issue and now we have a bunch of duplicate contacts.  The contacts that we want to keep have specific lables and the duplicates do not.  I would like to be able to delete all these duplicate contacts and keep the ones with the lables.  There are a total of 5 lables.  Our users also have personal contacts that have no lables, so I want to make sure I do not delete those.

This is not the first time this has happened so I'd also be interested if there is a way to push these contacts out to everyone in the company using GAM instead of the sync service.

I'm running GAMADV-XTD3  v6.08.31


Brian Kim

unread,
Nov 11, 2021, 6:38:08 AM11/11/21
to GAM for Google Workspace
One time push of contacts are perfectly doable. Keeping information in sync is difficult without a database. Otherwise you will soon be hitting People API limits/quotas.

gam user username print contactgroups

will show you the ID/name of the contact groups/labels for the user.

You can then use that information to filter user's contacts with

gam user username print contacts 

Reply all
Reply to author
Forward
0 new messages