We are using JSS 9.100.0 and I am having a difficult time getting VPP apps to install. Scenario: Notebook with 10.12.6 doing prestage enrollment. It finishes enrollment, and then starts installing packages based on a policy for the prestage. When I look at that machine in the management tab, it shows for Management Commands "user cancelled enabling mdm for local user account" for installing the VPP apps. I did not cancel anything. It was and is still in the process of installing packages for the policy the notebook fell under. This happens when logged into the local admin account that is created during prestage.
Any ideas on why this happens every time? It doesn't seem to matter whether the notebook is being set up via prestage policy or after installing the quickadd on the machine. I get that error for trying to install VPP apps.
Yes, I know about the "sudo jamf mdm -userLevelMdm" command, but like with so many people here have reported when using that command I usually get errors like the following:
Error installing the computer level mdm profile: profiles install for file:'/Library/Application Support/JAMF/tmp/mdm.mobileconfig' and user:'root' returned 102 (New profile does not meet criteria to replace existing profile.)