Forum Discussion
GT3
Jul 27, 2026Copper 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, 2026Copper 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
lakshmiapthiraju
Aug 23, 2026Copper Contributor
This worked like a charm, thank you!