Skip to main content

3. Allow domain-wide delegation

  1. In the Google Admin console, go to Security → Access and data control > API controls > Manage domain-wide delegation.

  2. Click Add new and paste the client ID you copied in the last step.

  3. Add these scopes (comma-separated):

    https://www.googleapis.com/auth/classroom.courses,https://www.googleapis.com/auth/classroom.rosters,https://www.googleapis.com/auth/classroom.profile.emails,https://www.googleapis.com/auth/admin.directory.user.readonly

    The Add a new client ID dialog, with the client ID and scopes filled in

  4. Click Authorize. The service account is then listed under API clients.

    The domain-wide delegation list, showing the ClassConsole service account and its scopes

What each scope is for​

ScopeUsed for
classroom.coursesListing, editing, archiving and deleting classrooms
classroom.rostersCounting, adding and removing teachers and students
classroom.profile.emailsTeachers' and students' email addresses
admin.directory.user.readonlyLooking up classroom owners' email addresses, searching for people, and showing their photos