cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
967
Views
0
Helpful
1
Replies

Is it possible to bulk update the <groupId> of endpoints?

I am submitting the following XML data:

 

<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<ns4:endpointBulkRequest operationType="update" resourceMediaType="vnd.com.cisco.ise.identity.endpoint.1.0+xml" xmlns:ns6="sxp.ers.ise.cisco.com" xmlns:ns5="trustsec.ers.ise.cisco.com" xmlns:ns8="network.ers.ise.cisco.com" xmlns:ns7="anc.ers.ise.cisco.com" xmlns:ers="ers.ise.cisco.com" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:ns4="identity.ers.ise.cisco.com">
    <ns4:resourcesList>
        <ns4:endpoint description="mac added 01">
            <mac>2C:F0:EE:42:E1:B2</mac>
			<groupId>12abb870-295a-11e9-aed1-76f66f54fcc8</groupId>
            <staticGroupAssignment>false</staticGroupAssignment>
            <staticProfileAssignment>false</staticProfileAssignment>
        </ns4:endpoint>
        <ns4:endpoint description="mac added 02">
            <mac>80:D2:1D:32:3E:77</mac>
			<groupId>12abb870-295a-11e9-aed1-76f66f54fcc8</groupId>
            <staticGroupAssignment>false</staticGroupAssignment>
            <staticProfileAssignment>false</staticProfileAssignment>
        </ns4:endpoint>
    </ns4:resourcesList>
</ns4:endpointBulkRequest>

The response from ISE is as follows:

 

{
  "ERSResponse" : {
    "operation" : "PUT-executeBulk-endpoint",
    "messages" : [ {
      "title" : "XML Schema Validation Failed :: at line 1, column 550 : cvc-complex-type.2.4.a: Invalid content was found starting with element 'groupId'. 
One of '{mdmAttributes, portalUser, profileId, staticGroupAssignment}' is expected.", "type" : "ERROR", "code" : "Schema validation exception" } ], "link" : { "rel" : "related", "href" : "https://omf-01-ise01:9060/ers/config/endpoint/bulk/submit", "type" : "application/xml" } } }

It appears that putting <groupId>aab1234-xx-xx-etc</groupId> is not an option for a bulk update.  Is it possible?

1 Accepted Solution

Accepted Solutions
1 Reply 1

hslai
Cisco Employee
Cisco Employee