You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to GAM for Google Workspace
I have my district office users that received a phishing email and I am trying to delete it by subject but I keep getting and invalid argument error. I have done it before but this one is failing.
gam csv DOUsers.csv gam user ~Email delete messages query 'subject:Document shared with you: "(NEWSLETTER)PAYROLL INCREASE DOC (2).docx"' doit maxtodelete 1
Noel Chavez
unread,
Nov 19, 2024, 5:18:15 PM (14 days ago) Nov 19
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to GAM for Google Workspace
I figured it out. I had to sort out the double quotes so I just shortened the search and it worked just fine.
gam csv DOUsers.csv gam user ~Email delete messages query "subject:(NEWSLETTER)PAYROLL INCREASE DOC (2).docx" doit maxtodelete 10