I need to remove some 1000 users from the Gmail and Google Drive backups. do we have any automated or easy method to complete it.
removing multiple users from Gmail and Google Drive backups
Best answer by Abhinandan Jain
Hi Allan,
Please find the file attached.
Instructions usage:
-
file requires cvpysdk and Python 3.9 as dependency.
-
In the file: fill the commcell, login, client, subclient details.
-
on line 80: mail, enableTeamDrive and enableMultiDomain as 1, if required to enable team drive backup on subclient,
-
file, will output, two XML files: exec_first_prop_update.xml and exec_second_q_cmd.xml
-
on the cs, go to base folder and open a cmd session with admin privileges.
-
run qlogin
-
run qoperation execute -af "path_to_exec_first.xml"
-
run qoperation execute -af "path_to_second_file.xml"
In the community thread, I saw that the user emails are in a notepad file.
We'll need to give the file path as an input.
(Remove the .txt extension from the file to convert it to a Python script)
Reply
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.