PeopleSync Knowledge Base

User Principal Name in Intune Device Configuration Policy

🤔 Problem

I want to fill the CardDAV username in an intune Configuration Policy with the user principal name of the user using the device.

How can I do that?

🌱 Solution

For Intune enrolled devices, the {{userprincipalname}} variable contains the user principal name of the enrolled user account.

See:

Add app configuration policies for managed Android Enterprise devices - Microsoft Intune | Microsoft Learn

Add app configuration policies for managed iOS/iPadOS devices - Microsoft Intune | Microsoft Learn