How to Set Up a Super Admin Account for Google Workspace Backup
Google gives domain-wide access to classes through the Classroom API to Super Admin accounts only. No custom admin role gives this access. Google also refuses Classroom API calls from an account without a license that includes Google Classroom. To back up Google Classroom, Barracuda Cloud-to-Cloud Backup needs a Super Admin account with a license.
This Super Admin account covers all data sources in the connection, not only Classroom. Barracuda Cloud-to-Cloud Backup uses domain-wide delegation to access your organization's data through the Google API and does not sign in as this account.
What the Admin Account Needs
The Super Admin role.
A license that includes Google Classroom:
Education workspace – Google Workspace for Education Fundamentals, or a higher education edition.
Other workspace – A paid Google Workspace edition that includes Classroom:
Business editions – Business Starter, Business Standard, and Business Plus.
Enterprise editions – Enterprise Starter, Enterprise Standard, Enterprise Plus, and Enterprise Essentials. (Essentials editions do not include Gmail.)
Google Workspace for Nonprofits paid editions, for example Business Standard or Business Plus at nonprofit prices.
Google Classroom turned on for the organizational unit of the account.
You can use an existing Super Admin account. You can also create a dedicated account so that the backup does not depend on a person's account.
Option 1: Use the Setup Script (Recommended)
The setup script automates the entire process of creating the admin account, assigning a license, and making the account a Super Admin. You create the script in your own Google account, and the script code is available in our public GitHub repository so you can review it before running.
Prerequisites
You must be signed in to Google as a Super Admin.
Steps
Log in to Google as a Super Admin.
Open https://script.google.com and click New project.
Name the project (for example, “Barracuda CCB setup”).
Delete the example code in
Code.gs.Open the super admin setup script and copy all of the code from here: gws-classroom-super-admin-setup.gs
Paste the script into
Code.gs.In the left panel, next to Services, click +. Add Admin SDK API. Then click + again and add Enterprise License Manager API. Keep the default identifiers (
AdminDirectoryandAdminLicenseManager).Click Save project.
In the function list at the top, select
setupSuperAdmin. Click Run.When Google asks, review the permissions and allow them. The script needs these permissions to manage users, organizational units, admin roles, and licenses in your domain.
The script automatically reads your primary domain and performs these actions:
Creates the organizational unit
/Automationand the userccb-reader-admin@<your-primary-domain>if they do not exist. If you ran the restricted admin script before, the script uses that same user so the email address in Barracuda does not change.Assigns a license that includes Classroom if the user does not have one. The script uses only a license type that your domain already has. It tries Google Workspace for Education Fundamentals first, because that license is free. Then it tries the paid editions, from the lowest tier up.
Makes the user a Super Admin.
Open Execution log and read it:
If the log says that the license is paid: on a Flexible plan, Google bills it as one more seat. On an Annual plan, a free seat must be available.
If the log says that no Classroom license is in use in the domain: assign a license that includes Classroom to the user in the Admin console, then run the script again.
Make sure that Classroom is turned on for
/Automation(Apps > Google Workspace > Classroom > Service status). The script cannot change this setting.Copy the email address from the last line of the log.
In the Barracuda connection wizard, enter that email address in the Admin email field.
You can delete the Apps Script project after the script completes. The account and its license stay in your Google Workspace domain.
Option 2: Set Up the Account Manually
If you prefer not to use the script, you can create the admin account manually through the Google Admin console.
Log in to the Google Admin console as a Super Admin.
Go to Directory > Users and add a new user, or select an existing user.
Assign a license that includes Google Classroom to the user.
Assign the Super Admin role to the user.
Make sure that Google Classroom is turned on for the organizational unit of the user (Apps > Google Workspace > Classroom > Service status).
In the Barracuda connection wizard, enter the email address of the user in the Admin Email field.
Add Classroom to an Existing Connection
If your connection previously used the restricted admin account and you want to additionally back up Classroom:
Run the Classroom setup script or set up the account manually as above. The script upgrades the same
ccb-reader-adminaccount. If you use the setup script, you can add it as a second file in the same Apps Script project as the restricted admin script, or use a new project.In Barracuda Cloud-to-Cloud Backup, reauthorize the connection and select Classroom.
You do not need to run a script or set up the account manually for the opposite change. A Super Admin with a Classroom license already covers Gmail, Drive, Calendar, and Contacts. If you run the restricted admin script on this account, it makes no changes.
Important Notes
Do not suspend or delete this user, and do not remove its license. Classroom backups stop if any of these occur.
If you do not need Classroom backup, use a restricted admin account. See How to Set Up a Restricted Admin Account for Google Workspace Backup.
Troubleshooting
The script says "No license that includes Classroom is in use in this domain"
Your domain does not have any licenses that include Google Classroom. Assign a license that includes Classroom to the ccb-reader-admin account in the Admin console, then run the script again.
The script assigns a paid license but I expected Education Fundamentals
Your domain does not have any users with Education Fundamentals licenses. The script only assigns a license type that your domain already uses. If you want to use Education Fundamentals, assign it to at least one user in your domain first, then run the script again.
The connection test fails after creating the account
Verify the account has the Super Admin role.
Verify the account has a license that includes Google Classroom.
Verify the account is not suspended.
Verify that Google Classroom is turned on for the organizational unit of the account.
Make sure you completed domain-wide delegation in the connection wizard.