This document provides solutions for the issue encountered when attempting to sync apps in the MDM console with Managed Google Play.
Error Messages:
Cause: Misconfigured proxy or network settings, preventing MDM to reach to Google services.
Resolutions:
Test Connectivity to Google APIs: Follow these steps to verify if the network or server-installed machine can reach Google's external APIs:
Use the curl command in the command prompt of the machine where the server is installed.
If the connection is successful: You will see a response indicating a successful connection (e.g., HTTP 200 OK). This confirms that the URLs are accessible and not blocked.
If the connection fails: You will see an error message or timeout, indicating that the URLs are not reachable. This suggests that the network configuration is blocking access to Google's services.
Note: If none of the troubleshooting steps resolve the issue, Contact MDM Support and provide the server logs for further investigation.
Error:Unable to reach oauth2.googleapis.com. Verify network and ensure the domain is allowlisted.
Cause: The domain *.googleapis.com (or specific subdomains like oauth2.googleapis.com) is not allowlisted. Port 443 (HTTPS) is blocked by firewall/proxy.
Resolutions:
Errors: Mismatch in server time. Modify server time and try again.
Cause: The system time on the machine hosting the MDM server is incorrect or not synchronized with a valid time source. This can lead to authentication/token validation failures when communicating with Google services.
Resolutions: Log in to the physical/virtual machine where MDM server is installed. Modify the server time and sync it. Restart the MDM server after time correction.
Errors: "An error occurred due to a mismatch in Time while trying to reach Google."
Resolutions: To resolve the issue, Contact MDM Support
Error: The organization associated with the Managed Google Play account is deleted. Remove the existing Managed Google Play account from MDM and configure it again.
Cause: The Google organization/enterprise linked to your Managed Google Play account was deleted.
Resolution:
Error: Ensure Service Account is enabled for the project in Google Developers Console and try again.
Cause: The Service Account (ESA) used for Managed Google Play integration is either disabled or deleted in the associated Google Cloud project.
Resolution:
Note: Remember to re-create the token as it is necessary for the new setup.
Error: Connection to Google Services has been interrupted. Ensure a stable network connection and try again.
Cause: The network connection is unstable, intermittent, or slow, leading to timeouts or failed attempts to connect with Google services.
Resolutions: Ensure you are connected to a stable network and attempt the process again. If the problem continues, please reach out to our support team and provide the server logs for further assistance.
The following error occurs when sync fails for specific apps, which is listed under the “Apps for which Sync failed”
Error: App might be marked as unpublished or early access app. Click here to distribute the app.
Cause:
Resolutions:
Error: The app is no longer available for distribution as it has been marked as unpublished. If you are the app developer, please navigate to the Google Play Console and publish the app.
Cause: Developer fully unpublished the app (no MDM distribution allowed).
Resolutions: Remove the app from MDM app catalogs to avoid sync errors. Identify alternative apps for deployment.
Error: Multiple enterprise versions of this app are available in the App Repository. Do you want to convert this enterprise app to a Play Store app?
Cause: Multiple enterprise (in-house) versions of the same app exist in the MDM App Repository. When syncing with the Play Store, MDM will only retain the latest version from Google Play, leading to the loss of previous enterprise versions.
Resolution: Once the conversion is complete, only the latest Play Store version will be retained, and MDM will permanently delete older enterprise versions from the repository.
Note: The apps will not be uninstalled from devices.
The following error occurs when customers try to add app in Managed Google Play, by navigating to App Repository > Managed Google Play > Add Apps
Errors: Empty Google Play Window launched while adding an Android app
Cause: This error arises because the redirection from https://play.google.com/work/embedded/search to https://play.google.com/managed/browse is not occurring while loading the Play Store apps.
Resolution: Verify if the URLs mentioned above are blocked in your proxy or network settings. If this does not resolve the issue, Contact support with HAR logs and server logs.
Error: Google Play Apps 404 Error
Cause: This error is due to a faulty redirection.
Resolution: Ensure to click on the "App Name" or on the icon instead of clicking on the "Publisher" name (highlighted in the image below) in the pop-up.
By following these steps, you can restore synchronization with Managed Google Play and continue managing your apps without interruptions.