Email Audit not authorized

49 views
Skip to first unread message

Keith Wahl

unread,
Apr 28, 2015, 1:39:55 PM4/28/15
to google-ap...@googlegroups.com
Hello,

I have set up GAM and run the command: gam info domain.

It sends back the domain and customer id, then it shows html tags with the text "you are not authorized to access this api".

anybody know what i am missing in my setup, please? 


7885 N Glen Harbor Blvd  Glendale, AZ 85307



Ricardo Ardila Vetrovec

unread,
Apr 28, 2015, 1:51:42 PM4/28/15
to google-ap...@googlegroups.com
Did you create your client id on developers.google.com/console?

Did you enable API access on the console?


Run this: python gam.py oauth info

--
You received this message because you are subscribed to the Google Groups "Google Apps Manager" 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 http://groups.google.com/group/google-apps-manager.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-apps-manager/fe78de8e-2454-4843-9cf4-ed6bed976baf%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.



--

--------------------------------------------------------------------------------------------------------



Keith Wahl

unread,
Apr 28, 2015, 1:59:41 PM4/28/15
to google-ap...@googlegroups.com
Yes, I did both create client id and enable api access.

i cannot run the command you suggest as i don't have python installed. i ran gam oauth info instead and received back information detailing the oauth file, clientid, secret, and scopes. 


On Tuesday, April 28, 2015 at 10:51:42 AM UTC-7, Ricardo Ardila Vetrovec wrote:
Did you create your client id on developers.google.com/console?

Did you enable API access on the console?


Run this: python gam.py oauth info
2015-04-28 13:08 GMT-04:30 Keith Wahl <keith...@barronltg.com>:
Hello,

I have set up GAM and run the command: gam info domain.

It sends back the domain and customer id, then it shows html tags with the text "you are not authorized to access this api".

anybody know what i am missing in my setup, please? 


7885 N Glen Harbor Blvd  Glendale, AZ 85307



--
You received this message because you are subscribed to the Google Groups "Google Apps Manager" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-apps-manager+unsub...@googlegroups.com.



--

--------------------------------------------------------------------------------------------------------



Ricardo Ardila Vetrovec

unread,
Apr 28, 2015, 2:02:02 PM4/28/15
to google-ap...@googlegroups.com
Seems you have to enable an API

html tags with the text "you are not authorized to access this api".

I did run your command and not have any problemas.. let me show you my enable APIS





2015-04-28 13:29 GMT-04:30 Keith Wahl <keith...@barronltg.com>:
Yes, I did both create client id and enable api access.

i cannot run the command you suggest as i don't have python installed. i ran gam oauth info instead and received back information detailing the oauth file, clientid, secret, and scopes. 

On Tuesday, April 28, 2015 at 10:51:42 AM UTC-7, Ricardo Ardila Vetrovec wrote:
Did you create your client id on developers.google.com/console?

Did you enable API access on the console?


Run this: python gam.py oauth info
2015-04-28 13:08 GMT-04:30 Keith Wahl <keith...@barronltg.com>:
Hello,

I have set up GAM and run the command: gam info domain.

It sends back the domain and customer id, then it shows html tags with the text "you are not authorized to access this api".

anybody know what i am missing in my setup, please? 


7885 N Glen Harbor Blvd  Glendale, AZ 85307



--
You received this message because you are subscribed to the Google Groups "Google Apps Manager" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-apps-man...@googlegroups.com.



--

--------------------------------------------------------------------------------------------------------





7885 N Glen Harbor Blvd  Glendale, AZ 85307



--
You received this message because you are subscribed to the Google Groups "Google Apps Manager" 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 http://groups.google.com/group/google-apps-manager.

For more options, visit https://groups.google.com/d/optout.



--

--------------------------------------------------------------------------------------------------------



Keith Wahl

unread,
Apr 28, 2015, 2:09:24 PM4/28/15
to google-ap...@googlegroups.com
i am specifically targeting this functionality: https://github.com/jay0lee/GAM/wiki/ExamplesAccountAuditing

here are the enabled apis. 

Inline image 1


Keith Wahl
IT Manager
Office - 623.209.1539



--
You received this message because you are subscribed to a topic in the Google Groups "Google Apps Manager" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/google-apps-manager/O6AaatzwdBA/unsubscribe.
To unsubscribe from this group and all its topics, 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 http://groups.google.com/group/google-apps-manager.

For more options, visit https://groups.google.com/d/optout.

Ricardo Ardila Vetrovec

unread,
Apr 28, 2015, 2:17:25 PM4/28/15
to google-ap...@googlegroups.com
i ran the command: audit monitor list admin@emailadress (change for your ADMIN email)

Result OK:

admin@emailadress has the following monitors:

what error did you get with that command?



For more options, visit https://groups.google.com/d/optout.



--

--------------------------------------------------------------------------------------------------------



Keith Wahl

unread,
Apr 28, 2015, 2:21:51 PM4/28/15
to google-ap...@googlegroups.com

Ricardo Ardila Vetrovec

unread,
Apr 28, 2015, 2:26:03 PM4/28/15
to google-ap...@googlegroups.com
​GAM request you to activate these APIS as well, i think you are missing one, this print screen come from the github page of gam.. try enable all, if it works then disable one test it and continue to locate the api you need

Imagen integrada 1


For more options, visit https://groups.google.com/d/optout.



--

--------------------------------------------------------------------------------------------------------



Keith Wahl

unread,
Apr 28, 2015, 2:29:27 PM4/28/15
to google-ap...@googlegroups.com
when i run gam info user, it displays my keith...@barronltg.com profile. perhaps i need permissions on this profile to run the commands? 


Keith Wahl
IT Manager
Office - 623.209.1539


For more options, visit https://groups.google.com/d/optout.

Ricardo Ardila Vetrovec

unread,
Apr 28, 2015, 2:33:26 PM4/28/15
to google-ap...@googlegroups.com
with the client-XXXX.json there is no need... of course, when i run gam for the first time the ask me to go to a short ULR to autorice email address (the email address autorized is the admin google apps)

Anytime y ran a gam request it count on the admin quota api...

excuse my english is not good... are you an admin user?




For more options, visit https://groups.google.com/d/optout.



--

--------------------------------------------------------------------------------------------------------



Ricardo Ardila Vetrovec

unread,
Apr 28, 2015, 2:34:04 PM4/28/15
to google-ap...@googlegroups.com
if you can ran others commands i don't see ehy the email adress is an issue...

i think you haf left an api to enable!!!!


--

--------------------------------------------------------------------------------------------------------



Ricardo Ardila Vetrovec

unread,
Apr 28, 2015, 2:38:08 PM4/28/15
to google-ap...@googlegroups.com
--

--------------------------------------------------------------------------------------------------------



Keith Wahl

unread,
Apr 28, 2015, 3:06:05 PM4/28/15
to google-ap...@googlegroups.com
i just made my profile, keith.wahl, a super user in the domain. now things seem to be working....


Keith Wahl
IT Manager
Office - 623.209.1539


For more options, visit https://groups.google.com/d/optout.

Ricardo Ardila Vetrovec

unread,
Apr 28, 2015, 3:09:54 PM4/28/15
to google-ap...@googlegroups.com
Good to know for other admins! ;) thanks


For more options, visit https://groups.google.com/d/optout.



--

--------------------------------------------------------------------------------------------------------



Keith Wahl

unread,
Apr 28, 2015, 3:12:24 PM4/28/15
to google-ap...@googlegroups.com
thank you for your time! your english is just fine by the way. 


Keith Wahl
IT Manager
Office - 623.209.1539


For more options, visit https://groups.google.com/d/optout.

Keith Wahl

unread,
Apr 28, 2015, 3:19:46 PM4/28/15
to google-ap...@googlegroups.com
is granting super admin access the only way to make this work? 
Inline image 1
To unsubscribe from this group and stop receiving emails from it, send an email to google-apps-manager+unsub...@googlegroups.com.



--

--------------------------------------------------------------------------------------------------------





7885 N Glen Harbor Blvd  Glendale, AZ 85307



--
You received this message because you are subscribed to the Google Groups "Google Apps Manager" 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 http://groups.google.com/group/google-apps-manager.



--

--------------------------------------------------------------------------------------------------------



--
You received this message because you are subscribed to a topic in the Google Groups "Google Apps Manager" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/google-apps-manager/O6AaatzwdBA/unsubscribe.
To unsubscribe from this group and all its topics, 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 http://groups.google.com/group/google-apps-manager.


7885 N Glen Harbor Blvd  Glendale, AZ 85307



--
You received this message because you are subscribed to the Google Groups "Google Apps Manager" 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 http://groups.google.com/group/google-apps-manager.



--

--------------------------------------------------------------------------------------------------------



--
You received this message because you are subscribed to a topic in the Google Groups "Google Apps Manager" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/google-apps-manager/O6AaatzwdBA/unsubscribe.
To unsubscribe from this group and all its topics, 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 http://groups.google.com/group/google-apps-manager.


7885 N Glen Harbor Blvd  Glendale, AZ 85307



--
You received this message because you are subscribed to the Google Groups "Google Apps Manager" 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 http://groups.google.com/group/google-apps-manager.



--

--------------------------------------------------------------------------------------------------------



--
You received this message because you are subscribed to a topic in the Google Groups "Google Apps Manager" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/google-apps-manager/O6AaatzwdBA/unsubscribe.
To unsubscribe from this group and all its topics, 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 http://groups.google.com/group/google-apps-manager.


7885 N Glen Harbor Blvd  Glendale, AZ 85307



--
You received this message because you are subscribed to the Google Groups "Google Apps Manager" 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 http://groups.google.com/group/google-apps-manager.



--

--------------------------------------------------------------------------------------------------------




--

--------------------------------------------------------------------------------------------------------




--

--------------------------------------------------------------------------------------------------------



--
You received this message because you are subscribed to a topic in the Google Groups "Google Apps Manager" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/google-apps-manager/O6AaatzwdBA/unsubscribe.
To unsubscribe from this group and all its topics, 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 http://groups.google.com/group/google-apps-manager.


7885 N Glen Harbor Blvd  Glendale, AZ 85307



--
You received this message because you are subscribed to the Google Groups "Google Apps Manager" 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 http://groups.google.com/group/google-apps-manager.



--

--------------------------------------------------------------------------------------------------------



Ricardo Ardila Vetrovec

unread,
Apr 28, 2015, 3:21:45 PM4/28/15
to google-ap...@googlegroups.com
i did make that mistake

i use GAM with my admin email.... later i will create a "api access account" with admin priviledge so if i go no apps will stop working....

I really don't know the admin account is a request (documentation does not help me very much)



Inline image 1
To unsubscribe from this group and stop receiving emails from it, send an email to google-apps-man...@googlegroups.com.



--

--------------------------------------------------------------------------------------------------------





7885 N Glen Harbor Blvd  Glendale, AZ 85307



--
You received this message because you are subscribed to the Google Groups "Google Apps Manager" 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 http://groups.google.com/group/google-apps-manager.



--

--------------------------------------------------------------------------------------------------------



--
You received this message because you are subscribed to a topic in the Google Groups "Google Apps Manager" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/google-apps-manager/O6AaatzwdBA/unsubscribe.
To unsubscribe from this group and all its topics, 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 http://groups.google.com/group/google-apps-manager.


7885 N Glen Harbor Blvd  Glendale, AZ 85307



--
You received this message because you are subscribed to the Google Groups "Google Apps Manager" 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 http://groups.google.com/group/google-apps-manager.



--

--------------------------------------------------------------------------------------------------------



--
You received this message because you are subscribed to a topic in the Google Groups "Google Apps Manager" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/google-apps-manager/O6AaatzwdBA/unsubscribe.
To unsubscribe from this group and all its topics, 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 http://groups.google.com/group/google-apps-manager.


7885 N Glen Harbor Blvd  Glendale, AZ 85307



--
You received this message because you are subscribed to the Google Groups "Google Apps Manager" 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 http://groups.google.com/group/google-apps-manager.



--

--------------------------------------------------------------------------------------------------------



--
You received this message because you are subscribed to a topic in the Google Groups "Google Apps Manager" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/google-apps-manager/O6AaatzwdBA/unsubscribe.
To unsubscribe from this group and all its topics, 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 http://groups.google.com/group/google-apps-manager.


7885 N Glen Harbor Blvd  Glendale, AZ 85307



--
You received this message because you are subscribed to the Google Groups "Google Apps Manager" 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 http://groups.google.com/group/google-apps-manager.



--

--------------------------------------------------------------------------------------------------------




--

--------------------------------------------------------------------------------------------------------




--

--------------------------------------------------------------------------------------------------------



--
You received this message because you are subscribed to a topic in the Google Groups "Google Apps Manager" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/google-apps-manager/O6AaatzwdBA/unsubscribe.
To unsubscribe from this group and all its topics, 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 http://groups.google.com/group/google-apps-manager.


7885 N Glen Harbor Blvd  Glendale, AZ 85307



--
You received this message because you are subscribed to the Google Groups "Google Apps Manager" 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 http://groups.google.com/group/google-apps-manager.



--

--------------------------------------------------------------------------------------------------------





7885 N Glen Harbor Blvd  Glendale, AZ 85307



--
You received this message because you are subscribed to the Google Groups "Google Apps Manager" 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 http://groups.google.com/group/google-apps-manager.

For more options, visit https://groups.google.com/d/optout.



--

--------------------------------------------------------------------------------------------------------



Reply all
Reply to author
Forward
0 new messages