How to find intune assign device id from an managed android app?

bond 126 Reputation points
2020-07-22T17:34:41.587+00:00

How can i find intune assign device id from an managed android app running on the same device ?

Is there any interface/api available in intune android SDK which can be able to retrieve device id from app where it is running?

Microsoft Intune
Microsoft Intune
A Microsoft cloud-based management solution that offers mobile device management, mobile application management, and PC management capabilities.
4,326 questions
Microsoft Entra ID
Microsoft Entra ID
A Microsoft Entra identity service that provides identity management and access control capabilities. Replaces Azure Active Directory.
19,458 questions
{count} vote

Accepted answer
  1. VipulSparsh-MSFT 16,231 Reputation points Microsoft Employee
    2020-07-24T08:38:57.847+00:00

    @bond-3854 Currently Intune SDK does not have such option to extract the device ID from the deployed managed app itself. Can you help us with your use case and scenario for achieving this, may be we can find a different way if possible.

    Normally a Device which is enrolled to intune by any user using company portal, has an inventory of that device. If you have device serial number, may be you can incorporate a functionality in app to search for enrolled devices with that user info in app and filter using serial number to get the intune device id, but this will be a long route. Your use case might help us figure out different route. Thanks.


    If the suggested response helped you resolve your issue, do click on "Mark as Answer" and "Up-Vote" for the answer that helped you for benefit of the community.

    1 person found this answer helpful.

1 additional answer

Sort by: Most helpful
  1. Pawelqus 1 Reputation point
    2021-08-05T22:04:42.777+00:00

    I am working on a VPN app that is released in Google Play and App Store. Some of our clients deploy the app to managed devices via Intune as always on VPN. App requires managed configuration to auto login users and supports fully automated deployment. Is there any way to get uuid/ WiFi MAC / anything that uniquely identifies device from Intune SDK from within managed app?

    0 comments No comments