Using My Contacts for managing Domain Shared Contacts

110 views
Skip to first unread message

Steve Larsen

unread,
Oct 11, 2019, 9:51:56 AM10/11/19
to Google Apps Manager
I wanted an easy way to manage the contacts that get sent to the domain shared contacts so I thought why not just store them in a user account with a specific label and then push to the dsc when needed. I was able to pull the gal and send to a user with the following command

gam print gal formatjson quotechar "'" | gam csv - quotechar "'" gam user steve create contacts json ~JSON contactgroup "System Group: My Contacts"

So I figured something like the following would work if I tried to take contacts labeled DomainContacts in my account and send them to the domain shared contacts. And Voila!

gam user steve print contacts contactgroup DomainContacts formatjson quotechar "'" | gam csv - quotechar "'" gam create contact json ~JSON

Getting all Contacts for st...@demo.cloudbakers.com
Got 2 Contacts...
Using 2 processes...
Domain: demo.cloudbakers.com, Contact: d6837838bc25f8d, Created
Domain: demo.cloudbakers.com, Contact: 29239aed8d6e9421, Created

My next challenge though is how to I manage updates to the contacts when I change them in my account and how do I just add new contacts. I could simply kill all the domain shared contacts and create new ones but I was hoping for something more elegant than that.


+KimNilsson

unread,
Oct 12, 2019, 7:04:35 AM10/12/19
to GAM for G Suite
Just asking to make sure.

If you create a DSC, and someone adds that to their own contacts, that is no longer a DSC, is it?
So if that person adds extra phone numbers and nick names and whatnot, you briefly wiping out all DSCs will not affect users?

Ross Scroggs

unread,
Oct 12, 2019, 10:09:38 AM10/12/19
to google-ap...@googlegroups.com
Kim,

Domain Shared Contacts are separate from user contacts; in particular they can't contain addresses in your domain.

--
You received this message because you are subscribed to the Google Groups "GAM for G Suite" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-apps-man...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-apps-manager/f7ac27f7-1e5c-4fbf-b7bf-a5cf8907ddb6%40googlegroups.com.

Steve Larsen

unread,
Oct 12, 2019, 11:01:18 AM10/12/19
to Google Apps Manager
Yes, it's just like a user adding a user in the company directory to their personal contacts. They are independent and updates to info on a user or domain shared contact remain in full control by the Admins. 


--

Kim Nilsson

unread,
Oct 12, 2019, 12:00:31 PM10/12/19
to Google Apps Manager
Thanks guys. 
Reply all
Reply to author
Forward
0 new messages