I have a user which incorrectly got a double first name in their email address, so I'm trying to make it shorter.
$ gamo whatis firstextra.last@mydomain
firstextra.last@mydomain is a user
The shorter address doesn't exist.
$ gamo whatis first.last@mydomain
first.last@mydomain is not a user...
first.last@mydomain is not a user alias...
first.last@mydomain is not a group...
first.last@mydomain is not a group alias...
ERROR:
first.last@mydomain doesn't seem to exist!
But running the update it fails, saying the entity exists.
Both GAM and GAMADV-XTD3 gives the same error.
GAM
$ gamo update user firstextra.last@mydomain primaryemail first.last@mydomain
updating user firstextra.last@mydomain ...
ERROR: 409: Entity already exists. - duplicate
GAMADV-XTD3
$ gam update user firstextra.last@mydomain primaryemail first.last@mydomain
User:
firstextra.last@mydomain, User:
first.last@mydomain, Update Failed: Entity already exists.
Now, I do have a user with a similar primaryemail, but not the same.
So it should not interfere. Seems it does.
$ gamo whatis vfu.first.last@mydomain
vfu.first.last@mydomain is a user
$ gamo version
$ gam version
GAMADV-XTD3 6.07.07