Skip to main content
Question

PUT removing scoped devices when updating exclusion list.

  • August 24, 2022
  • 0 replies
  • 2 views

Forum|alt.badge.img+4

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

Be the first to reply!