GAM - Service not applicable/Does not exist when searching Drive

215 views
Skip to first unread message

Joseph Recendez

unread,
Dec 6, 2023, 7:06:56 PM12/6/23
to GAM for Google Workspace
Hello, I am running into an issue when I am trying to run a query / report on users drive sizes. Here is what I got so far. 

I can run the following and it works just fine, so I know that the users / service is enabled for them. 

gam redirect csv c:\users\USER\downloads\TESTCSV.CSV ou /ACCOUNTS_SUPER_ADMINS print filelist fields id,name,mimetype,createdtime,size,basicpermissions

This produces a CSV with all the info I need for the users in said OU. I need to be able to also query drive for single users, but every time I try I get the error message "Service not applicable/Does not exist."

Here is the command I am running when I get the error. 

 gam user USERNAME@DOMAIN print filelist

The same user will return results when I target the OU but not when I target the user directly. 

Thanks for any helpful input! 


Ross Scroggs

unread,
Dec 6, 2023, 8:25:36 PM12/6/23
to google-ap...@googlegroups.com
Send me a Meet/Zoom invitation and we'll investigate. I'm in California (PST) and am available now on oin the morning starting at 7:30.

You get no results for any specific user or just some?

Ross
----
Ross Scroggs



--
You received this message because you are subscribed to the Google Groups "GAM for Google Workspace" 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/40e5fb50-a772-4b76-ba85-fcfdf9ad65c8n%40googlegroups.com.

Joseph Recendez

unread,
Dec 7, 2023, 12:42:11 PM12/7/23
to GAM for Google Workspace
Hello Ross,

I sent a Google Meet to your email address. I have the meeting open right now if you are available. If not we can shoot for another time. 

Thanks!


On Wednesday, December 6, 2023 at 5:25:36 PM UTC-8 Ross Scroggs wrote:
Send me a Meet/Zoom invitation and we'll investigate. I'm in California (PST) and am available now on oin the morning starting at 7:30.

You get no results for any specific user or just some?

Ross
----
Ross Scroggs



On Dec 6, 2023, at 4:06 PM, Joseph Recendez <recende...@gmail.com> wrote:

Hello, I am running into an issue when I am trying to run a query / report on users drive sizes. Here is what I got so far. 

I can run the following and it works just fine, so I know that the users / service is enabled for them. 

gam redirect csv c:\users\USER\downloads\TESTCSV.CSV ou /ACCOUNTS_SUPER_ADMINS print filelist fields id,name,mimetype,createdtime,size,basicpermissions

This produces a CSV with all the info I need for the users in said OU. I need to be able to also query drive for single users, but every time I try I get the error message "Service not applicable/Does not exist."

Here is the command I am running when I get the error. 

 gam user USERNAME@DOMAIN print filelist

The same user will return results when I target the OU but not when I target the user directly. 

Thanks for any helpful input! 



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

Joseph Recendez

unread,
Dec 7, 2023, 1:17:52 PM12/7/23
to GAM for Google Workspace
Ross was able to help me. It was something simple I noticed when I was trying to demonstrate the issue. We have two tenants that we work with that have the same OU structure. Automation running in the back was changing it to a separate domain so when I was trying to query a single user it was say denied, but when I changed it to the other domain the commands went through. 

Reply all
Reply to author
Forward
0 new messages