Forum Discussion
GT3
Jul 27, 2026Tin Contributor
IOS Enrollment Policys - User affinity with modern auth, does not work with Company Portal VPP
IOS Enrollment Policys - User affinity with modern auth, does not work with Company Portal VPP I am trying to test the newer iOS Enrollment Policies using User Affinity with Modern Authentication in...
GT3
Jul 29, 2026Tin Contributor
Was able to get a hold of Intune MVP contact and get it working.
Your post is incorrect based on testing and functioning setup now.
The XML is needed for policies to work.
The Microsoft documentation states "profiles" not polices.
its capsensitive which caused an issue on 1 letter.
<dict>
<key>IntuneCompanyPortalEnrollmentAfterUDA</key>
<dict>
<key>IntuneDeviceId</key>
<string>{{deviceid}}</string>
<key>UserId</key>
<string>{{userid}}</string>
</dict>
</dict>
documentation reads Terrrible, its probably AI.
https://learn.microsoft.com/en-us/intune/app-management/configuration/configure-managed-ios
TRezendes
Aug 28, 2026Copper Contributor
Thank you! I have been banging my head against a wall for a solid day with this exact problem, and this is the fix I needed.