/work/android/community?hl=en
This content is likely not relevant anymore. Try searching or browse recent questions.
Get unique device ID for fully managed Android and Chrome OS devices from managed app.
0
Hi,

We are running enterprise MSP platform. As part of our solutions we provide VPN mobile apps on iOS, Android and Chrome OS (as Android app).
Some of our clients have large fleets of devices and they manage them from MDM eg Google Workspace. So far we were using Managed App Configuration to pass device ids to the managed mobile app.
At launch app would use those settings and register it in our portal, that way we could tie the device and pull in network configuration. This is not scalable for large fleet of devices as it would mean we need to create custom managed configuration per device. Is there any way to automate that? Can we utilise Google Workspace Admin API to automatically generate managed configuration per device?
Is there any way that the app running in enterprise environment have access to unique device id? We did try serial number but it’s not unique on latest Android versions. Some of our clients have setups where multiple users log in and out on the same device and each time app is installed in Chrome OS it would get a different serial number. We are aware of user privacy policies that prevent us from tracking specific devices but the question is how can we somehow bypass that in enterprise environment when device is fully owned and managed by the company?
Latest Update Latest Updates (0)
Relevant Answer Relevant Answers (0)
All Replies (1)
Relevant Answer
Two possible approaches. Grant your app DELEGATION_CERT_INSTALL and Build.getSerial() will be good enough OR starting Android 12 use DevicePolicyManager.getEnrollmentSpecificId().
marked this as an answer
This question is locked and replying has been disabled.
Discard post? You will lose what you have written so far.
Write a reply
10 characters required
Failed to attach file, click here to try again.
Discard post?
You will lose what you have written so far.
Personal information found

We found the following personal information in your message:

This information will be visible to anyone who visits or subscribes to notifications for this post. Are you sure you want to continue?

A problem occurred. Please try again.
Create Reply
Edit Reply
This will remove the reply from the Answers section.
Notifications are off
Your notifications are currently off and you won't receive subscription updates. To turn them on, go to Notifications preferences on your Profile page.
Report abuse
Google takes abuse of its services very seriously. We're committed to dealing with such abuse according to the laws in your country of residence. When you submit a report, we'll investigate it and take the appropriate action. We'll get back to you only if we require additional details or have more information to share.

Go to the Legal Help page to request content changes for legal reasons.

Reported post for abuse
Unable to send report.
Report post
What type of post are you reporting?
Google takes abuse of its services very seriously. We're committed to dealing with such abuse according to the laws in your country of residence. When you submit a report, we'll investigate it and take the appropriate action. We'll get back to you only if we require additional details or have more information to share.

Go to the Legal Help page to request content changes for legal reasons.

Reported post for abuse
Unable to send report.
This reply is no longer available.
/work/android/threads
//accounts.google.com/ServiceLogin
You'll receive email notifications for new posts at
Unable to delete question.
Unable to update vote.
Unable to update subscription.
You have been unsubscribed
Deleted
Unable to delete reply.
Removed from Answers
Removed from Updates
Marked as Recommended Answer
Marked as Update
Removed recommendation
Undo
Unable to update reply.
Unable to update vote.
Thank you. Your response was recorded.
Unable to undo vote.
Thank you. This reply will now display in the answers section.
Link copied
Locked
Unlocked
Unable to lock
Unable to unlock
Pinned
Unpinned
Unable to pin
Unable to unpin
Marked
Unmarked
Unable to mark
Reported as off topic
Known Issue
Fixed
Marked Fixed
Unmarked Fixed
Unable to mark fixed
Unable to unmark fixed
/profile/0
false
Search
Clear search
Close search
Google apps
Main menu
Search Help Center
true
108584
false