Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Deleting contacts from users not working #245

Closed
owieman opened this issue Feb 24, 2022 · 4 comments
Closed

Deleting contacts from users not working #245

owieman opened this issue Feb 24, 2022 · 4 comments

Comments

@owieman
Copy link

owieman commented Feb 24, 2022

Using the following command returns the contact on the user account I want to delete, so I know yyy contact exists in xxx user's contacts:
gam user xxx@domain.com print contacts emailmatchpattern yyy@domain.com

However, after running the delete command, yyy contact still remains when running the print command again:
gam user xxx@domain.com delete contacts emailmatchpattern yyy@domain.com

This is the output I get after running the delete command:
Getting all People Contacts for xxx@domain.com
Got 890 People Contacts...
User: xxx@domain.com, Delete maximum of 890 People Contacts

Nothing else happens after that.

Currently running:
GAMADV-XTD3 6.13.09 - https://github.com/taers232c/GAMADV-XTD3 - pyinstaller
Ross Scroggs <ross.scroggs@gmail.com>
Python 3.10.1 64-bit final
Windows 10 10.0.17763 SP0 Multiprocessor Free AMD64

@taers232c
Copy link
Owner

You need to update to a current version.

Send me a Meet/Zoom invitation

ross.scroggs @ gmail.com

@owieman
Copy link
Author

owieman commented Feb 24, 2022

Same result after updating.

H:\>gam

GAMADV-XTD3 6.15.23 - https://github.com/taers232c/GAMADV-XTD3 - pyinstaller
Ross Scroggs <ross.scroggs@gmail.com>
Python 3.10.2 32-bit final
Windows 10 10.0.17763 SP0 Multiprocessor Free AMD64
Path: D:\gamadv-xtd3
Config File: *ommitted*, Section: DEFAULT, customer_id: my_customer, domain:
You're running a 32-bit version of GAM on a 64-bit version of Windows, upgrade to a windows-x86_64 version of GAM
Help: Syntax in file D:\gamadv-xtd3\GamCommands.txt
Help: Documentation is at https://github.com/taers232c/GAMADV-XTD3/wiki

H:\>gam user xxx@domain.com delete contacts emailmatchpattern yyy@domain.com
Getting all People Contacts for xxx@domain.com
Got 890 People Contacts...
User: xxx@domain.com, Delete maximum of 890 People Contacts

H:\>gam user xxx@domain.com print contacts emailmatchpattern yyy@domain.com
Getting all People Contacts for xxx@domain.com
Got 890 People Contacts...
Getting all Other Contacts for xxx@domain.com
Got 949 Other Contacts...
User,resourceName,emailAddresses,emailAddresses.0.value,names,names.0.displayName,names.0.displayNameLastFirst,names.0.familyName,names.0.givenName,names.0.unstructuredName,photos,photos.0.default,photos.0.url,updateTime
*contact result omitted here but shows*

@taers232c
Copy link
Owner

taers232c commented Feb 24, 2022 via email

@owieman
Copy link
Author

owieman commented Feb 24, 2022

That worked! I looked top to bottom through the commands and didn't see that option so thought it was a bug.

Thank you, much appreciated!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants