---
title: "Moving to Google Apps Directory API"
description: "We are moving from the deprectad Google Apps Provisioning API to the new Google Apps Directory API. This will affect you only if you are using Google Apps"
authors:
  - name: "Jose Romaniello"
    url: "https://auth0.com/blog/authors/jose-romaniello/"
date: "Sep 27, 2013"
category: "Developers,Product,Google"
tags: ["Google Apps", "announcements"]
url: "https://auth0.com/blog/moving-to-google-apps-directory-api/"
---

# Moving to Google Apps Directory API




We are moving from the deprectad [Google Apps Provisioning API](https://developers.google.com/google-apps/provisioning/) to the new [Google Apps Directory API](https://developers.google.com/admin-sdk/directory/).

__This will affect you only if you are using Google Apps and the `/users` endpoints of Auth0.

<!-- more -->

Google Apps Provisioning API has been deprectated few months ago, on the other hand the new API has some advantages like providing a public link for the profile photo and having more granular scopes.

__Previously permisive scope:__

![Previously permisive scope](https://images.ctfassets.net/23aumh6u8s0i/3wuKxrpfLUFTc3LD0aQkIF/3d525ed21b52a54e3a13952b26e3d024/ss-2013-09-27T15-17-16_safe_save_152024)

__New granular scope:__

![New granular scope](https://images.ctfassets.net/23aumh6u8s0i/7z5aAUF5nxsGvc5nj89Jfk/0574a0241ddeb95497c0da8907e9e5d4/ss-2013-09-27T15-25-52_safe_save_152637)

In order to have access to this API enable the "Admin SDK" service in the [Google API Console](https://code.google.com/apis/console) as follows:

![ss-2013-09-27T15-33-02.png](https://images.ctfassets.net/23aumh6u8s0i/7LlyKqhK8xS3sQ52fGWrEt/e4bcb84972a7c064dd18ea2f40ed4465/ss-2013-09-27T15-33-02)

New __Google Apps Connections__ will automatically use this new API and pre-existing connections will need to be re-provisioned by following the provisioning link. If you are the domain administrator follow this link, if not copy and send the link to the domain admin:

![](https://dl.dropbox.com/s/6hojv2cdhl1sw6i/ss-2013-09-27T15-28-44.png)

Until you have done this step, the `/users` endpoint will return only the users that have signed in to your app at least once.
