Intune - Is there a way to target the Device Name of a mobile device when setting up an app configuration using an XML file?

Matt Justin 0 Reputation points
2026-08-05T16:37:45.4733333+00:00

I am trying to setup an app configuration for the Epic Welcome app on iOS. I am moving my devices from Meraki to Intune so I am recreating the application configurations I have setup in Meraki in Intune. When setting up an application config profile in Meraki, there is an option to specifically target the device name and input it as a value. I need this option because the device names are used to grant access to the use of the app when contacting the server for our Epic Welcome app. The device name option allows me to input the individual device names using the config, rather than entering them all manually. Upon my research, I do not see an option to do this within intune.

I referred to this article for answers: https://learn.microsoft.com/en-us/intune/app-management/configuration/configure-managed-ios

The article lists accepted parameters for the values, listing things like DeviceID but nothing for Device Name. I was wondering if there was any way to get an app config profile to pull the Device Name as a value in Intune?

Microsoft Security | Intune | Application management
0 comments No comments

1 answer

Sort by: Most helpful
  1. AI answer

    2026-08-05T16:38:04.3633333+00:00

    No. For iOS/iPadOS app configuration policies in Intune, the documented app configuration tokens include values such as {{deviceid}}, {{serialnumber}}, {{serialnumberlast4digits}}, {{userid}}, and {{userprincipalname}}, but not device name.

    For XML-based app configuration, Intune validates the XML format, but the available token set is still limited to the documented tokens. The same token list is also referenced for Apple custom configuration profiles, and it does not include a device-name token. The UI also does not validate variables and tokens are case sensitive, so an unsupported value would be passed as a literal string rather than resolved.

    If the Epic Welcome app requires the device name specifically, that capability is not documented as available through Intune app configuration tokens. Only the supported tokens such as {{deviceid}} or {{serialnumber}} can be inserted dynamically.


    References:

    AI-generated content may be incorrect. Read our transparency notes for more information.

    Was this answer helpful?

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.