cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1335
Views
0
Helpful
4
Replies

CCMP - UCCE bulk agent attributes changes.

J_Cormier
Level 1
Level 1

Hi,

 

Is there a way with CCMP (Or UCCE) to quickly add an attribute to a bunch of agent, from the same team or other criteria ?

I can't find exactly if that can be done by a manager and we dont have CCMP yet.

 

Thank you

4 Replies 4

One of the options would be to use the UCCE Agent API (Link). If you look at the doc you will find two sections:

  • agentAttributesAdded - place where you list attributes to add
  • agentAttributesRemoved - place where you list attributes to delete

The only think you need to know are ID's of the agents and attributes to place in the <refURL> link. Once you have all the data, you will need to write a script that looks through agents and executes the API (I think that it would be possible to do that in Postman as a collection).

Marek
Web: https://gaman-gt.com

J_Cormier
Level 1
Level 1

Thank you @marek

Sounds good, Thank you.

I just tried, and I'm unable to connect, I get 401 error and I've tried with supervisor account (LDAP/SSO) with and without @domain.local, and superadmin account. 

Any idea ?

Thank you

 

J_Cormier
Level 1
Level 1

I successfully logon with a system administrator account. I will check why supervisor account failed.

The hard part now is to get it easy for a user to user. Something with a Macro in excel should be the best thing from my understanding.

Thank you 

Hi,

I am trying to connect below URL with Admin and my account still failing.Do we have to add permission in Config Manager for user to access this link?

https://AWDBSERVERNAME/unifiedconfig/config/agent/AGENTID

Any help is appreciated.