Helping a user change her name

220 views
Skip to first unread message

Rance Hall

unread,
Aug 29, 2022, 2:29:36 PM8/29/22
to google-ap...@googlegroups.com

All:

 

A Female staff member got married, and we changed her name/email in the directory and google went and suspended her “old” account and created a “new” one.

 

Now I’m trying to migrate data from her old account to the new one.

 

I did a file transfer from old to new, and that covered things the staff member owned, but now I’m working on things shared with her.

 

I have too much data in drive from all users to follow the ACL process in the scripts archive that Ross maintains.

 

The problem seems to be that GAM doesn’t start writing to the csv till after all the data is collected.  Is there a way to tell GAM to write to the csv as it processes data  so that the memory buffer doesn’t get full?

 

For context the command gam redirect csv ./filelistperms.csv all users print filelist fields id,title,permissions,owners.emailaddress

 

Just hangs at a single user because this user has well over 120k files to parse.  Thankfully this user is in the “w’s” so is late in the process.  But the file still isnt updated

 

-- 

 

Rance Hall

Application Specialist

ESU 10

rance...@esu10.org

308-698-1919

 

 


Some days are better, some days are worse.

Look for the blessing instead of the curse.

 

A picture containing text, sign, green

Description automatically generated

 

 

 

 

Ian Crew

unread,
Aug 29, 2022, 2:35:54 PM8/29/22
to google-ap...@googlegroups.com
Is there a reason you didn’t just rename her old account in the admin console? That seems simpler, to me at least…

--
You received this message because you are subscribed to the Google Groups "GAM for Google Workspace" 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/7F4EC581-C044-496E-B8B9-01A0E7518352%40esu10.org.
--
Ian Crew

Solutions Architect
Productivity & Collaboration Services
Information Services and Technology

Rance Hall

unread,
Aug 29, 2022, 2:47:17 PM8/29/22
to google-ap...@googlegroups.com

The reason is that the directory sync is mis-configured and didn’t edit the user, but instead suspended/created new, now I’m stuck with the consequences.

 

Rance

 

-- 

 

Rance Hall

Application Specialist

ESU 10

rance...@esu10.org

308-698-1919

 

 


Some days are better, some days are worse.

Look for the blessing instead of the curse.

 

A picture containing text, sign, green

Description automatically generated

 

 

 

 

 

From: <google-ap...@googlegroups.com> on behalf of Ian Crew <ic...@berkeley.edu>
Reply-To: "google-ap...@googlegroups.com" <google-ap...@googlegroups.com>
Date: Monday, August 29, 2022 at 1:35 PM
To: "google-ap...@googlegroups.com" <google-ap...@googlegroups.com>
Subject: Re: [GAM] Helping a user change her name

 

[EXTERNAL EMAIL]

Image removed by sender.

Ian Crew

Solutions Architect
Productivity & Collaboration Services
Information Services and Technology

--

You received this message because you are subscribed to the Google Groups "GAM for Google Workspace" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-apps-man...@googlegroups.com.

Chris River

unread,
Aug 29, 2022, 4:03:14 PM8/29/22
to GAM for Google Workspace
You should fix this on the GCDS side. Even though you've already gone a bit far in the significantly more complex direction with moving some stuff to the new account, you are still much better off reversing course. You should undo the work you've done, and fix this in GCDS. Google accounts are more than just their data; the user will also lose access to their Chrome history, saved passwords, access to sites that use the "Sign in with Google" button, the Drive permissions as you're running into, among other complexities.

GCDS has a TSV file which contains a mapping of all unique IDs to email addresses. Back up this file, remove the line associated with this user, run a simulation to make sure everything looks correct, then run another sync. Google Support has more information here: https://support.google.com/a/answer/7177266?product_name=UnuFlow&hl=en&visit_id=637973996574819010-551790235&rd=1&src=supportwidget0&hl=en#zippy=%2Cwhat-is-the-unique-id, I've copy/pasted the relevant Q&A section below and bolded the most useful bits of info for reference:

What is the Unique ID?
The unique ID is used internally by GCDS and it can also be referred to as the non-address primary key. This does not get synchronized to Google Workspace and GCDS stores the unique ID in a .tsv file on the machine on which GCDS is installed. You can find the file name and its full path in the XML configuration file.

If a user is renamed on the LDAP server but not on Google Workspace, GCDS uses the Unique ID to prevent this user’s details from being deleted or duplicated which could also lead to data loss.

Note: If you manually change the user's email addresses on both the LDAP server and Google Workspace, you may cause an incorrect sync. In order to avoid this, you can remove the corresponding user records from the .tsv file before you run GCDS.
Reply all
Reply to author
Forward
0 new messages