Configure Android Management in the Google Cloud console
When you set up Android Management, you must use a dedicated Gmail email address. You cannot use an email address that was used to set up Android Enterprise.
- Go to https://console.developers.google.com and sign in using the Gmail email address that will be used for Android Management.
- In the Cloud Console, click New Project.
- Click APIs and Services > Select Library.
- In the search bar, search for Android Management API.
- In the list of search results, enable Android Management API and Cloud Pub/Sub API.
- In the Cloud Console, on the menu bar, click IAM & Admin > Service Accounts > Select > Create Service Account.
- In the Grant this service account access to the project section, in the Role drop-down list, select Android Management User.
- In the second Role drop-down list, select Pub/Sub Admin.
- In the Grant users access to the service account section, enter the email address that you used in step 1.
- Click Done.
- On the menu bar, click Service Accounts and select the account that you created.
- Click Keys > Add Key.
- In the Create a private key for “<service_account_name>” dialog box, select JSON. Click Create.
- Record the service account name, the Gmail email address you used for the Android Management administrator (step 1), and the JSON private key.