gam update license

740 views
Skip to first unread message

Rejaine Silveira Monteiro

unread,
Jan 28, 2020, 9:07:14 AM1/28/20
to google-ap...@googlegroups.com

Hi!!

I'm having some trouble using GAM to update user licenses.

 For example:
# gam info user user@domain
..
Licenses: 
 Google-Apps-Unlimited (G Suite Business)

First, I tried to run the command below:

# gam user user@domain update license gsuitebasic from gsuitebusiness 
Changing user user@domain from license Google-Apps-For-Business (G Suite Basic) to Google-Apps-Unlimited (G Suite Business)
ERROR: 404: User does not have a license for specified sku and product - notFound

Then I tried this other command and gave another error: 

# gam user user@domain update license Google-Apps-For-Business from Google-Apps-Unlimited
Changing user user@domain from license Google-Apps-Unlimited (G Suite Business) to Google-Apps-For-Business (G Suite Basic)
ERROR: 500: For reassign operation new sku should be different than the old sku :Google-Apps-Unlimited - conditionNotMet

I appreciate any tip .



Esta mensagem pode conter informações confidenciais ou privilegiadas, sendo seu sigilo protegido por lei. Se você não for o destinatário ou a pessoa autorizada a receber esta mensagem, não pode usar, copiar ou divulgar as informações nela contidas ou tomar qualquer ação baseada nessas informações. Se você recebeu esta mensagem por engano, por favor avise imediatamente ao remetente, respondendo o e-mail e em seguida apague-o. Agradecemos sua cooperação.

David P. Santos

unread,
Jan 28, 2020, 9:32:56 AM1/28/20
to google-ap...@googlegroups.com
Use the "add" not "update"


--
You received this message because you are subscribed to the Google Groups "GAM for G Suite" 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 on the web visit https://groups.google.com/d/msgid/google-apps-manager/CAMTrDfVpzi4rR-qayeoGk23KCny3ZkmyAXTMeX%2B1grCXiBG8xQ%40mail.gmail.com.

Rejaine Silveira Monteiro

unread,
Jan 28, 2020, 9:42:13 AM1/28/20
to google-ap...@googlegroups.com

# gam user user@domain add license gsuitebasic
Adding license Google-Apps-For-Business (G Suite Basic) to user user@domain
ERROR: 412: User already has a license of the product, but with a different sku. To reassign to new sku, use update operation. - conditionNotMet





David P. Santos

unread,
Jan 28, 2020, 9:45:51 AM1/28/20
to google-ap...@googlegroups.com

Rejaine Silveira Monteiro

unread,
Jan 28, 2020, 9:57:38 AM1/28/20
to google-ap...@googlegroups.com

Add new license not working too:

 # gam user user@domain add license gsuitebasic       
Adding license Google-Apps-For-Business (G Suite Basic) to user user@domain
ERROR: 412: User already has a license of the product, but with a different sku. To reassign to new sku, use update operation. - conditionNotMet

Update is not working: 

# gam user adal...@rio.jamef.com.br update license gsuitebasic from gsuitebusiness    
Changing user adal...@rio.jamef.com.br from license Google-Apps-Unlimited (G Suite Business) to Google-Apps-For-Business (G Suite Basic)
ERROR: 500: For reassign operation new sku should be different than the old sku :Google-Apps-Unlimited - conditionNotMet

And tried to delete the businnes license first too, without success: 

# gam user user@domain delete license gsuitebusiness       
Removing license Google-Apps-Unlimited (G Suite Business) from user user@domain
ERROR: 400: Combination of product and sku is invalid or the product has auto-assigned feature enabled - invalid

** Using gam-4.97



David P. Santos

unread,
Jan 28, 2020, 10:00:32 AM1/28/20
to google-ap...@googlegroups.com
Example: gam user adal...@rio.jamef.com.br add license gsuitebusiness

You need "add" license, not update.


Rejaine Silveira Monteiro

unread,
Jan 28, 2020, 10:07:32 AM1/28/20
to google-ap...@googlegroups.com
as I replied in the last two emails, using "add" also hadn’t worked. but I just discovered the problem - the basic licenses have run out (lol)

Graham

unread,
Jan 28, 2020, 10:54:53 AM1/28/20
to GAM for G Suite
Do you have any G Suite Basic licences to apply?
If you have only paid for G Suite Business then you cannot assign a G Suite Basic licence
Reply all
Reply to author
Forward
0 new messages