i am deploying custom profile (.mobileconfig) file. I have added payload variable $EMAIL to get email address of the associated user . But when i try to view the profile in machine i didnt see email .It only shows the same $EMAIL placeholder.
I'm something similar in iOS VPN profile, for $username. Might be time to open a case...
-- EDIT --
CaSe matters! Need to use all UPPER CASE with variables in the profiles! Switching to $USERNAME solved the problem!