Delete User/Mail from Directory under Google Contacts

13 views
Skip to first unread message

Semih Bekiroğlu

unread,
Mar 25, 2025, 5:49:27 PM (4 days ago) Mar 25
to GAM for Google Workspace
Hello, I created a contact using the code
gam csv exchangeusers.csv gam create contact name "~name" email work "~email" primary

I organized the CSV file incorrectly. The email addresses in the CSV file were existing email addresses in Google Workspace. There was a duplicate of users in the Directory tab under Google Contacts. How can I fix this?

The Google Contacts link of the users I created later: https://contacts.google.com/person/dCAUYpsav9oC9j5MPMhUxMDAzMTQzNDI4NDU0MzQ0OTQxOTM

The Google Contacts link of the users I created earlier as add user in the Google Workspace panel: https://contacts.google.com/person/106531821477587630999

This code will not work. Because the user emails I added are not under othercontacts. They are under Google Contact / Directory.
gam user <User Email Address> delete other contacts <Resource Name>


image.png


Regards
Semih

Reply all
Reply to author
Forward
0 new messages