Get Admin Genie auditing your entire domain in about 10 minutes — no IT ticket, no PhD required. Just work through each step below and your genie will be granting wishes across every user's Drive.
1 Open Google Cloud Console & Select Your Project
Head over to console.cloud.google.com. In the top navigation bar, click the project dropdown and select the GCP project associated with your Drive Audit Genie setup.
If you don't have a project yet, click New Project, give it a name (something descriptive like drive-audit-genie), and click Create.
2 Enable the Required APIs
Drive Audit Genie needs two Google APIs enabled in your project. In the left sidebar, go to APIs & Services → Library and enable both of the following:
- Admin SDK API — search “Admin SDK”, click it, then click Enable.
- Google Drive API — search “Google Drive API”, click it, then click Enable.
3 Create a Service Account
In the left sidebar go to IAM & Admin → Service Accounts, then click + Create Service Account at the top.
- Service account name: Something like dag-domain-auditor
- Description: Optional — but “Drive Audit Genie Domain-Wide Access” is a crowd-pleaser at security reviews.
- Click Create and Continue.
- On the Grant this service account access to project step — skip it (click Continue).
- On the Grant users access step — skip it too (click Done).
You'll land back on the Service Accounts list and see your new account listed. Leave this tab open — you'll need it in Steps 4 and 5.
4 Enable Domain-Wide Delegation on the Service Account
Click the email address of the service account you just created to open its detail page. Then:
- Click the Edit (pencil) icon at the top.
- Expand the section called Show advanced settings.
- Check the box labeled Enable Google Workspace Domain-wide Delegation.
- In the Product name for the consent screen field, enter: Drive Audit Genie
- Click Save.
5 Download the JSON Key File
Still on the Service Account detail page, click the Keys tab at the top of the page. Then:
- Click Add Key → Create new key.
- Choose JSON (it should already be selected).
- Click Create.
A .json file will download to your computer automatically. Keep this file safe — it's the golden ticket that lets Drive Audit Genie speak on behalf of your domain.
6 Find Your Client ID from the JSON File
Open the JSON file you just downloaded in any text editor (Notepad, TextEdit, VS Code — anything works). Look for the field named “client_id”. It will be a long number that looks something like this:
Copy that number — you'll paste it in Step 8.
7 Open the Google Admin Console
In a new tab, go to admin.google.com. Sign in as a Super Administrator for your Google Workspace domain.
Navigate to:
Security → Access and data control → API controls → Manage Domain Wide Delegation
8 Add the API Client & Authorize Scopes
On the Domain-Wide Delegation page, click Add new. You'll see two fields:
- Client ID: Paste the client_id number you copied in Step 6.
- OAuth Scopes: Copy the entire line below (all three scopes as one comma-separated string) and paste it into the scopes field. Do not add spaces or line breaks.
After pasting, click Authorize. Your service account will appear in the list with the three scopes shown.
9 Upload Your Key to Drive Audit Genie & Verify
You're in the home stretch! Back in your Google Workspace sidebar (Drive Audit Genie add-on):
- Open Drive Audit Genie and navigate to the 👑 Admin Genie section.
- Click Setup Domain Delegation.
- Paste the full contents of your JSON key file into the field provided — or use the upload button if available.
- Click Verify Connection.
Drive Audit Genie will test the credentials and confirm your domain is connected. If verification succeeds, the Admin Genie card will update to show your domain name and user count. Your genie is officially out of the bottle. 👑
You Did It — Domain-Wide Audit Access Is Live!
Admin Genie can now audit every user's Drive across your entire organization —
no individual user permissions needed, no IT ticket, no conference call with
somebody named Brent from IT who keeps putting you on hold.
Head back to the add-on, kick off your first domain-wide audit, and let the genie do the work.
That's what he's there for.

