taers232c / GAMADV-XTD3

Command line tool to manage Google Workspace
732 stars 86 forks source link

Feature Request - Guardian Invitation "from name" #139

Closed ShaunDarkLord closed 3 years ago

ShaunDarkLord commented 3 years ago

Hi

When running;

gam create|add guardian|guardianinvite|inviteguardian or gam csvkmd users guardians.csv keyfield Student datafield Guardian sync guardians csvdata Guardian

The invited guardian see's that the invitation comes from the name of the GAM service account (but not the service account email address).

As I'm processing guardian invitations for multiple schools, I'm renaming the service account to the school's name before each invitation. However, this isn't overly elegant, and quite often, even with a ten minute delay between renaming the service account and sending the invitations, the Google servers sometimes use the previous account name instead.

Would it therefore be possible to specify the "from name" when sending/syncing guardian invitations?

taers232c commented 3 years ago

Here's the API documentation: https://developers.google.com/classroom/reference/rest/v1/userProfiles.guardianInvitations#GuardianInvitation

There's no field for from address.

Ross

On Mon, Mar 22, 2021 at 5:03 AM ShaunDarkLord @.***> wrote:

Hi

When running;

gam create|add guardian|guardianinvite|inviteguardian or gam csvkmd users guardians.csv keyfield Student datafield Guardian sync guardians csvdata Guardian

The invited guardian see's that the invitation comes from the name of the GAM service account (but not the service account email address).

As I'm processing guardian invitations for multiple schools, I'm renaming the service account to the school's name before each invitation. However, this isn't overly elegant, and quite often, even with a ten minute delay between renaming the service account and sending the invitations, the Google servers sometimes use the previous account name instead.

Would it therefore be possible to specify the "from name" when sending/syncing guardian invitations?

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/taers232c/GAMADV-XTD3/issues/139, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACCTYL47A66XS7T3STHNG43TE4W2NANCNFSM4ZS7N6CQ .

-- Ross Scroggs @.***

taers232c commented 3 years ago

Send me an Invitation.

Ross

On Mon, Mar 22, 2021 at 7:30 AM Ross Scroggs @.***> wrote:

Here's the API documentation: https://developers.google.com/classroom/reference/rest/v1/userProfiles.guardianInvitations#GuardianInvitation

There's no field for from address.

Ross

On Mon, Mar 22, 2021 at 5:03 AM ShaunDarkLord @.***> wrote:

Hi

When running;

gam create|add guardian|guardianinvite|inviteguardian or gam csvkmd users guardians.csv keyfield Student datafield Guardian sync guardians csvdata Guardian

The invited guardian see's that the invitation comes from the name of the GAM service account (but not the service account email address).

As I'm processing guardian invitations for multiple schools, I'm renaming the service account to the school's name before each invitation. However, this isn't overly elegant, and quite often, even with a ten minute delay between renaming the service account and sending the invitations, the Google servers sometimes use the previous account name instead.

Would it therefore be possible to specify the "from name" when sending/syncing guardian invitations?

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/taers232c/GAMADV-XTD3/issues/139, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACCTYL47A66XS7T3STHNG43TE4W2NANCNFSM4ZS7N6CQ .

-- Ross Scroggs @.***

-- Ross Scroggs @.***