GAM7 Update Profile Picture not working

27 views
Skip to first unread message

Chris Rollison

unread,
Feb 26, 2026, 1:11:44 PM (8 days ago) Feb 26
to GAM for Google Workspace
I ran a script just a couple weeks ago and updated profile pictures of all students.  It worked just fine, I realized that I had an OU that I forgot to remove their permission to change so I went back to update them again.  I can not get the photo to update.  Even a basic gam user X...@X.com update photo and the path to the photo shows success, but will not set.  I updated GAM7 to make sure that nothing changed.  Can someone test and verify if Google changed something and broke it, or if I'm doing something wrong?
Thanks.

Ross Scroggs

unread,
Feb 26, 2026, 1:18:49 PM (8 days ago) Feb 26
to google-ap...@googlegroups.com
Send me a private Meet/Zoom invitation and we'll invextigate.

Ross
----
Ross Scroggs



On Feb 26, 2026, at 10:11 AM, 'Chris Rollison' via GAM for Google Workspace <google-ap...@googlegroups.com> wrote:

I ran a script just a couple weeks ago and updated profile pictures of all students.  It worked just fine, I realized that I had an OU that I forgot to remove their permission to change so I went back to update them again.  I can not get the photo to update.  Even a basic gam user X...@X.com update photo and the path to the photo shows success, but will not set.  I updated GAM7 to make sure that nothing changed.  Can someone test and verify if Google changed something and broke it, or if I'm doing something wrong?
Thanks.


--
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 visit https://groups.google.com/d/msgid/google-apps-manager/1a90716e-cf07-4ff7-8b12-29b4875453f1n%40googlegroups.com.

Chris Rollison

unread,
Feb 26, 2026, 2:19:22 PM (8 days ago) Feb 26
to GAM for Google Workspace
Solution found, had to delete the photo first - Gam user X...@x.com delete photo.  After it was deleted, I could replace it.  Thanks Ross for the help!

Ross Scroggs

unread,
Feb 26, 2026, 4:39:57 PM (8 days ago) Feb 26
to google-ap...@googlegroups.com

As of version 7.34.09, `gam <UserTypeEntity> update photo` was updated to delete the user's existing photo

before performing the update as the API update will succeed but not replace a user's existing self-set photo.



Ross
----
Ross Scroggs


Reply all
Reply to author
Forward
0 new messages