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