Search code examples
androidmdmgoogle-play-developer-apiandroid-for-work

Google EMM - The caller is not registered as an MDM issue


I created MSA account and Oauth2 client ID and client secret. By using that client ID I am trying to use generateSignupUrl API . But this API is giving me following error.

{
 "error": {
  "errors": [
   {
    "domain": "androidenterprise",
    "reason": "forbiddenNotAnMdm",
    "message": "The caller is not registered as an MDM."
   }
  ],
  "code": 403,
  "message": "The caller is not registered as an MDM."
 }
}

Note: I created Oauth2 credentials for the same account that is registered as MSA and also using the same account to use mentioned API.


Solution

  • To use the Google Play EMM API you need to register in the EMM Community, you currently see this error because you are not registered. Note that to use the Google Play EMM API you will also need to implement a custom DPC app.

    It you want to manage Android devices without registering in the EMM Community and without implementing a custom DPC app, you can use the new Android Management API.