Android App Configuration Policy

igor-brishkoski 11 Reputation points
2022-08-01T16:31:49.587+00:00

I have an Android app that can be installed from the Play Store.
When the app is installed on an Intune Managed Device by the Intune Admin/User and the app is making HTTP calls back to my cloud, I NEED it to include either the serialNumber or the IntuneDeviceID as implied here https://learn.microsoft.com/en-us/mem/intune/apps/app-configuration-policies-use-android#supported-variables-for-configuration-values

My app already has app restrictions set for serialNumber for other MDMs like Airwatch, but the serialNumber is not reported when install through Intune.

When I try to set Targeted App Configuration (implemented the SDK in my App) and try to set the serialnumber I get Invalid Token error.
I found the values in the iOS Docs, can't find anything similar for Android.
Even when I just set some random hardcoded values, my app still doesn't get them.
226878-screen-shot-2022-08-01-at-122046-pm.png

When I try managed devices app policy I'm not getting the JSON configuration designer to show. The android docs say
`
If the managed app supports configuration settings, the Configuration settings format dropdown box is visible. Select one of the following methods to add configuration information:

Use configuration designer
Enter JSON data
`
But not seeing anything for my app.
226855-screen-shot-2022-08-01-at-122538-pm.png

**

  • How do I configure my Android app to use the App Configuration Designer?
  • How do I grab serialnumber, intunedeviceid or any other identifiable data in my app?

**

Microsoft Intune Configuration
Microsoft Intune Configuration
Microsoft Intune: A Microsoft cloud-based management solution that offers mobile device management, mobile application management, and PC management capabilities.Configuration: The process of arranging or setting up computer systems, hardware, or software.
1,768 questions
Microsoft Intune Application management
Microsoft Intune Application management
Microsoft Intune: A Microsoft cloud-based management solution that offers mobile device management, mobile application management, and PC management capabilities.Application management: The process of creating, configuring, managing, and monitoring applications.
900 questions
Microsoft Intune
Microsoft Intune
A Microsoft cloud-based management solution that offers mobile device management, mobile application management, and PC management capabilities.
4,546 questions
{count} votes