
Step by Step instruction to Setup / Update IAS User Passwords in Mass using Postman
Background:
As per SAP Note “3001615 - How to mass update user password in Identity Authentication” there are below options to update password of IAS users in mass:
This blog focuses on step-by-step instruction on how to setup passwords in mass through Postman using Collection runner ( option 2).
Section 1 – Setup a system user in IAS:
To be able to update passwords for IAS users 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:
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:
{
"id": "{{USERID}}",
"passwordStatus": "enabled",
"password": "Enter Password of your choice"
}
Password status = enabled will set password as productive for users. If you want to set password as initial use Password status = initial
You can provide password of your choice within quotes.
6. Define USERID as a variable in system. Click on the “USERID” and you will get option of “Set as variable”.
Section 3: Updating passwords 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 = 200 OK which confirms run was successful and password was setup for the user.
4. Password is configured for the users 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 |
---|---|
6 | |
5 | |
5 | |
4 | |
4 | |
3 | |
3 | |
3 | |
3 | |
3 |