Returning the Google EMM API. Subscriber is not registered as MDM

Now I am testing Google EMM Apis and I am trying to create a registration url for enterprise registration.

scopes = ['https://www.googleapis.com/auth/androidenterprise']

credentials = ServiceAccountCredentials.from_json_keyfile_name(
    'my_key.json', scopes)
http_auth = credentials.authorize(Http())

API = 'androidenterprise'
VERSION = 'v1'
SERVICE = discovery.build(API, VERSION, http=http_auth)

response = SERVICE.enterprises().generateSignupUrl(callbackUrl='http://www.my_site.com').execute()

      

However, I receive a 403 Denied Response Code with the following message: "The caller is not registered as MDM."

Android for Work is enabled in the Google Admin Console.

I have also applied for the EMM community: https://connect.googleforwork.com/docs/DOC-13121

One week and still no answer yet. But is this related to my problem?

+2


source to share


1 answer


To perform enterprise operations, you need to use the main Google EMM API service account. This is the account that you have registered as a Google provider. It is registered by a human and this process cannot be completed automatically online.



0


source







All Articles