PUT removing scoped devices when updating exclusion list.

NRutkowski
New Contributor

When I run the command below. I think it should only update the exclusion list for the mobile devices. While it does update the exclusion list it also removes the scoped devices. I'm not sure why. 

 

curl $jamfProURL/mobiledeviceconfigurationprofiles/id/32 -H "content-type: text/xml" -H "Authorization: Basic ${apiBasicPass}" -X PUT -d "<configuration_profile><scope><exclusions><mobile_devices><mobile_device><id>$id</id><name>$name</name><udid>$udid</udid><wifi_mac_address>$wifiMacAddress</wifi_mac_address></mobile_device></mobile_devices></exclusions></scope></configuration_profile>"

 

 

0 REPLIES 0