This message is for the named person's use only. If you receive this message in error, please delete it and notify the sender. Ancoris reserves the right to monitor all e-mail communications through its networks. Ancoris Limited, Registered in England Number: 04830784, Registered address: 5a Frascati Way, Maidenhead, Berkshire SL6 4UY. Trading Address: Lily Hill House, Lily Hill Road, Bracknell, Berkshire RG12 2SJ
--
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 post to this group, send email to google-ap...@googlegroups.com.
Visit this group at https://groups.google.com/group/google-apps-manager.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-apps-manager/944248a9-1e7e-4f18-a3ff-c6305f11a436%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
| Graham Ingleby | | | Google Cloud Consultant | | | +44 1344 203395 | | | ging...@ancoris.com |
|
Subscribe to our blog and receive our latest articles straight to your inbox
Powered by Ancoris Signatures
Error indicates your Json format may be invalid. No need to create a new project or service account, there's an option in the console to download a new key, get it in Json format. I suggest revoking the old key at the same time.Jay
On Thu, Jan 11, 2018, 7:27 AM 'Graham Ingleby' via GAM for G Suite <google-apps-manager@googlegroups.com> wrote:
Since I upgraded to 4.40 I am getting an error about my oauth2service.json file being an invalid format on some commandsI can rungam info domainfine, I deleted the oauthfile and it recreated fileHowever, when I rungam user gra...@gitest.info check serviceaccountI get the following errorUser: gra...@gitest.infoPlease rungam create projectgam user <user> check serviceaccountto create and configure a service account.ERROR: The file G:\My Drive\gam-64\oauth2service.json has an invalid format.I tried copying the oauth2service.json from a gam372 folder I have but still get the same errorThe oauth2service.json file looks like this (actual keys replaced with x's):
{"private_key_id": "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx","private_key": "-----BEGIN PRIVATE KEY-----\nxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx\n-----END PRIVATE KEY-----\n",
"client_email": "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx@developer.gserviceaccount.com",
"type": "service_account"}
This is a slightly different order to examples I have seen on here before, does it matter which order the lines are in? (I have seen type as the first line before for example)Any ideas apart from creating a new project? My project has been in place for years (Oct 2014 according to the console) is there maybe something in there that needs updating?ThanksGraham
This message is for the named person's use only. If you receive this message in error, please delete it and notify the sender. Ancoris reserves the right to monitor all e-mail communications through its networks. Ancoris Limited, Registered in England Number: 04830784, Registered address: 5a Frascati Way, Maidenhead, Berkshire SL6 4UY. Trading Address: Lily Hill House, Lily Hill Road, Bracknell, Berkshire RG12 2SJ
--
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-manager+unsub...@googlegroups.com.
To post to this group, send email to google-apps-manager@googlegroups.com.
Visit this group at https://groups.google.com/group/google-apps-manager.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-apps-manager/944248a9-1e7e-4f18-a3ff-c6305f11a436%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--
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-manager+unsub...@googlegroups.com.
To post to this group, send email to google-apps-manager@googlegroups.com.
Visit this group at https://groups.google.com/group/google-apps-manager.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-apps-manager/CA%2BVVBp-cJT_EEhm%3DogoADFf-Zm-HVm4BSKNq1YuZ5Pe26aLFOw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
"auth_uri": "https://accounts.google.com/o/oauth2/auth",
"token_uri": "https://accounts.google.com/o/oauth2/token",
"client_email": "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx...@developer.gserviceaccount.com",
"type": "service_account"}
This is a slightly different order to examples I have seen on here before, does it matter which order the lines are in? (I have seen type as the first line before for example)Any ideas apart from creating a new project? My project has been in place for years (Oct 2014 according to the console) is there maybe something in there that needs updating?ThanksGraham
This message is for the named person's use only. If you receive this message in error, please delete it and notify the sender. Ancoris reserves the right to monitor all e-mail communications through its networks. Ancoris Limited, Registered in England Number: 04830784, Registered address: 5a Frascati Way, Maidenhead, Berkshire SL6 4UY. Trading Address: Lily Hill House, Lily Hill Road, Bracknell, Berkshire RG12 2SJ
--
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-manager+unsubscribe...@googlegroups.com.
To post to this group, send email to google-apps-manager@googlegroups.com.
Visit this group at https://groups.google.com/group/google-apps-manager.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-apps-manager/944248a9-1e7e-4f18-a3ff-c6305f11a436%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--
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-manager+unsubscribe...@googlegroups.com.
To post to this group, send email to google-apps-manager@googlegroups.com.
Visit this group at https://groups.google.com/group/google-apps-manager.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-apps-manager/CA%2BVVBp-cJT_EEhm%3DogoADFf-Zm-HVm4BSKNq1YuZ5Pe26aLFOw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
This message is for the named person's use only. If you receive this message in error, please delete it and notify the sender. Ancoris reserves the right to monitor all e-mail communications through its networks. Ancoris Limited, Registered in England Number: 04830784, Registered address: 5a Frascati Way, Maidenhead, Berkshire SL6 4UY. Trading Address: Lily Hill House, Lily Hill Road, Bracknell, Berkshire RG12 2SJ
--
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-manager+unsub...@googlegroups.com.
To post to this group, send email to google-apps-manager@googlegroups.com.
Visit this group at https://groups.google.com/group/google-apps-manager.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-apps-manager/CAAcgOW4KQ%3D%3DyWCrzaRMvsWqR8wM9PZaUig1iLnK5VpXW1Ds41w%40mail.gmail.com.
| Graham Ingleby | | | Google Cloud Consultant | | | +44 1344 203395 | | | ging...@ancoris.com |
|
Subscribe to our blog and receive our latest articles straight to your inbox
Powered by Ancoris Signatures
Graham,Add these two lines and try again:"auth_uri": "https://accounts.google.com/o/oauth2/auth",
"token_uri": "https://accounts.google.com/o/oauth2/token",
Ross
To view this discussion on the web visit https://groups.google.com/d/msgid/google-apps-manager/CAAcgOW4KQ%3D%3DyWCrzaRMvsWqR8wM9PZaUig1iLnK5VpXW1Ds41w%40mail.gmail.com.
--
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-manager+unsub...@googlegroups.com.
To post to this group, send email to google-apps-manager@googlegroups.com.
Visit this group at https://groups.google.com/group/google-apps-manager.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-apps-manager/CAJkvRS8p564N4XvAfOGsyyON6nHNbhLDYKHp6aWghyBahZGHJw%40mail.gmail.com.
Graham,Add these two lines and try again:"auth_uri": "https://accounts.google.com/o/oauth2/auth",
"token_uri": "https://accounts.google.com/o/oauth2/token",
Ross
On Thu, Jan 11, 2018 at 8:48 AM, 'Graham Ingleby' via GAM for G Suite <google-ap...@googlegroups.com> wrote:
If I install GAM v 4.32 then it works OKWhat is different in the way v4.40 looks at the oauth2services.json file?
Graham Ingleby | Google Cloud Consultant | +44 1344 203395 | ging...@ancoris.com
![]()
![]()
![]()
![]()
![]()
Subscribe to our blog and receive our latest articles straight to your inbox
Powered by Ancoris Signatures
On 11 January 2018 at 12:56, Jay Lee <jay...@gmail.com> wrote:
Error indicates your Json format may be invalid. No need to create a new project or service account, there's an option in the console to download a new key, get it in Json format. I suggest revoking the old key at the same time.Jay
On Thu, Jan 11, 2018, 7:27 AM 'Graham Ingleby' via GAM for G Suite <google-ap...@googlegroups.com> wrote:
Since I upgraded to 4.40 I am getting an error about my oauth2service.json file being an invalid format on some commandsI can rungam info domainfine, I deleted the oauthfile and it recreated fileHowever, when I rungam user gra...@gitest.info check serviceaccountI get the following errorUser: gra...@gitest.infoPlease rungam create projectgam user <user> check serviceaccountto create and configure a service account.ERROR: The file G:\My Drive\gam-64\oauth2service.json has an invalid format.I tried copying the oauth2service.json from a gam372 folder I have but still get the same errorThe oauth2service.json file looks like this (actual keys replaced with x's):
{"private_key_id": "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx","private_key": "-----BEGIN PRIVATE KEY-----\nxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx\n-----END PRIVATE KEY-----\n",
"client_email": "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx@developer.gserviceaccount.com",
"type": "service_account"}
This is a slightly different order to examples I have seen on here before, does it matter which order the lines are in? (I have seen type as the first line before for example)Any ideas apart from creating a new project? My project has been in place for years (Oct 2014 according to the console) is there maybe something in there that needs updating?ThanksGraham
This message is for the named person's use only. If you receive this message in error, please delete it and notify the sender. Ancoris reserves the right to monitor all e-mail communications through its networks. Ancoris Limited, Registered in England Number: 04830784, Registered address: 5a Frascati Way, Maidenhead, Berkshire SL6 4UY. Trading Address: Lily Hill House, Lily Hill Road, Bracknell, Berkshire RG12 2SJ
--
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-manager+unsub...@googlegroups.com.
To post to this group, send email to google-ap...@googlegroups.com.
Visit this group at https://groups.google.com/group/google-apps-manager.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-apps-manager/944248a9-1e7e-4f18-a3ff-c6305f11a436%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--
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-manager+unsub...@googlegroups.com.
To post to this group, send email to google-ap...@googlegroups.com.
Visit this group at https://groups.google.com/group/google-apps-manager.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-apps-manager/CA%2BVVBp-cJT_EEhm%3DogoADFf-Zm-HVm4BSKNq1YuZ5Pe26aLFOw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
This message is for the named person's use only. If you receive this message in error, please delete it and notify the sender. Ancoris reserves the right to monitor all e-mail communications through its networks. Ancoris Limited, Registered in England Number: 04830784, Registered address: 5a Frascati Way, Maidenhead, Berkshire SL6 4UY. Trading Address: Lily Hill House, Lily Hill Road, Bracknell, Berkshire RG12 2SJ
--
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-manager+unsub...@googlegroups.com.
To post to this group, send email to google-ap...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-apps-manager/CAAcgOW4KQ%3D%3DyWCrzaRMvsWqR8wM9PZaUig1iLnK5VpXW1Ds41w%40mail.gmail.com.