
Section 1 – Setup a system user in IAS:
To be able to setup users in IAS using the SCIM API, we need a system user in IAS for authentication in Postman. Follow below steps to create a system user:
3. Give the Display name:
4. In Configure Authorizations, select Manage Users and Manage Groups:
5. Click on Save button and next we must set the Secrets for authentication.
6. Click on Secrets and then add Secret. Make note of the Client ID and Client secret as this cannot be retrieved from system later. This will be required during authentication in Postman.
Section 2: Setup Postman:
https://<tenantID>.accounts.ondemand.com/service/scim/Users
3. Goto Authorizations. Select Basic Auth. In Username enter Client ID and in Password enter Client Secret you have setup earlier for the system user in IAS:
4. In Headers change Content-Type = application/scim+json. Keep all the other entries as is:
5. In Body, select RAW and JSON and enter the below code and save the settings:
{
"userName": "{{LOGIN_NAME}}",
"name": {
"givenName": "{{FIRST_NAME}}",
"familyName": "{{LAST_NAME}}",
"honorificPrefix": "{{SALUTATION}}"
},
"password": "{{PASSWORD}}",
"passwordStatus": "enabled",
"active": true,
"emails": [{
"value": "{{EMAIL}}"
}],
"groups": [{
"value": "{{GROUP}}"
}]
}
Password status = enabled will set password as productive for users. If you want to set password as initial use Password status = initial
6. Define global variables as below:
Section 3: Setup Users in mass:
2. Execute the Script you saved earlier in Runner and give the number of iterations = number of entries you have in your upload file. Upload the load file in Data section and run the collection:
3. In run results you should see return code = 201 Created which confirms run was successful and user was setup.
4. User is setup in IAS:
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
7 | |
6 | |
5 | |
5 | |
4 | |
3 | |
3 | |
3 | |
3 | |
3 |