Not a customer? Click the 'Start a free trial' link to begin a 30-day SaaS trial of our product and to join our community.
Existing Cisco AppDynamics customers should click the 'Sign In' button to authenticate to access the community
01-30-2018 02:24 AM - last edited on 02-12-2020 10:21 PM by Ryan.Paredez
Hi Team,
I just created an appdynamics trial account and create a saas controller. when I call a GET to list applications it shows unauthorized 401 as response status.
i used postman as my rest-client
URL = https://baseball201801292052283.saas.appdynamics.com/controller/rest/applications?output=JSON
used basic authentication
username = <username>@baseball201801292052283
password = <password which is used for web login>
any solution?
Thanks
Ishara
Solved! Go to Solution.
01-30-2018 02:47 AM
If its a SAML user we will not be able to hit the REST URL. Only LDAP and local AppDynamics user are allowed to hit the REST URL with required permissions. Please try to hit the URL with an existing local user (AppD user or create a local user) and let us know how it goes.
Thanks
01-30-2018 02:52 AM
creating local user was the solution.
Thanks
02-24-2018 04:33 PM
Hi I have an example open source application that makes use of the rest UIs, check out https://chickenkatsu.co.uk/apps/reporter and https://github.com/open768/appdynamics-reporter
11-26-2018 03:38 AM
Can you tell me how to create the local user in appdynamics? I am facing the same unauthorized problem in postman.
Thanks
11-26-2018 04:03 AM
Hi Shruti,
Either you can use RBAC API to create a local user or you can navigate to setting symbol (top right side) -> Administration and create a user.
https://docs.appdynamics.com/display/PRO45/RBAC+API#RBACAPI-CreateUser
Note: To use the RBAC REST API, you must be the account owner or have administer user permission.
-Thanks
11-27-2018 10:09 PM
Thanks. It worked.
User | Count |
---|---|
1 | |
1 | |
1 | |
1 |
Thank you! Your submission has been received!
Thank you! Your submission has been received!
Oops! Something went wrong while submitting the form