Hi folks
I'm trying to get a report of storage used for a large org (over 100k) so too much to actually pull using the storage report in the admin console
The API of the user report [UserUsageReport.get()] will for the same report do the trick I hope:
gam csv users.csv gam print users fields primaryEmail name.fullName orgUnitPath suspended lastLoginTime organizations.0.title [todrive or > output.csv]
command with
gam report users parameters accounts:gmail_used_quota_in_mb,accounts:drive_used_quota_in_mb,accounts:gplus_photos_used_quota_in_mb,accounts:total_quota_in_mb [todrive or > output.csv]
Is the easiest method going to be just to combine the two outputs in sheets or could I be using GAM in a fancier way to have this combined together in a single output?
From the print users command I want the fields:
primaryEmail
name.fullName
orgUnitPath
suspended
lastLoginTime
From the report users command I want the fields:
gmail_used_quota_in_mb
drive_used_quota_in_mb
gplus_photos_used_quota_in_mb
total_quota_in_mb
Appreciate any thoughts in advance
Si