Splunk AppDynamics

Unable to create users via CI-API

FrankB
New Member

Hello community,

I want to create a new user silently on OnPremise-AppDynamics-Controller by using the 'Create Central Identity User API' by using the command
curl -H "Content-Type: application/vnd.appd.cntrl+json;v=1" -X POST -d '{"email": "mynewuser@web.de", "security_provider_type": "INTERNAL", "displayName": "MyNewUser"}' -u appd_admin@customer1 https://myappd.controller.net:8181/controller/api/rbac/v1/ci-user

The response is the following:
Central identity user creation flag is not enabled.


The user I specify when issuing the command is the admin user created when the controller was installed.
This user got the following roles (requested with command api/rbac/v1/users/<id>😞
"roles":
"id": 17,"name": "Dashboard Viewer"
"id": 18,"name": "Workflow Executor"
"id": 20,"name": "DB Monitoring User"
"id": 23,"name": "Server Monitoring User"
"id": 25,"name": "Universal Agent User"
"id": 14,"name": "Account Administrator"
"id": 16,"name": "User"}],

On Controller Web-Gui this user includes several default roles like 'Account Owner'. Creation of new users is possible there.

With this user I'm able to create roles and groups via API but no users.

On the API docs there is the hint:
You must be the account owner or have the administer user permissions to use the Create Central Identity User API.
But this I am.

The Controller version is
AppDynamics Controller build 21.4.16-1589

The JDK is
openjdk version "1.8.0_322"
OpenJDK Runtime Environment (Zulu 8.60.0.22-SA-linux64) (build 1.8.0_322-b06)
OpenJDK 64-Bit Server VM (Zulu 8.60.0.22-SA-linux64) (build 25.322-b06, mixed mode)

The OS is
Red Hat Enterprise Linux 8.8 (Ootpa)


I'm grateful for any help.

Labels (3)
0 Karma
1 Solution

Hiroki_Ito
Contributor

Hello @Frank.Breuer ,

Thank you for posting to the community.

Create Central Identity User API is for creating Central Identity(CI) users which are available in SaaS controllers.
CI user is a type of user described in the article below, and we can't create CI users in OnPremise Controller.

Instead of using CI API, could you please use RBAC API to create users in the On-premise controller?
 
Best regards,
Hiroki
 

View solution in original post

0 Karma

Hiroki_Ito
Contributor

Hello @Frank.Breuer ,

Thank you for posting to the community.

Create Central Identity User API is for creating Central Identity(CI) users which are available in SaaS controllers.
CI user is a type of user described in the article below, and we can't create CI users in OnPremise Controller.

Instead of using CI API, could you please use RBAC API to create users in the On-premise controller?
 
Best regards,
Hiroki
 
0 Karma
Get Updates on the Splunk Community!

New This Month - Splunk Observability updates and improvements for faster ...

What’s New? This month, we’re delivering several enhancements across Splunk Observability Cloud for faster and ...

What's New in Splunk Cloud Platform 9.3.2411?

Hey Splunky People! We are excited to share the latest updates in Splunk Cloud Platform 9.3.2411. This release ...

Buttercup Games: Further Dashboarding Techniques (Part 6)

This series of blogs assumes you have already completed the Splunk Enterprise Search Tutorial as it uses the ...