<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Unable to create users via CI-API in Splunk AppDynamics</title>
    <link>https://community.splunk.com/t5/Splunk-AppDynamics/Unable-to-create-users-via-CI-API/m-p/722412#M3155</link>
    <description>&lt;P&gt;Hello community,&lt;/P&gt;&lt;P&gt;I want to create a new user silently on OnPremise-AppDynamics-Controller by using the 'Create Central Identity User API' by using the command&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;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 &lt;A href="https://myappd.controller.net:8181/controller/api/rbac/v1/ci-user" target="_blank" rel="nofollow noopener noreferrer"&gt;https://myappd.controller.net:8181/controller/api/rbac/v1/ci-user&lt;/A&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;The response is the following:&lt;BR /&gt;&lt;STRONG&gt;&lt;FONT face="courier new,courier"&gt;Central identity user creation flag is not enabled.&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;The user I specify when issuing the command is the admin user created when the controller was installed.&lt;BR /&gt;This user got the following roles (requested with command &lt;FONT face="courier new,courier"&gt;api/rbac/v1/users/&amp;lt;id&amp;gt;&lt;/FONT&gt;&lt;span class="lia-unicode-emoji" title=":disappointed_face:"&gt;😞&lt;/span&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;"roles":&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;"id": 17,"name": "Dashboard Viewer"&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;"id": 18,"name": "Workflow Executor"&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;"id": 20,"name": "DB Monitoring User"&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;"id": 23,"name": "Server Monitoring User"&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;"id": 25,"name": "Universal Agent User"&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;"id": 14,"name": "Account Administrator"&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;"id": 16,"name": "User"}],&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;On Controller Web-Gui this user includes several default roles like 'Account Owner'. Creation of new users is possible there.&lt;/P&gt;&lt;P&gt;With this user I'm able to create roles and groups via API but no users.&lt;/P&gt;&lt;P&gt;On the API docs there is the hint:&lt;BR /&gt;You must be the account owner or have the administer user permissions to use the Create Central Identity User API.&lt;BR /&gt;But this I am.&lt;/P&gt;&lt;P&gt;The Controller version is&lt;BR /&gt;AppDynamics Controller build 21.4.16-1589&lt;/P&gt;&lt;P&gt;The JDK is&lt;BR /&gt;openjdk version "1.8.0_322"&lt;BR /&gt;OpenJDK Runtime Environment (Zulu 8.60.0.22-SA-linux64) (build 1.8.0_322-b06)&lt;BR /&gt;OpenJDK 64-Bit Server VM (Zulu 8.60.0.22-SA-linux64) (build 25.322-b06, mixed mode)&lt;/P&gt;&lt;P&gt;The OS is&lt;BR /&gt;Red Hat Enterprise Linux 8.8 (Ootpa)&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;I'm grateful for any help.&lt;/P&gt;</description>
    <pubDate>Tue, 08 Aug 2023 14:28:40 GMT</pubDate>
    <dc:creator>FrankB</dc:creator>
    <dc:date>2023-08-08T14:28:40Z</dc:date>
    <item>
      <title>Unable to create users via CI-API</title>
      <link>https://community.splunk.com/t5/Splunk-AppDynamics/Unable-to-create-users-via-CI-API/m-p/722412#M3155</link>
      <description>&lt;P&gt;Hello community,&lt;/P&gt;&lt;P&gt;I want to create a new user silently on OnPremise-AppDynamics-Controller by using the 'Create Central Identity User API' by using the command&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;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 &lt;A href="https://myappd.controller.net:8181/controller/api/rbac/v1/ci-user" target="_blank" rel="nofollow noopener noreferrer"&gt;https://myappd.controller.net:8181/controller/api/rbac/v1/ci-user&lt;/A&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;The response is the following:&lt;BR /&gt;&lt;STRONG&gt;&lt;FONT face="courier new,courier"&gt;Central identity user creation flag is not enabled.&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;The user I specify when issuing the command is the admin user created when the controller was installed.&lt;BR /&gt;This user got the following roles (requested with command &lt;FONT face="courier new,courier"&gt;api/rbac/v1/users/&amp;lt;id&amp;gt;&lt;/FONT&gt;&lt;span class="lia-unicode-emoji" title=":disappointed_face:"&gt;😞&lt;/span&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;"roles":&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;"id": 17,"name": "Dashboard Viewer"&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;"id": 18,"name": "Workflow Executor"&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;"id": 20,"name": "DB Monitoring User"&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;"id": 23,"name": "Server Monitoring User"&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;"id": 25,"name": "Universal Agent User"&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;"id": 14,"name": "Account Administrator"&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;"id": 16,"name": "User"}],&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;On Controller Web-Gui this user includes several default roles like 'Account Owner'. Creation of new users is possible there.&lt;/P&gt;&lt;P&gt;With this user I'm able to create roles and groups via API but no users.&lt;/P&gt;&lt;P&gt;On the API docs there is the hint:&lt;BR /&gt;You must be the account owner or have the administer user permissions to use the Create Central Identity User API.&lt;BR /&gt;But this I am.&lt;/P&gt;&lt;P&gt;The Controller version is&lt;BR /&gt;AppDynamics Controller build 21.4.16-1589&lt;/P&gt;&lt;P&gt;The JDK is&lt;BR /&gt;openjdk version "1.8.0_322"&lt;BR /&gt;OpenJDK Runtime Environment (Zulu 8.60.0.22-SA-linux64) (build 1.8.0_322-b06)&lt;BR /&gt;OpenJDK 64-Bit Server VM (Zulu 8.60.0.22-SA-linux64) (build 25.322-b06, mixed mode)&lt;/P&gt;&lt;P&gt;The OS is&lt;BR /&gt;Red Hat Enterprise Linux 8.8 (Ootpa)&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;I'm grateful for any help.&lt;/P&gt;</description>
      <pubDate>Tue, 08 Aug 2023 14:28:40 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-AppDynamics/Unable-to-create-users-via-CI-API/m-p/722412#M3155</guid>
      <dc:creator>FrankB</dc:creator>
      <dc:date>2023-08-08T14:28:40Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to create users via CI-API</title>
      <link>https://community.splunk.com/t5/Splunk-AppDynamics/Unable-to-create-users-via-CI-API/m-p/722413#M3156</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;A href="https://community.appdynamics.com/t5/user/viewprofilepage/user-id/164711"&gt;@Frank.Breuer&lt;/A&gt;&amp;nbsp;,&lt;/P&gt;
&lt;DIV&gt;
&lt;DIV&gt;&lt;SPAN&gt;Thank you for posting to the community.&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;BR /&gt;
&lt;DIV&gt;&lt;SPAN&gt;Create Central Identity User API is for creating Central Identity(CI) users which are available in SaaS controllers.&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;SPAN&gt;CI user is a type of user described in the article below, and we can't create CI users in OnPremise Controller.&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;A href="https://community.appdynamics.com/t5/Knowledge-Base/FAQ-Changes-to-User-Creation-and-Password-Policy/ta-p/42245" target="_blank"&gt;https://community.appdynamics.com/t5/Knowledge-Base/FAQ-Changes-to-User-Creation-and-Password-Policy/ta-p/42245&lt;/A&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;BR /&gt;
&lt;DIV&gt;&lt;SPAN&gt;Instead of using CI API, could you please use RBAC API to create users in the On-premise controller?&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV&gt;
&lt;DIV&gt;
&lt;DIV&gt;&lt;A href="https://docs.appdynamics.com/appd/21.x/latest/en/extend-appdynamics/appdynamics-apis/rbac-api" target="_blank" rel="nofollow noopener noreferrer"&gt;https://docs.appdynamics.com/appd/21.x/latest/en/extend-appdynamics/appdynamics-apis/rbac-api&lt;/A&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;
&lt;DIV&gt;
&lt;PRE&gt;&lt;SPAN&gt;POST /controller/api/rbac/v1/users&lt;/SPAN&gt;&lt;/PRE&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;Best regards,&lt;/DIV&gt;
&lt;DIV&gt;Hiroki&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;/DIV&gt;</description>
      <pubDate>Wed, 09 Aug 2023 02:29:10 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-AppDynamics/Unable-to-create-users-via-CI-API/m-p/722413#M3156</guid>
      <dc:creator>Hiroki_Ito</dc:creator>
      <dc:date>2023-08-09T02:29:10Z</dc:date>
    </item>
  </channel>
</rss>

