Any guidance on installing managed applications for macOS 11?
We are not getting any luck.
<?xml version="1.0"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "...">
<plist version="1.0">
<dict>
<key>CommandUUID</key>
<string>c81be0c8-a5a4-4162-898e-64e865dfd714</string>
<key>Command</key>
<dict>
<key>RequestType</key>
<string>InstallApplication</string>
<key>ManagementFlags</key>
<integer>0</integer>
<key>iTunesStoreID</key>
<integer>406056744</integer>
<key>ChangeManagementState</key>
<string>Managed</string>
<key>InstallAsManaged</key>
<true/>
<key>iosApp</key>
<false/><key>Configuration</key>
<dict>
<key>configUuid</key>
<string>100000-1000-1000-1000-100000000000</string>
</dict><key>Attributes</key>
<dict>
<key>Removable</key>
<true/>
</dict>
</dict>
</dict>
</plist>
results in the error
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "...">
<plist version="1.0">
<dict>
<key>CommandUUID</key>
<string>0c4d2406-1c4e-4ebf-800b-ea372225f911</string>
<key>ErrorChain</key>
<array>
<dict>
<key>ErrorCode</key>
<integer>97</integer>
<key>ErrorDomain</key>
<string>MDMClientError</string>
<key>LocalizedDescription</key>
<string><![CDATA[PurchaseMethod must be 1 <MDMClientError:97>]]></string>
</dict>
</array>
<key>RejectionReason</key>
<string>PurchaseMethodNotSupported</string>
<key>Status</key>
<string>Error</string>
<key>UDID</key>
<string>564D79B5-29E6-DAEC-8E5B-2D921352D787</string>
</dict>
</plist>
We tried removing the InstallAsManaged, but we get the same PurchaseMethodNotSupported error.
None of the existing PurchaseMethod values make sense
https://developer.apple.com/documentation/devicemanagement/installapplicationcommand/command/options
0 is for IOS
1 is for VPP
My understanding was that the whole purpose of the new managed application support for macOS 11 was that EMMs now had the ability to install applications as managed for macOS 11 without using VPP.
We are not getting any luck.
<?xml version="1.0"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "...">
<plist version="1.0">
<dict>
<key>CommandUUID</key>
<string>c81be0c8-a5a4-4162-898e-64e865dfd714</string>
<key>Command</key>
<dict>
<key>RequestType</key>
<string>InstallApplication</string>
<key>ManagementFlags</key>
<integer>0</integer>
<key>iTunesStoreID</key>
<integer>406056744</integer>
<key>ChangeManagementState</key>
<string>Managed</string>
<key>InstallAsManaged</key>
<true/>
<key>iosApp</key>
<false/><key>Configuration</key>
<dict>
<key>configUuid</key>
<string>100000-1000-1000-1000-100000000000</string>
</dict><key>Attributes</key>
<dict>
<key>Removable</key>
<true/>
</dict>
</dict>
</dict>
</plist>
results in the error
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "...">
<plist version="1.0">
<dict>
<key>CommandUUID</key>
<string>0c4d2406-1c4e-4ebf-800b-ea372225f911</string>
<key>ErrorChain</key>
<array>
<dict>
<key>ErrorCode</key>
<integer>97</integer>
<key>ErrorDomain</key>
<string>MDMClientError</string>
<key>LocalizedDescription</key>
<string><![CDATA[PurchaseMethod must be 1 <MDMClientError:97>]]></string>
</dict>
</array>
<key>RejectionReason</key>
<string>PurchaseMethodNotSupported</string>
<key>Status</key>
<string>Error</string>
<key>UDID</key>
<string>564D79B5-29E6-DAEC-8E5B-2D921352D787</string>
</dict>
</plist>
We tried removing the InstallAsManaged, but we get the same PurchaseMethodNotSupported error.
None of the existing PurchaseMethod values make sense
https://developer.apple.com/documentation/devicemanagement/installapplicationcommand/command/options
0 is for IOS
1 is for VPP
My understanding was that the whole purpose of the new managed application support for macOS 11 was that EMMs now had the ability to install applications as managed for macOS 11 without using VPP.