on 11-06-2018 1:44 PM
Hi experts,
I tried to access the user list from IAS via API in order to change user master data in mass.
I tested it
- via SCIM API (https://help.sap.com/viewer/6d6d63354d1242d185ab4830fc04feb1/Cloud/en-US/ead62fcd8a8c4d97980bcdd102725a14.html) - URL: https://<tenant ID>.accounts.ondemand.com/service/scim/Users/
- and via User Management REST API (https://help.sap.com/viewer/6d6d63354d1242d185ab4830fc04feb1/Cloud/en-US/ead62fcd8a8c4d97980bcdd102725a14.html) - URL: https://<tenant ID>.accounts.ondemand.com/service/users
In both cases, I got the following error in postman:
What am I doing wrong? Does something in regards to SSL need to be configured or is the URL wrong?
Thanks & Regards,
Deborah
Hi,
If you want to check all users , then API is ".ondemand.com/service/scim/Users/"
However you require authorization by using credentails for user with "Administration" rights in SAP CPIA .
User an user created under User and Administrators > Administrators.
For example your "Commuser", SAP would assign a P user ID and passwords.
This API need authorizations for "manage users" and "manage groups"
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
To call the methods of this SCIM REST API you must have a system as administrator with an assigned Manage Users role. For more details about how to add a system as administrator and assign administrator roles, see Add System as Administrator, and Edit Administrator Authorizations.
P-users cannot be used for APIs, only technical/system users.
Cheeres,
Istvan
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
I dont think its a problem with the API as I was able to test it.
Check this troubleshooting guide - https://www.getpostman.com/docs/v6/postman/sending_api_requests/troubleshooting_api_requests
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Execution of the API https://********.ondemand.com/service/scim/Users
- Works with the credentials of "SAP Cockpit" user under Administrator of the IAS.
- Does not work with any other user (P user). Always a http 401 Unauthorized is displayed.
The P user is configured to manage groups and manage users.
Regards.
Debojit
User | Count |
---|---|
84 | |
25 | |
12 | |
9 | |
6 | |
6 | |
5 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.